Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 852 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 852 Bytes

WiringPi2andRC433Mhz

Working on RasperryPi B Raspbian 2015.02 , maybe on other Rpis versions you should modify GPIO.

The python script allow to command a linux router (flashed with tomatousb, dd-wrt, ..) with ssh enabled to activade/desactivate wifi, reboot Rasperry pi, allow to reboot on other OS with berryboot. This is commanded with 433 or 315 Mhz 4 buttons remote control.

Installation

  1. Install pip ´sudo apt-get install python-dev python-pip´
  2. install WiringPi2 with pip install ´sudo pip install wiringpi2´
  3. Install paramiko with pip install ´sudo pip install paramiko´

Configuring

  1. Downlod or fork this code for your needs
  2. Enter your informations like router ip id and password
  3. edit crontab to launch the script at boot with sudo ´sudo crontab -e´ add this line at the end ´@reboot /home/pi/rcscript.py´