Controlling my air conditioner from the web, using django and arduino.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mobileAC
static
templates
.gitignore
DHT22_datasheet.pdf
README
Remote_AC.py
collectTemps.py
main.py
temp_sensor.py

README

DEPENDENCY:
pySerial

MUST CHANGE:
Remote_AC.py -- device locations. Yours are probably named something else.

GETTING STARTED
1) install django: https://www.djangoproject.com/download/
   (apt/synaptic/package manager might only have version 1.2, this needs 1.3+ so use the above link)
2) if necessary, install pySerial: 
    * http://pypi.python.org/pypi/pyserial
    * sudo python setup.py install
3) go to the MobileAC directory 
4) create the initial database: python manage.py syncdb
5) run the server: python manage.py runserver
6) go to http://127.0.0.1:8000/1/
7) enjoy

SOURCES FOR ARDUINO CODE
http://www.ladyada.net/learn/sensors/ir.html
http://www.arcfn.com/2009/09/arduino-universal-remote-record-and.html

HELP FOR SETTING UP TEMP/HUMIDITY SENSOR
http://learn.adafruit.com/dht
https://github.com/sharnett/DHT-sensor-library