💾 Archived View for ew.srht.site › en › 2021 › 20210124-environmental-data-2.gmi captured on 2024-06-16 at 13:37:14. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
Part 1: Progress on Project HausBus
Yesterday I spend some time to survey the data I had collected with the existing setup. The collector script still dumps all data points into a simple sqlite database with one simple table. Since moving the viewing of these data sets into influxdb/grafana/web-browser, it seemed like a desirable thing to add the older data into the influx database as well.
I could have tried to export the sqlite data into some format directly readable by influxdb. But I went the Perl Road again, because I had basically everything I needed. I had made sqlite database files per year and cleaned them a litte from experiments. Then I put together a few snippets already available:
This was rolling in a short time. However, since I put some "breaks" into the script due to fear to overload the little system collecting everything, this will take /forever/ (several hours per year). But slow is ok. Just now I watch the data points of 2020 rolling in and slowly appear on the grafana view. :)
If you live in your own or rented house, I strongly recommend to collect the readings of the meters for electricity, water, natural gas, or from the oil tank or whatever *once a month*, like in the evening before the first of the new month. I happened to start on 1st of October, which turned out to be good. And then create a graph "accumulated consumption over one year". Example (created with Rscript!):
/file/20210124-consumption-natural-gas.png
Even if you produce a similar plot manually on a sheet of paper, it will tell you nicely, how you fare.
Cheers,
~ew