Skip to content

Golang http server to run on an embedded garage door opener

Notifications You must be signed in to change notification settings

nikdavis/garageHttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To compile and run on for Raspberry Pi Zero W

GOOS="linux" GOARCH="arm" GOARM=6 golang build

scp garageServer [email protected]:~/garageServer

ssh...

./garageServer

Note: I should perhaps attempt to figure out the best way to manage this service on the Pi long term, and maybe make the output a container.

Todo

  • Establish a connection over SPI, reading in the tilt sensor
  • Create a GET endpoint that will share the state of the sensor
  • Create PUT endpoint that will allow updating of the garage doors state (should this be blocking?)

Resources

SmartThings LAN connected docs

Pi pinout

Pi power reqs

Pi GPIO library

Relay overview

Garage door wiring

About

Golang http server to run on an embedded garage door opener

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published