Major issue with new firmware

Hello.
I have been using the ubus library on many teltonika router to remotely setup and calibrate modbus device. However with the new firmware update the ubus library has become completely useless and doesn’t even try to read a modbus register.

This is the results im getting. As you can see the only thing being returned is a counter value. The reason why I believe the ubus library isn’t even trying to read a modbus register is because if I switch of the modbus device then it keeps returning the counter value. I have tested my code with the same modbus device but with a new router that hasn’t been updated yet and there I am getting the correct results. Please look into this issue because this is a major problem for me. Rolling back to old firmware is also not an option for me because the device gets reset, causing me to lose access to devices that are in remote locations.

Hello,

Unfortunately, ubus commands were always used internally and at your own risk, without a guarantee that shell commands or their output would remain unchanged. The latest 7.13.1 firmware release is an example where ubus command output has changed, and there is no way to revert this behavior.

Instead of ubus, we strongly recommend using API calls, which provide a more reliable and structured approach. You can find all necessary details for API Modbus calls here:

:link: Modbus API Documentation

Best regards,