Skip to content

Emergency function to stop robot control services and turn off RaspberryPi remotely

License

Notifications You must be signed in to change notification settings

Caveirao/Killswitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caveirão KillSwitch

Emergency function to stop robot control services and turn off RaspberryPi remotely

Requirements

  1. Python 2.7 or 3.6 Download Python interpreter here.

  2. Raspberry Pi 3 Model B Learn more about RasberryPi project.

Setup in your RaspberryPi

  1. Clone the repo

    $ git clone https://github.com/Caveirao/Killswitch.git
    $ cd Killswitch/
  2. Create Python Virtual Environment

    $ virtualenv env --system-site-packages
    

    The –system-site-packages flag is optional, but by adding it, it allows you isolated environment to access your globally installed packages on your root install, so thing’s like the RPi.GPIO library and such so I find it’s a good idea to add it.

  3. Enable Python Virtual Environment

    $ source env/bin/activate
  4. Install the pip-installable dependencies

    $ pip install -r requirements.txt
  5. Run the Killswitch

    $ python app.py
  6. Locally, navigate to http://localhost:8080 or remotely http://your_raspberrypi_ipaddress:8080 to access the service; click in the red button to turn off RaspberryPi.


Copyright © 2017 Caveirão KillSwitch - Licensed by MIT LICENSE.

About

Emergency function to stop robot control services and turn off RaspberryPi remotely

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published