Skip to content

stuart-thackray/pi_gpio_web

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Raspberry Pi GPIO Web Interface

Introduction

A web based Raspberry Pi interface to control the GPIO Pin(s). Possible uses can be determing is soldering worked; or control of gpio pins for other applications. Developed using Nitrogen Web Framework and Erlang Ale

Getting running

This program has a dependency on erlang which can be installed like below; or downloaded From Erlang Solutions

sudo apt-get -y install erlang 

Then clone the repo and make. The default make uses the inet as the webserver you may wish to use a different weberver in such you could use one of the following make cowboy | make inets| make mochiweb | make webmachine | make yaws

git clone https://github.com/stuart-thackray/pi_gpio_web.git
make
make run

Then open up the browser to control the Pi. (to get your IP address on the Rasberry pi type ifconfig| grep inet)

http://<IP-ADDRESS>:8000/

More Info

The configuration is saved between restarts of the PI; it is automatically saved every 5 minutes; or manually when saved via the GUI button. If this is not desired remove the cfg file using the below

sudo rm gpio.config

TODO

  • Custom naming of the GPIO ; i.e. doorbell, red led, e.t.c.

Screenshot/Demo

Wire up the pi and have fun ![Demo setup of Board] (https://github.com/stuart-thackray/pi_gpio_web/blob/master/doc/smaller_example_setup.jpg)

Control via the web ![Screenshot] (https://github.com/stuart-thackray/pi_gpio_web/blob/master/doc/example_web_page.jpg)

About

Raspberry Pi GPIO Web Interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published