A small and easy to understand temperature monitoring station for Raspberry Pi and the DHT22 temparature and humidity sensor.
- Start with a Raspberry Pi running Raspbian
- Install Docker
- Clone this repository
- From the
docker
directory rundocker build --tag templog:latest .
- From the project root run
sh init.sh
- To start the temperature monitoring station run
sh run.sh
- Now you can log into the Grafana UI and configure how the data should be displayed by visiting
raspberrypi.local:3000
on your local network (replaceraspberrypi
with the hostname of your Raspberry Pi)
There are a number of ways in which you can customize your experience. The script log_temp.py assumes that the data pin D4
is used to connect the DHT22. If this is not the case, this must be changed.
While the InfluxDB server should not be accessible from outside of the custom Docker network, you may want to change the passwords contained in linit_influxdb.sh and log_temp.py.