Closed e1ace closed 1 year ago
To improve things you can consider tuning down the read intervals (especially for Watt sensors) to 2 seconds or 5 seconds.
Keep an eye on the callback stats (it gives you an idea how long it takes to read from the inverter
From mine you can see in the last 2 minutes I executed a read 97 times. 15 of these calls took longer than 1 second (my interval)
There were 21 seconds that a read start slipped
Changing to read every 2 seconds might improve it.
Thanks. Mine was set to 5. Interestingly I've actually set it to 2 and I have not seen any errors for around 12 hours.
Is there a reason the Read Errors were always (1,169,10) and (1,59,1) - I think there ended up being around 30 of them over the course of a couple hours - no other errors.
169 is grid power and should be read every 2 seconds, not sure why it would error. It might be during a longer read (i.e. when you also read config). You can try change the batch_size / allow gap
What HW do you read with?
FTDI Cable with shielded CAT6 (about 4m long).
I'll play around with the settings - I'm sure it isn't a bug, so I'll close the issue.
Issue related to
Sunsynk Home Assistant Add-On
Describe the issue/bug
Every few minutes I receive [Errno 104] Connection reset by peer. _Read Error (poll_need_toread): <class 'Exception'>: (1,59,1) [Errno 104] Connection reset by peer
This may be normal.
Expected behavior If these occur often and nothing can be done, perhaps this should be a warning? Unless there is something wrong with my setup?
Your environment
Logs