/433Mhz

Code to sniff and send 433Mhz RF signals to outlets and bulb sockets

Primary LanguageHTML

433Mhz

Code to sniff and send 433Mhz RF signals to outlets and bulb sockets. Based off the code from ninjablocks & timleland. Uses a web inteface to send codes to plugs/lights. The webcode is default for the 5pk Etekcity plugs so adjust accordingly if you are using the light sockets.

Demo CountPages alphaDemo CountPages alphaDemo CountPages alpha

This will be used in cheap home automation using a Raspberry Pi. You will need to install Apache, PHP & WiringPi on your Pi first. Consult Wiring Pi wiring guide

Demo CountPages alpha Demo CountPages alpha

###Install Instructions:

sudo apt-get install git
sudo apt-get install git-core
git clone git://git.drogon.net/wiringPi
cd wiringPi
git pull origin
./build

git clone https://github.com/xillwillx/433Mhz.git 
cd 433Mhz
make
sudo mv codesend RFSniffer index.html send.php img/ /var/www/html/
cd ..
rm -rf 433Mhz/
cd /var/www/html/
sudo chown root.root codesend RFSniffer
sudo chmod 4755 codesend RFSniffer

execute RFSniffer to find RF codes for your devices

sudo ./RFSniffer

Press the buttons on your remote and record all 6 digit and pulse codes for on/off for each EtekCity plug outlet, if using the bulb sockets you will only get 1 digit and pulse code for on/off.

Edit the send.php to your on/off codes and save

sudo nano send.php

Browse to Raspberry Pi's ip address http://x.x.x.x/

You should be able to turn off the sockets on/off as long as your codes were properly edited

###Stuff to buy: