rpi-thermometer Code
tools for using the raspberry-pi as a thermometer: webpage and gpio
Brought to you by:
farvardin
File | Date | Author | Commit |
---|---|---|---|
server | 2021-01-26 |
![]() |
[e13df6] adding server files |
convert_temp_to_data.sh | 2015-07-20 |
![]() |
[464a6b] Initial commit |
d3.tip.v0.6.3.js | 2021-01-25 |
![]() |
[61a393] updating readme |
d3.v3.min.js | 2021-01-25 |
![]() |
[61a393] updating readme |
dht22.png | unknown | ||
readme.md | 2021-01-26 |
![]() |
[11e8a5] update readme |
temp.html | 2015-07-20 |
![]() |
[464a6b] Initial commit |
temp7days.html | 2021-01-25 |
![]() |
[61a393] updating readme |
Turn your raspberry pi into a weather station!
For DHT11 or DHT22 sensors (DHT22 recommended)
DHT pins are from
left to right:
VCC DATA none GND
connect DATA to GPIO 4 on raspberry pi
You can adapt the folder paths but here are some examples:
add this into your crontab:
*/15 * * * * /home/pi/gpio/adafruit/Adafruit_Python_DHT/examples/log_temperature.sh
*/16 * * * * /var/www/temperature/convert_temp_to_data.sh
Browse into http://your-pi-ip/temperature/temp.html
The web interface is a bit old-fashioned but I'm working on a new interface (using grafana or this one https://domotique.blog.zastron.fr/suivi-de-temperature-et-humidite/)