Skip to content

The python script allow to command a linux router (flashed with tomatousb, dd-wrt, ..) with ssh enabled, reboot Rasperry pi, allow to reboot on other OS with berryboot

Notifications You must be signed in to change notification settings

jlstanus/WiringPi2andRC433Mhz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

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´

About

The python script allow to command a linux router (flashed with tomatousb, dd-wrt, ..) with ssh enabled, reboot Rasperry pi, allow to reboot on other OS with berryboot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages