All Projects → brainfoolong → gpio-webinterface

brainfoolong / gpio-webinterface

Licence: MIT License
Control GPIOs with a webinterface. Simple, powerful.

Programming Languages

PHP
23972 projects - #3 most used programming language
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gpio-webinterface

w1-gpio-cl
Command line configured kernel mode 1-wire bus master driver. w1-gpio standard Linux module enhancement/substitution.
Stars: ✭ 17 (-73.44%)
Mutual labels:  gpio
gpio-cdev
Rust interface to the Linux GPIO Character Device API (/dev/gpiochip...)
Stars: ✭ 153 (+139.06%)
Mutual labels:  gpio
pigpio-client
A nodejs client for pigpio socket interface.
Stars: ✭ 24 (-62.5%)
Mutual labels:  gpio
gpioctl
Control the ALSA mixer or generate JACK MIDI or OSC messages from rotary encoders and switches connected to GPIOs.
Stars: ✭ 18 (-71.87%)
Mutual labels:  gpio
linux.gpio.clj
Use the standard Linux GPIO API from Clojure JVM
Stars: ✭ 24 (-62.5%)
Mutual labels:  gpio
ohd
Garage Door Monitor (OverHeadDoor) - Python3, Raspbian
Stars: ✭ 126 (+96.88%)
Mutual labels:  gpio
Collect
A server to collect & archive websites that also supports video downloads
Stars: ✭ 62 (-3.12%)
Mutual labels:  webinterface
piserv
Raspberry Pi HTTP Interface for GPIO Control
Stars: ✭ 21 (-67.19%)
Mutual labels:  gpio
Waveshare.EPaperDisplay
.Net Core Library to show images on Waveshare E-Paper Displays
Stars: ✭ 17 (-73.44%)
Mutual labels:  gpio
pirrot
A radio repeater controller (supporting both simplex and duplex operation modes) for the RaspberryPi.
Stars: ✭ 25 (-60.94%)
Mutual labels:  gpio
python3-gpiod
gpiod pure Python library with almost the same usage as libgpiodcxx
Stars: ✭ 28 (-56.25%)
Mutual labels:  gpio
gpio
A RaspberryPi GPIO library written in PHP.
Stars: ✭ 16 (-75%)
Mutual labels:  gpio
SwiftFlowMeter
⚡️ A Swift library for using Hall effect based water flow sensors.
Stars: ✭ 22 (-65.62%)
Mutual labels:  gpio
music led strip control
Audio visualization for LED strips in real-time with web interface on a raspberry pi.
Stars: ✭ 224 (+250%)
Mutual labels:  webinterface
gpio
A native Go library for Raspberry Pi GPIO
Stars: ✭ 109 (+70.31%)
Mutual labels:  gpio
gobot
Golang framework for robotics, drones, and the Internet of Things (IoT)
Stars: ✭ 7,869 (+12195.31%)
Mutual labels:  gpio
rpi2mqtt
Connect RaspberryPi GPIOs and 1-Wire temperature sensors to MQTT 🍰🔘📡
Stars: ✭ 20 (-68.75%)
Mutual labels:  gpio
trollibox
The hackerspace friendly music player web client
Stars: ✭ 35 (-45.31%)
Mutual labels:  webinterface
rfoutlet
Control remote controlled outlets via Raspberry PI
Stars: ✭ 14 (-78.12%)
Mutual labels:  gpio
bangu
🍓This project is about smart ehouse which base on python, Raspberry Pi, deep learning and so on.
Stars: ✭ 20 (-68.75%)
Mutual labels:  gpio

Project discontinued

Because of lack of time, i must discontinue this project. It will stay online, it will probably work out of the box. Maybe someone can take over development for this project?! Feel free to fork it.

Control GPIOs with a webinterface. Simple, powerful

A easy to use webinterface to control all GPIO in/outputs of your raspberry pi or other device. Enable and disable GPIO just with one button directly with your smartphone, tablet or desktop browser.

Support me

If you like to buy some coffee, i will appriciate it. You can do this on Patreon or via PayPal

Features

  • Define GPIOs and watch the status
  • Enable/Disable GPIOs with just one click
  • Responsive design - Great for desktop, smartphone or tablets
  • Multilanguage

How to contribute

Feel free to send pull requests. Create an issue for a new feature BEFORE you do some coding. We should talk about that before. Translations are pretty straight forward, you can just add them without an issue.

Third Party Requirements

This interface requires wiringPi to be installed. The command gpio must be available. It's super easy to install, goto http://wiringpi.com/download-and-install/

Requirements

It is strongly recommended to use it just with the php command line. Maybe it will not work when running with a webserver like apache or nginx. Just use it as described bellow. Only PHP is required. It is also PHP7 compatible. Try all, depending on your system some packages are not available but that is no problem.

sudo apt-get install php-cli
sudo apt-get install php-mbstring
sudo apt-get install php5-cli
sudo apt-get install php5-mbstring

Installation

Download/Clone/Unpack the whole script to a folder you like. Create a php webserver listening on port 4322, you can change the port to whatever you want. Start this with the same user that can execute the gpio executable. Please do not use apache or other server's to run the php script, it will probably not work.

php -S 0.0.0.0:4322 -t YOURPATHTSCRIPTFOLDER > /dev/null 2>&1 &

Open the webpage with http://IPTOYOURPI:4322

Autostart

To enable autostart on reboot just add the following line to your crontab. Do this with the same user that can execute the gpio executable. No sudo required.

Add the following line to crontab with crontab -e to start the simple php webserver on reboot

@reboot php -S 0.0.0.0:4322 -t YOURPATHTSCRIPTFOLDER > /dev/null 2>&1 &

Troubleshooting

  • If you have troubles with write permissions just give the data and tmp folder the 777 permission.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].