Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 647 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 647 Bytes

homeForecast

Polling DHT22 with Raspberry Pi Data graphed with Plotly, we are using plotly.offline so there is no connection with plot.ly

Data are stored in homeData.csv :

datetime,temperature,humidity
2017-02-26 13:24:00,22.80,25.30

html file directly stored in /var/www/html

Screenshot

Requirements

  • Adafruit libraries
pip install --upgrade pip
apt-get install apt-transport-https python-dev -y
pip install Adafruit_Python_DHT
  • Plotly
pip install plotly
  • crontab Polling every 15 minutes
*/15 *  * * * python /home/pi/Documents/homeForecast/homeForecast.py