Hi folks, thanks as always for your advice.
I use filters to try to weed out odd results from my Z-Wave (and other) devices before displaying them on my dashboards or sending them to Influx.
In general, I pass them through a range filter first (to weed out values that can’t be valid) - in the example below, the drier can’t have used less than 0kWh. I then run them through an outlier to cut out values outside a given range.
- platform: filter
name: "Dryer Filtered [kWh]"
entity_id: sensor.utility_room_dryer_electric_consumption_kwh
unique_id: 'C6EC1477-C75B-4BDB-8FD2-20BC826C423E'
filters:
- filter: range
lower_bound: 0
- filter: outlier
window_size: 4
radius: 4.0
I thought this would work but values like the below …
… are still getting through.
My thinking is that I’m using the wrong filter, or the wrong combination of filters.
Has anyone had any particular success in using filters to weed out unwanted values?
Thank you!