Monitor temperature and humidity with your Raspberry, dockers and Grafana
Connect gnd, 3.3V and GPIO4
Edit temperatureloop.sh with sudo nano temperatureloop.sh and change /YOUR/PATH/
Copy temperature.py and temperatureloops.sh on your raspberry pi and execute temperatureloop.sh on background.
(Edit DHT11 h,t = adht.read_retry(adht.DHT11, 4) if you use another DHT).
You can also use script/temp/notelegraf.py where telegraf is not required. You have to edit notelegraf.py to match your influxdb settings. You have to create a databse in influxdb.
Copy docker-compose.yml change paths with yours and start docker-compose with sudo docker-compose up
Click on "Add data source" put your Raspberry pi URL and your Database name (temperature in appadata/Telegraf/telegraf.conf)
Go on the side menu on Grafana, then Create and click on import. Copy dashboard.json and paste it in the "Import via panel json" section then Load
Edit USERNAME, PASSWORD, PORT with the right informations of your mqtt server