meltaxa / solariot

Leverage your IoT enabled Solar PV Inverter to stream your solar energy usage data to a real time dashboard.
https://solariot.live
MIT License
204 stars 69 forks source link

Sungrow SH5K #85

Closed flare04 closed 1 year ago

flare04 commented 1 year ago

Using the latest version is causing me this issue


Nov 03 13:59:10 raspberrypi python3[14336]: ERROR:pymodbus.transaction:Modbus Error: [Input/Output] Unable to decode request
Nov 03 13:59:10 raspberrypi python3[14336]: Traceback (most recent call last):
Nov 03 13:59:10 raspberrypi python3[14336]:   File "/usr/local/lib/python3.7/dist-packages/pymodbus/transaction.py", line 210, in execute
Nov 03 13:59:10 raspberrypi python3[14336]:     request.unit_id)
Nov 03 13:59:10 raspberrypi python3[14336]:   File "/usr/local/lib/python3.7/dist-packages/pymodbus/framer/socket_framer.py", line 165, in processIncomingPacket
Nov 03 13:59:10 raspberrypi python3[14336]:     self._process(callback, error=True)
Nov 03 13:59:10 raspberrypi python3[14336]:   File "/usr/local/lib/python3.7/dist-packages/pymodbus/framer/socket_framer.py", line 175, in _process
Nov 03 13:59:10 raspberrypi python3[14336]:     raise ModbusIOException("Unable to decode request")
Nov 03 13:59:10 raspberrypi python3[14336]: pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Unable to decode request
Nov 03 13:59:10 raspberrypi python3[14336]: WARNING:root:Modbus connection failed
Nov 03 13:59:10 raspberrypi python3[14336]: WARNING:root:Failed to scrape inverter, sleeping until next scan```

Once it is in this state, I have to stop and start the service
flare04 commented 1 year ago

I fixed this by upgrading to the latest raspbian