23 lines
1.1 KiB
Markdown
23 lines
1.1 KiB
Markdown
# Noisebell
|
|
|
|
Monitors the door at [Noisebridge](https://www.noisebridge.net) and tells you whether it's open or closed.
|
|
|
|
A Raspberry Pi reads a magnetic sensor on the door and pushes state changes to a cache server. The cache keeps the latest state and fans updates out to Discord.
|
|
|
|
```
|
|
Pi (door sensor) ──webhook──> Cache ──webhook──> Discord
|
|
|
|
|
polls Pi <-+
|
|
```
|
|
|
|
## Layout
|
|
|
|
| Directory | What it is |
|
|
|-----------|------------|
|
|
| [`pi/`](pi/) | Raspberry Pi OS base with laptop-built Noisebell deploy |
|
|
| [`remote/`](remote/) | Server-side services (cache and Discord bot) |
|
|
| [`secrets/`](secrets/) | Shared agenix-encrypted secrets and recipient rules |
|
|
|
|
Each directory has its own README with setup and configuration details.
|
|
|
|
For hosted deployment, another repo such as `../extremist-software` imports `noisebell.nixosModules.default`. That host repo provides deployment-specific values like domains, ports, and the Pi address, while the Noisebell module itself points `agenix` at the encrypted files in `secrets/` and consumes the decrypted runtime files on the target machine.
|