/piswitch

Raspberry PI GPIO web interface

Primary LanguageTypeScript

PiSwitch

Simple web interface to control a single GPIO pin on the raspberry pi. Change the PIN constant defined on the main.go file to control which pin is used.

Build Client

  • Install the react toolchain (node, yarn, etc)
  • Run cd client && yarn build

Server Build

Start on boot

Copy configs/piswitch.service to /lib/systemd/system/piswitch.service and run sudo systemctl enable piswitch.service