ReneNulschDE / mbapi2020

Custom Component to integrate MercedesME devices into Home-Assistant
Other
157 stars 30 forks source link

Remove spikes #226

Closed jdiazbb closed 5 months ago

jdiazbb commented 5 months ago

The problem

How can I remove spikes on fuel graphs like this? canvas

It is my car "Liquid consumption start", and values go up to 100l/km when engine starts. ¿Can I set a "max" value for that graph?

What version of MBAPI2020 do use?

v0.13.0

What was the last working version of MBAPI2020?

No response

What type of installation are you running?

Home Assistant OS

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

ReneNulschDE commented 5 months ago

Home assistant has standard functions to remove such spikes. Take a look on the filter function. https://www.home-assistant.io/integrations/filter/

jdiazbb commented 5 months ago

Thanks for that! i'm a newbie with HA. I'll review it! :)

ReneNulschDE commented 5 months ago

Take a look at the community too, there are tons of examples. https://community.home-assistant.io/search?q=Filter%20spikes

I will close the issue. Feel free to join the mbapi2020 thread in this community too.