TRB 140 and PLC data exchange (no longer working with TRB1_R_00.07.13.3)

Hello,
I updated my TRB-140 and it seems to me that the function of querying a modbus register (TCP) of a LAN device and then sending the resulting value via SMS as described here:
previous thread
does not work anymore with the firmware TRB1_R_00.07.13.3 while it worked correctly with the version TRB1_R_00.07.11.3

Is there anything I can do to fix things?
BR

Hello,

Thank you for reaching out. Yes, with the latest firmwares (from 7.13), the output of the ubus call for the Modbus request has changed. Please note that shell commands and their output were never guaranteed to remain unchanged, and this is the reason for the issue you’re encountering.

As a more reliable and structured alternative for parsing Modbus data, we highly recommend using the API instead of the ubus commands. TRB140 API Modbus client documentation can be found here: https://developers.teltonika-networks.com/reference/trb140/7.13.2/v1.5/modbus

For more details and information on this change, you can refer to a few similar topics here:

Best regards,

Ok Martynas, and API it will be :wink:
Best regards