Open HeinPi opened 19 hours ago
Since you have direct serial, try adding the mbusd addon.
Then the sunsynk addon uses IP to mbusd adn mbusd connects to the serial interface. Mine is rock solid, and I run mbusd on an old Rpi 1B
Thanks, will try it. PS. You're an absolute legend for creating and supporting this add-on so well! Thank you!
I have it running with the mbusd now. So still using pymodbus with port tcp://homeassistant.local:502, is that the best way? Lets see if it resolves my issue.
Issue related to
Sunsynk / pymodbus with Home Assistant Add-On, modbus communication stops working after a while.
Describe the issue/bug
My modbus link to Sunsynk Inverter with HA addon was working perfectly for 6 months, until recently I started to get errors (see logs: nonzero urb status: -71) and the communication freezes (readings stay constant). Plugging the USB to RS485 adapter out and back in fixes the comms again. Happens again within 12 to 24 hours after restoring comms.
Your environment
You configuration
Logs