homeassistant-solax-modbus icon indicating copy to clipboard operation
homeassistant-solax-modbus copied to clipboard

[Bug]: 'Sofar' - 'HYD15KTL' Connection lost since v2024.02.6

Open sahomm opened this issue 11 months ago • 2 comments

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

Bildschirmfoto 2024-03-06 um 09 37 49

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

sahomm avatar Mar 06 '24 09:03 sahomm

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.

image

Only when I reboot Home Assistant does it pick up again.

rcourtman avatar Mar 06 '24 10:03 rcourtman

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.

cschlipf avatar Mar 10 '24 12:03 cschlipf

Closing down as no further response in past couple of months.

Feel free to reopen if needed.

wills106 avatar May 18 '24 12:05 wills106