Skip to content

Polling Adafruit DHT22 sensor with Raspberry Pi and graph with Plotly

Notifications You must be signed in to change notification settings

rimkov/homeForecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Polling Adafruit DHT22 sensor with Raspberry Pi and graph with Plotly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages