Skip to content

Benji3pr/WebGPIO

 
 

Repository files navigation

WebGPIO

A simple web UI for controlling the GPIO pins on a Raspberry Pi.

To setup make sure you have flask installed

sudo apt install python3-pip libpython3-dev
sudo pip3 install setuptools wheel
sudo pip3 install flask pyyaml

Clone the repo and create a config file named config.yml in the repo folder. Define pin numbers, in BCM format, grouped into "Rooms" and "Appliances" in config.yml. See exampleconfig.yml for reference

git clone https://github.com/ThisIsQasim/WebGPIO
cd WebGPIO
cp exampleconfig.yml config.yml

Run with python

python3 backend.py     

Access the UI at http://pi_ip_address:8000

About

A simple web UI for controlling the GPIO pins on a Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.0%
  • CSS 18.1%
  • HTML 16.0%
  • JavaScript 7.8%
  • Shell 0.1%