Okay it has finally happened again and I wanted to document it so someone can tell me what I am doing wrong or that there is a bug somewhere the filter settings.
I have a Z-Wave plug for my washing machine it is a NAS-WR01Z by Inteset. The device reported a spike in energy reading for some reason:
This is from the Washing Machine device history:
This is the history for the filter that I setup for the washing machine:
You can see that both are showing the spike in energy consumption
Here are the settings for the Outlier filter:
What I am expecting if the filter to receive the new reading and compare it to the last 1 reading to see if the delta between them is +/- 0.5 If so, it shoudl “filter” this reading by replacing it with the last reading, if not, accept this value as a good reading.
Yes I know the Outlier filters normally is used to smooth out abnormalities by using averages of the last x reading and replacing bad reading with the average, but in that case there is a possibility that the replaced reading will be lower than the last reading and Consumption value should never be below its last reading because it’s consumption. So if I only take 1 reading it will average that by the nubmer of readings which is 1 and you will get the last value. simple way to make sure the value is only incrementing below a set value. this should remove any spike or dips by more than 0.5
The last reading before this bad one was 5.87 then the next reading was 8.35. A delta of 2.48 which is out of bounds of the +/- 0.5 that the filter is set for. So how did the filter miss this? Am I using or understanding this filter wrong? Is there any kind of logging that I can turn on that tells me exactly what the filter is doing each time so that I can see that it sees this value and says it’s okay or not okay?
I have no touched the reading so if you guys if you need any information I have not corrected the bad reading.


