Add system architecture
All checks were successful
ci/woodpecker/push/build/1 Pipeline was successful
ci/woodpecker/push/build/2 Pipeline was successful
ci/woodpecker/push/manifest Pipeline was successful

This commit is contained in:
Arti Zirk 2024-08-29 13:05:38 +03:00
parent 8d4df68b95
commit 2f4005a7ba

View File

@ -33,3 +33,33 @@ For end users door can be opened by:
For emergency cases:
* Log into door controller via SSH and issue `killall -sUSR1 godoor`
# Door system architecture
* Web UI / Slack commands - https://git.k-space.ee/k-space/inventory-app
* Card List provider - https://git.k-space.ee/k-space/doorboy-proxy
```
┌──────────────┐
┌──────────────────┐ │ Card Reader │ ...
│ Slack /open-door │ └───────┬──────┘
└─────────────────┬┘ │
│ ┌──────────────┐
┌──────────────┐ │ ┌────│ RPI/w godoor │ ...
│ Web Open door│ │ │ └──────────────┘
└─────────┬────┘ │ │Swipe ▲
│ │ │Event │ Open event
▼ ▼ ▼ │ Card list
┌───────────────┐ ┌─────────┴─────┐
│ inventory-app │ │ doorboy-proxy │
│ doorboy.py │ └───────────────┘
└───────────────┘ ▲
│ │
│ │
│ ▼
│ ┌───────────┐
└──────────►│ MongoDB │
└───────────┘
```
https://asciiflow.com/ diagram