Skip to content
Snippets Groups Projects
Roy Xu's avatar
Roy Xu authored
staged deleted files; changed door opener field back to 'openedby' since there's an unknown ongoing broadcaster using 'opener'
6da08e0a

doorsense

A project to surface the status of the UCC door via HTTP

Running

  1. Install requirements using npm install.
  2. Copy .env.example to .env and fill out required variables.
  3. Run using npm start.

Alt: Docker

@pre: docker compose v2

  1. Edit compose.yaml to suit your need, mainly port and cokelog path & corresponding envvar
  2. docker compose up -d --build

@notes:

  1. Cokelog has to mount as rw so inotifywait can pick it up and broadcast opener msg to mqtt broker. This might be unsafe. Considering original copy is on merlo it should be acceptable.