Introduction: Connected Temperature
Connected Temperature is a weather station dedicated to temperature. Hosted on your raspberry pi, it will use your DHT22 sensor to pickup the indoor temperature. For outdoor temperature (and those of the following days) it will use the Internet.
All these data will be available on your favorite web browser and even on your smartphone (thanks to responsive design)
Step 1: Connect the Sensor
Connect the data wired of your sensor to the GPIO4 of your raspberry.
If you have a problem https://learn.adafruit.com/downloads/pdf/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging.pdf
Step 2: Install the Server
git clone https://github.com/raffi3438/Connected_Temperature.git cd Connected_Temperature
Step 3: Install the Library for the Sensor
sudo apt-get update
sudo apt-get install build-essential python-dev
sudo python setup.py install
Step 4: Run the Server
sudo python ./Server.py
if you want run the server from an other repertory that Connected_Temperature (cd the_path_of_Connected_Temperature && sudo python ./Server.py)
i.e. (cd /home/pi/Connected_Temperature && sudo python ./Server.py)
Step 5: Enjoy
go on your favorite browser and write the url ip_of_your_raspberry:8080
We have a be nice policy.
Please be positive and constructive.