evcc icon indicating copy to clipboard operation
evcc copied to clipboard

SolarEdge Hybid WR Batterie Energie

Open skipperkm opened this issue 5 months ago β€’ 10 comments

Describe the bug

Image

Steps to reproduce

Update auf v0.309.0

Configuration details

[site ] INFO 2026/06/10 17:31:58 site config:
[site ] INFO 2026/06/10 17:31:58 meters: grid βœ“ pv βœ“ battery βœ“
[site ] INFO 2026/06/10 17:31:58 grid: power βœ“ energy βœ“ currents βœ“
[site ] INFO 2026/06/10 17:31:58 pv 1: power βœ“ energy βœ— currents βœ—
[site ] INFO 2026/06/10 17:31:58 battery 1: power βœ“ energy βœ“ currents βœ— soc βœ“ capacity βœ“
[site ] INFO 2026/06/10 17:31:58 vehicles:
[site ] INFO 2026/06/10 17:31:58 vehicle 1: range βœ“ finish βœ“ status βœ“ climate βœ“ wakeup βœ—
[site ] INFO 2026/06/10 17:31:58 vehicle 2: range βœ“ finish βœ“ status βœ“ climate βœ“ wakeup βœ—
[site ] INFO 2026/06/10 17:31:58 tariffs:
[site ] INFO 2026/06/10 17:31:58 grid: pricestatic
[site ] INFO 2026/06/10 17:31:58 feed-in: pricestatic
[site ] INFO 2026/06/10 17:31:58 co2: βœ“
[site ] INFO 2026/06/10 17:31:58 solar: βœ“
[lp-1 ] INFO 2026/06/10 17:31:58 loadpoint 1:
[lp-1 ] INFO 2026/06/10 17:31:58 mode: off
[lp-1 ] INFO 2026/06/10 17:31:58 charger: power βœ“ energy βœ“ currents βœ“ phases βœ“ wakeup βœ—
[lp-1 ] INFO 2026/06/10 17:31:58 meters: charge βœ“
[lp-1 ] INFO 2026/06/10 17:31:58 charge: power βœ“ energy βœ“ currents βœ“
[lp-2 ] INFO 2026/06/10 17:31:58 loadpoint 2:
[lp-2 ] INFO 2026/06/10 17:31:58 mode: off
[lp-2 ] INFO 2026/06/10 17:31:58 charger: power βœ“ energy βœ“ currents βœ— phases βœ— wakeup βœ—
[lp-2 ] INFO 2026/06/10 17:31:58 meters: charge βœ“
[lp-2 ] INFO 2026/06/10 17:31:58 charge: power βœ“ energy βœ“ currents βœ—

Log details

Im LOG sind die Werte nicht zu finden

What type of operating system or environment does evcc run on?

HomeAssistant Add-on

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

0.309.0

skipperkm avatar Jun 10 '26 15:06 skipperkm

Did it work before?

andig avatar Jun 10 '26 15:06 andig

Die Werte wurden in der Version vorher nicht angezeigt

skipperkm avatar Jun 10 '26 15:06 skipperkm

Could you show the output of

evcc meter --log trace,db:error

@premultiply it looks as if the Sunspec response might be wrong?

andig avatar Jun 10 '26 16:06 andig

This is a regression introduced by PR #30608 (v0.309.0, commit 9fb8be595). The new SolarEdge hybrid battery energy counters are decoded as big-endian-word-order uint64, but SolarEdge's battery register block is little-endian word order (LSW first).

Are we sure it's really 64 bits?

andig avatar Jun 10 '26 16:06 andig

ich habe das HA Addon, da steht keine Console zur VerfΓΌgung.

skipperkm avatar Jun 10 '26 16:06 skipperkm

Hi, ich habe die gleiche Beobachtung gemacht:

Image

Ich hatte mich da schon lΓ€ngere Zeit im iO-Broker schon mit diesem Theme beschΓ€ftigt, aber SolarEdge scheint hier nicht prΓ€zise nach der Spezifikation zu gehen.

Hier mal auszugsweise wie ich das Holding-Register konfiguriert habe: 62838 1 Battery Lifetime Export Energy Counter Lifetime Export Energy Counter Wh uint64be 4 1 0 x * Math.pow(10, -13) state true false false false 62842 1 Battery Lifetime Import Energy Counter Lifetime Import Energy Counter Wh uint64be 4 1 0 x * Math.pow(10, -13) state true false false false

frumms avatar Jun 10 '26 18:06 frumms

But this looks really wrong: "uint64be". They certainly aren't BE but LE? Anyway, would be nice to test attached PR.

andig avatar Jun 10 '26 19:06 andig

would be nice to test attached PR

Was soll getestet werden ?

skipperkm avatar Jun 10 '26 19:06 skipperkm

I know, this come little bit late. But this bug left some bad data points in my battery discharge history. Is there a way to delete just those without losing the rest of the data?

grafik

vavo01 avatar Nov 15 '26 16:11 vavo01

@vavo01 the metrics cli command can query and delete and we also have a DELETE api that you can point your AI add. Or use sql on the database...

andig avatar Nov 15 '26 16:11 andig