Do we need a delay after connecting before sending modbus messages? #132
-
I'm seeing some some messages in the Facebook group saying that people connecting a lan cable directly to the inverter with StealthChesnut's integration need Do we need to emulate this? On a related note, my W610 seems to always fail the first request after a connection, so perhaps that's related. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
I've had this running directly from inverter LAN port for a couple of days and have had a couple of inverter crashes/restarts so far. In line with that advice from the Facebook group, I've changed in modbus_client.py:
which will do a 1s delay before each TCP modbus poll - will see if this results in any greater stability. |
Beta Was this translation helpful? Give feedback.
Helps to stop HA changes crashing the inverter, yes. However random crashes do still happen (and don't happen when the integration is disabled). I have start the process to move to RS485 as a result (but that isn't going so well.. more in a new topic)