nordicopen / easee_hass

Custom component for Easee EV charger integration with Home Assistant
207 stars 34 forks source link

Spikes in total energy consumption #440

Open erikfluff opened 1 month ago

erikfluff commented 1 month ago

The problem

I have an equalizer connected to an Aidon meter. Almost every month i get one or two crazy spikes in my total consumption sensor, it seems like it moves the decimal one step for one or two hours, and then move back, so the total consumtion is 35 548,8 kwh at one hour, and then 355 549,2 kwh the next hour, and then back to 35 550,3 kwh, making the energy dashboard crazy. I don't know if it is my aidon meter or the equalizer that is acting up. Maybe its possible to create a filter for theese kinds of events?

spik1 spik2

Version of Easee integration having the issue?

0.9.59

Version of Home Assistant Core having the issue?

2024.6.3

Anything in the logs that might be useful for us?

No response

Additional information

No response

olalid commented 1 month ago

If you turn on logging (see readme) and look for the keyword state_cumulativeActivePowerImport you can see the value that Easee reports back to the integrateion. This value is always in kWh. If you can see the incorrect values to match what you see in HA UI then the problem really lies on Easee or meter side and I suggest you also report it to Easee if so.

I can see how it is annoying but I am kind of reluctant to make workarounds for issues that are in fact caused by bugs in other systems. Maybe you can use an outlier filter to fix this for your specific case? https://www.home-assistant.io/integrations/filter/