Turning a dumb window air conditioner into a remote-controllable, programmable AC.
Server side:
- python 2.7
- Flask==0.10
- gunicorn==19.1.1
Raspberry Pi side:
- requests
- RPi.GPIO Note: I haven't included these in the requirements.txt file, since you don't need them for the server. If you want to use my rpi code, download the ac_ping.py file and install requests and RPi.GPIO on your raspberry pi.
RemoteAC is created using a raspberry pi with this souped up relay and a temperature sensor like this.
On the pi, I'm using the requests library to post to the server, RPi.GPIO to interface with the pins, and using Adafruit's tutorial for the temperature sensing.
The server uses Flask in python 2.7, and will soon be hosted on Heroku. I'm also using an sqlite3 database to store information about the temperature in my room over time.
HTML, jQuery and some CSS (bootstrap)
If you're interested in turning your dumb window AC into a smart, awesome AC feel free to email me at [email protected].