Because the first endpoint I hit included "msg": "success"
, I assumed it was intended as a representation of status.
However, that's not the case - sometimes it includes modbus output.
There's an attribute code
which should be used. The docs give a breakdown of what each means:
Activity
01-Jan-25 12:24
assigned to @btasker
01-Jan-25 12:24
mentioned in commit 3e857258ddf711b3b4ff5971bc69b47cd713399b
Message
fix: rely on code rather than message to assess success (misc/soliscloud-inverter-control#4)