favalex / modbus-cli

Command line tool to access Modbus devices
Mozilla Public License 2.0
158 stars 30 forks source link

Error reading Register from Sungrow Wallbox #28

Open HubertusH opened 1 month ago

HubertusH commented 1 month ago

Hello,

I am trying to read data from the Sungrow wallbox via Modbus.

The query:

modbus 192.168.179.9:502 -s 2 21203
Parsed 0 registers definitions from 1 files
21203: 1 0x1

also provides a correct result.

If I use the -r option, however, I always get an error message: "struct.error" or "AssertionError". I have already tested all options. The return value is "0" or "1".

Thank you and best regards Hubertus