Playing around with REST APIs on a Raspberry Pi.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lightshow
.gitignore
README.md

README.md

lightshow

A simple Raspberry Pi project to control GPIOs over a REST API.

Setup

Python Prerequisites

Run::

pip install flask wtform

The Raspberry Pi GPIO library (RPi) is only available on Raspberry Pi hardware.

Serial Connection

Follow http://elinux.org/RPi_Serial_Connection for directions on setting up a serial connection over USB.

Remote Filesystem

Follow https://medium.com/dev-tricks/mount-a-remote-filesystem-with-sshfs-8a37e85b39ee for directions on setting up a remote filesystem.

mkdir remote_home
sshfs me@www.myhost.com:/home/me/ remote_home
ls -l remote_home/

To unmount simply:

umount remote_home

Todo