briancmpbll / home_assistant_custom_envoy

171 stars 76 forks source link

Filtrage des valeurs incohérentes #186

Open Coroebus opened 4 months ago

Coroebus commented 4 months ago

Bonjour,

hier j’ai eu une valeur complètement incohérente qui est remontée IMG_0011

Comment faire pour que ce genre de valeur erronée ne puisse pas être enregistrée ?

merci 😊

catsmanac commented 4 months ago

Filtering those in the integration is not straight forward. The integration has no access to the previous data in HA. It would require quite some code changes to implement this.

You can use a HA template to filter this as well like: https://community.home-assistant.io/t/what-is-the-best-way-to-eliminate-spikes-in-temperature-humidity-sensors-readings-in-real-time/153002/9

If you plan to use the daily value for the energy dashboard, better use the lifetime value.

Coroebus commented 4 months ago

Bonjour, j'ai eu une nouvelle fois ce problème et j'ai bien l'impression qu'il est consécutif à un redémarrage de l'ENVOY.

catsmanac commented 4 months ago

The physical Envoy box you mean or H.A. Envoy reload/restart?

Coroebus commented 4 months ago

Hier j'ai dû couper le disjoncteur sur lequel est branché le boitier physique Envoy. C'est au moment ou je l'ai réarmé que la valeur a été enregistrée.

catsmanac commented 4 months ago

Ok, you may try an outlier filter on the values, see https://www.home-assistant.io/integrations/filter/. That will prevent these peaks.