Running median to filter outliers

With physical sensors I often see single outliers. These can come from all kinds of causes (often power supply issues in analog circuits).
Filtering single or double outliers is relatively easy by using a median over 3 or 5 values. While it is possible to implement this just for a few sensors, it might be helpful to have this functionality available for all sensors and let the user just configure it where he thinks he needs it.
What do you think?

3 Likes

Have you been able to implement this? I think that would be an amazing option. I get outliers from my temperature and humidity sensor (AM2302).

If you’re still around and interested, I’ve opened a feature request. Please vote for it! :slight_smile: Add 'Moving Median' as a Filter type