fsaris / home-assistant-zonneplan-one

Unofficial Zonneplan integration for Home Assistant
https://github.com/fsaris/home-assistant-zonneplan-one
MIT License
104 stars 17 forks source link

Multiple zero values retrieved throughout the day for delivery/production of Zonneplan home battery #102

Closed marcelswinkels closed 5 months ago

marcelswinkels commented 5 months ago

Since March 20th, I see that multiple times during the day, a 0 value is returned for the home battery's delivery and production. Because of that, it looks like Home Assistant is adding up the next correct value to the daily amount in the energy monitor.

image

image

Would it be possible to filter out 0 values if the previous value within that day was > 0 ?

fsaris commented 5 months ago

Can you provide some logs with debug enabled when this happens again? Want to check the measurement data (that should hold some more info) maybe we should use a different value or different type of statistic setting

fsaris commented 5 months ago

@marcelswinkels do you still see these issues?

marcelswinkels commented 5 months ago

@fsaris Thanks for your reply. I think it was an issue with the Zonneplan API. It hasn't reoccured since my initial report. I will keep an eye on it, and enable debugging if it happens again.

fsaris commented 5 months ago

Okay, closing this for now.