Felix (Diskussion | Beiträge) |
(Update to current status.) |
||
Zeile 1: | Zeile 1: | ||
== Features == | == Features == | ||
* | * Reports on MQTT topic when the club status (open/closed) changes. | ||
* | * Sets the relays for the club power and status lights. | ||
* | * Offers REST API and status page via HTTP. | ||
[[Datei:Ueberlastung_2018.jpeg|200px|thumb|left|Ueberlastung in 2018]] | |||
== Hardware == | == Hardware == | ||
* Raspberry Pi 1 B+. | |||
* Seeed Raspberry Pi Relay Board v1.0 (http://wiki.seeedstudio.com/Raspberry_Pi_Relay_Board_v1.0/) | |||
* Debounce board (prototype of: https://github.com/MayaPosch/DebounceHat with just two channels) | |||
* Meanwell +12V/+5V PSU. | |||
* Laser-cut wooden enclosure. | |||
The relays control the Schaltstrom in the club, i.e. power outlets which are unpowered when the club is closed. | |||
They also control the lights on the traffic light outside the club door, indicating the current club status. | |||
== Software == | == Software == | ||
On the SBC runs a Systemd service called 'clubstatus' which monitors the status of the two connected switches (door lock & club status). These switches are debounced using the debounce board that is installed on top of the hardware stack. | |||
See the Github project for Ueberlastung for more details: https://github.com/entropia/ueberlastung | |||
[[Kategorie:Projekte]] | [[Kategorie:Projekte]] | ||
[[Kategorie:Clubtechnik]] | [[Kategorie:Clubtechnik]] |
Version vom 29. März 2018, 18:32 Uhr
Features
- Reports on MQTT topic when the club status (open/closed) changes.
- Sets the relays for the club power and status lights.
- Offers REST API and status page via HTTP.
Hardware
- Raspberry Pi 1 B+.
- Seeed Raspberry Pi Relay Board v1.0 (http://wiki.seeedstudio.com/Raspberry_Pi_Relay_Board_v1.0/)
- Debounce board (prototype of: https://github.com/MayaPosch/DebounceHat with just two channels)
- Meanwell +12V/+5V PSU.
- Laser-cut wooden enclosure.
The relays control the Schaltstrom in the club, i.e. power outlets which are unpowered when the club is closed.
They also control the lights on the traffic light outside the club door, indicating the current club status.
Software
On the SBC runs a Systemd service called 'clubstatus' which monitors the status of the two connected switches (door lock & club status). These switches are debounced using the debounce board that is installed on top of the hardware stack.
See the Github project for Ueberlastung for more details: https://github.com/entropia/ueberlastung