Sensor data sanity check
Posted: Monday 22 March 2021 10:38
Occationally Domoticz get's sensor data that is clearly wrong. This is by no means specific for Domoticz; any smart sensor occationally mess up and report wrong data, signals aren't perfect, and so on.
..but why not an option to automatically discard data that is clearly wrong?
- Temperature drops instantly over/under 30 degrees, when the rest is stable, and there is no fire, nor being in a freezer.
- kWh meters steady on 1-200W, and sudden spike of 100 000 000 Watt - or negative values.
- Lux reading indicating a god descended in the bathroom..
For me 99% of the time it's network issues and/or sensors messing up.
Like everyone else I do occationally experiment, try out new devices, or similar more or less smart things, where I would want to know if something is way outta line. Turning this on for a Motion detector, Fire Alarm, Flood Sensor, or similar, would also obviously be a bad idea, hence the optional toggle per device.
I guess it would also be smart to have a counter for values out of sanity, and/or a message in log - so that it's possible to get notification if it happens too frequent.
..but why not an option to automatically discard data that is clearly wrong?
- Temperature drops instantly over/under 30 degrees, when the rest is stable, and there is no fire, nor being in a freezer.
- kWh meters steady on 1-200W, and sudden spike of 100 000 000 Watt - or negative values.
- Lux reading indicating a god descended in the bathroom..
For me 99% of the time it's network issues and/or sensors messing up.
Like everyone else I do occationally experiment, try out new devices, or similar more or less smart things, where I would want to know if something is way outta line. Turning this on for a Motion detector, Fire Alarm, Flood Sensor, or similar, would also obviously be a bad idea, hence the optional toggle per device.
I guess it would also be smart to have a counter for values out of sanity, and/or a message in log - so that it's possible to get notification if it happens too frequent.