Skip to content

plachert/raspberry-gpio-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python 3.7 License: MIT

RaspiWebController

A simple one-page Flask application for controlling GPIO pins on RaspberryPi. It enables to change the state of each pin with toggle switches.

Demo

Alt Text

How to use

Running server on RaspberryPi:

  1. Create and activate virtualenv
  2. Install requirements
pip install -r requirements.txt
  1. Set FLASK_APP to "flask_app"
export FLASK_APP="flask_app"
  1. Run the server with sudo:
sudo python wsgi.py

On client side:

Go to the server page: https://raspberrypi.local:5000

Technologies used

RaspberryPi Flask JavaScript

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published