This is a very simple application that periodically gathers various metrics and stores them in InfluxDB (which is later used in Grafana). It consist of a few classes:
AirlyReadout
gathers Air Quality data from Airly.comFibaroReadout
reads data from Fibaro sensorsNetatmoReadout
reads data from Netatmo Weather stationPVReadout
stores daily data from my PV sytemSpeedtestReadout
logs speed of my internet connectionTauronReadout
fetches data from my electricity provider
Application is fully dockerized. To build new image:
docker build -t krzyzak/smart-home-backend
To push it to a registry:
docker push krzyzak/smart-home-backend:latest
Don't forget to set all required ENV vars.