freefal / appliance_control

Remote Control Power to Appliances with a Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Appliance Control

Appliance Control contains both the client and server code to remotely control the power to an appliance using a raspberry pi.

What You Need

Installation

On machine running a web server of your choice:

  • Add a symlink within /var/www that points to the web directory. For example:
ln -s /home/freefal/projects/appliance_control/web /var/www/my_path
  • Checkout the code and run it
git clone https://github.com/freefal/appliance_control
ant run

On the Raspberry Pi:

Hook up GPIO Pin 01 to DC voltage on the Power Cord and one of the many ground pins on the Pi to DC ground on the Power Cord (see pin numbers here: http://pi4j.com/pins/model-b-plus.html)

git clone https://github.com/freefal/appliance_control
sudo ant runpiclient

Thanks

Feel free to reach out with questions!

About

Remote Control Power to Appliances with a Raspberry Pi

License:MIT License


Languages

Language:Java 69.5%Language:HTML 30.5%