hdra / piswitch

Raspberry PI GPIO web interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Raspberry PI GPIO web interface


Languages

Language:TypeScript 56.9%Language:CSS 18.6%Language:Go 18.5%Language:HTML 5.1%Language:Makefile 1.0%