We scan my datalog for gaps due to power outage, network outage or most likely both. We'll looking for experience with long term monitoring of aggregates. github github
See ESP8266 Datalog
SENSOR gaps http://search.fed.wiki.org:3030/gaps MONTH 30 KEEP 24
Our first attempt at aggregation used a different format saved as code on an earlier version of this page now smashed into the 2024-01.log asset. revision
plugins/datalog/sensor-gaps-datalog
Gaps in sensor data for yesterday and up to present time today. A version of this code runs on a home server and is polled daily by the gaps datalog.
http://found.ward.fed.wiki/assets/pages/sensor-gaps-datalog/now.html HEIGHT 20
http://found.ward.fed.wiki/assets/pages/sensor-gaps-datalog/heat.html HEIGHT 140
We remove duplicate gaps can appear in our logs since log files roll over on a GMT clock but our sampling for gaps is regular but not similarly aligned. Here for several months.
http://found.ward.fed.wiki/assets/pages/sensor-gaps-datalog/some.html HEIGHT 400
Our sensors are sampled 5000 times a day or once every 0.288 minutes. Short gaps might better be measured by counting missing samples. 0.6, 0.9 and 1.2 represent 1, 2 and 3 missing samples.
pages/sensor-gaps-datalog
http://found.ward.fed.wiki/assets/plugins/datalog/schedules.json