home-assistant-zonneplan-one icon indicating copy to clipboard operation
home-assistant-zonneplan-one copied to clipboard

Grid power usage going to uknown when solar production is higher than consumption

Open Ascathon opened this issue 2 years ago • 2 comments

It looks like something changed on the Zonneplan end maybe. When the solar production is higher than the grid consumption, the consumption sensor goes to unknown. Which is fine when using the graph from the screenshots but impossible to use in other cards like mini graph card. Entity card also showing NaN at those moments.

Concerns sensor sensor.zonneplan_p1_electricity_consumption 2022-03-20-18_30_52

Looks like it started March 12th. 2022-03-20-18_37_46

Ascathon avatar Mar 20 '22 17:03 Ascathon

If it would report zero when unknown, that already would be an improvement. It goes wrong when hass knows its unknown and keeps it at the old value. Creating funky graphs. 2022-03-22-13_13_02 2022-03-22-13_14_49

Ascathon avatar Mar 22 '22 12:03 Ascathon

Isn't it possible to make it output 0? Because grid consumption is 0 at those moments. Possibility this is caused by a legit error is small so having 0 over unknown would be a better solution.

Ascathon avatar May 12 '22 13:05 Ascathon