Wireless HomeControl NodeJS Addon for RaspberryPi
wHomeControlPi is for controlling radio controlled remote control sockets / switch.
- Raspberry Pi
- 433 MHz Sender
- wiringPi
###Install wiringPi
sudo apt-get install git-core
sudo apt-get update
sudo apt-get upgrade
git clone git://git.drogon.net/wiringPi
cd wiringPi
./build
See wiringPi website: https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install
var whomecontrolpi = require('whomecontrolpi');
whomecontrolpi.switchElroOn('00010', 'A');
//whomecontrolpi.switchRevOn('A', 1);
whomecontrolpi.switchElroOff('00010', 'A');
//whomecontrolpi.switchRevOff('A', 1);