Facing challanges setting up this cli ,the result i keep getting is an incrementing value which is not the static value in my server, ive tested the communication in the WEB UI and i'm getting the correct value

Hello,

Starting from recent firmware versions (>7.13), there was a change in the usage of the ubus modbus command, and it’s now recommended to use the API calls for reading Modbus register data.

However, there’s a known workaround method involving two ubus calls that you can use to achieve similar functionality. This workaround has been outlined in the topics here:

Best regards,