The K2CC Door Program
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.
dorc
fake-client
server
.gitignore
LICENSE
README.md
dorp.go
protocol.md
state_string.go

README.md

dorp

The K2CC Door Program

Dorp allows remote monitoring of K2CC station occupancy status by giving access to two pieces of information: whether the door is open or shut, and whether the lights are on or off.

Dorp consists of two programs:

  • A server, which displays current state on a web site and listens for status changes.
  • A client (called dorc), which pushes updates from the station to the server.

The client is intended to run on a Raspberry Pi, connected to a switch that monitors the door and a photosensor to monitor the lights.

The server is intended to run on a computer with a static IP address.

Further documentation on how each of the programs work is in each of their respective directories. Documenentation on the update protocol can be found in protocol.md.