Hello,
we have this problem:
we have setup a system which periodically reads the modbus registers of some solar inverters via mqtt/modbus gateway. In some cases we have noticed this behaviour: in the morning all the readings fail until we manually read a random register via the TRB web UI (via RMS portal). After this, the connection seems to “wake up” and the automated readings have success.
It seems that the serial connection enters a standby state.
The only other workaround i have found, besides the manual reading is to reboot the gateway, after this the problem is gone, until the next day.
There’s maybe a way to reset or re-intialize the serial connection of the gateway without having to reboot it every time?
Press Esc, type :wq, and press Enter to save and exit.
If you wish to execute the command at different intervals, you can use an online tool like crontab-generator.org to create a custom crontab job suited to your needs.
Feel free to let us know if you have additional questions or require further assistance!
Hello,
i’m trying to create a script which polls a given modbus register and performs the modbus gateway reset command if certains conditions are met.
The problem is i can’t find a way to read the internal registers of the TRB via CLI.
The various examples i found require to install some external packages, which doesn’t seem are available for the TRB.
Do you have any tips?
Thank you in advance!