-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: "ZCS Azzurro inverter reporting spikes in consumption/battery/production values that revolve around the magic 65535
integer
#1229
Comments
Same issue with Solax. Since 2025.1.8. Downgraded and its fine again. |
@manuelmrmorgado yep, had to downgrade to Looking at the diffs: 2025.01.6...2025.01.8 I think the biggest offender may be The diff of PyModbus is massive though: pymodbus-dev/pymodbus@v3.7.4...v3.8.3 |
SolaX X3 G4 here. I have spikes all over the place. Spikes are short (around 10 Seconds), one polling interval maybe. |
Same here for me with Solax X3 G4. Downgrade back to 2025.1.6 solves the Issue |
No problems with the magic number but sometimes the total generated power, lets say 2000kWh in the inverters lifetime, is read as 0 and then back to normal. So Homeassistant has these values |
Yeah, in cases where a homeassistant-solax-modbus/custom_components/solax_modbus/plugin_sofar.py Lines 2962 to 2973 in 84a6b1b
I wonder if this is roughly where this "unavailable" should be emitted:
Does anyone know the correct SQL manipulation to reset these metrics? I saw that metrics store a |
That is the solution. In the longer term it's no longer recommended to use the LSE-3 due to the rising number of issues. See also the Sofar FAQ. Please consider switching to an RS485 Adaptor. I switched to RS485 last weekend and no issues anymore with the latest integration version. Updating values is possible without wrong error return codes and happens in a few seconds instead of minutes. |
@cschlipf do you mean that you switched to a different hardware? If so, which? |
I am using the Waveshare USB Adaptor. In my case this is directly connected to EVCC and EVCC is providing a ModBus proxy for Home Assistant to connect to via ModBus TCP. See also the Installation Guide. |
Describe the bug
Since 2025-01-14, which corresponds to the #1222 fix, I have numerous spikes in reported power consumption values.
Screenshots below mostly show the symptom in the HA dashboard.
I've since adjusted these spikes via manual statistics adjustments in HA, but I noticed that these spikes seem to suspiciously revolve around the magic
65536
(16 bit max integer) value.I've observed such spikes also before 2025.01.8, but I'm wondering what may have changed, that might have caused an increase in these outliers.
I'm wondering how I may help further, with debugging such issues 🤔
Integration Version
2025.01.8
Homeassistant core version
2025.1.2
Inverter brand
ZCS Azzurro (sofar)
Plugin used
EDIT: unsure about correct value: configured as
"sofar" via GUI under
/config/integrations/integration/solax_modbus`Serial prefix
ZM2ES060
Connection Method
TCP/Ethernet via LSE-3 LAN stick Logger
Detailed Error Log
Additional context
No response
The text was updated successfully, but these errors were encountered: