homeassistant-solax-modbus
homeassistant-solax-modbus copied to clipboard
[Bug]: 'Sofar' - 'HYD15KTL' Connection lost since v2024.02.6
Describe the bug
First of all, thank you very much for the great work done here!
Since the update to 2024.03.1, Solax no longer receives data via Modbus after a certain period of time without active intervention, e.g. HA homepage closed. Everything is ok for the first few minutes after start/restart Solax, then it stops. I was also able to make this observation with version 2024.06.2. With version 2024.05.X the connection remains stable (see screenshot). No evaluable data can be found in the log using the search term “solax” or “modbus”. There are entries here, but they have to do with writing registers, which is a different problem and I would describe it in a new issue after checking.
I suspect that this is related to this #762
Integration Version
2024.03.1
Homeassistant core version
2024.2.5
Inverter brand
Sofar
Plugin used
plugin_sofar.py
Serial prefix
SP1ES1
Connection Method
LSE3
Detailed Error Log
No response
Additional context
No response
I've noticed a similar issue and it's been happening for me for about two weeks. Unfortunately, I can't be useful and provide version numbers, but I've noticed that all my data just flatlines and I can't find a rhyme or reason as to why.
Only when I reboot Home Assistant does it pick up again.
A workaround: Create an automation that checks whether a value does not change for e.g. 1 hour, which then would restart the Solax integration.
I have experienced similar hangs however also prior to #762. Recently didn't experience these however anymore. Hard to solve without logs.
Closing down as no further response in past couple of months.
Feel free to reopen if needed.