Skip to content

Controlling my air conditioner from the web, using django and arduino.

Notifications You must be signed in to change notification settings

sharnett/MobileAC

Repository files navigation

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

About

Controlling my air conditioner from the web, using django and arduino.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published