Club-Status: Unterschied zwischen den Versionen

aus dem Wiki des Entropia e.V., CCC Karlsruhe
Keine Bearbeitungszusammenfassung
 
(7 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
[http://club.entropia.de/ club.entropia.de] / [http://l0op.de/clubstatus l0op.de/clubstatus]
== Features ==
== Features ==
* Reports on MQTT topic when the club status (open/closed) changes.
* Reports on MQTT topic when the club status (open/closed) changes.
Zeile 5: Zeile 7:


[[Datei:Ueberlastung 2018.jpeg|200px|thumb|left|Ueberlastung in 2018]]
[[Datei:Ueberlastung 2018.jpeg|200px|thumb|left|Ueberlastung in 2018]]
[[Datei:Ueberlastung 2019.jpeg|200px|thumb|left|Ueberlastung in 2019]]


== Hardware ==
== Hardware ==
Zeile 10: Zeile 13:
* Raspberry Pi 1 B+.
* Raspberry Pi 1 B+.
* Seeed Raspberry Pi Relay Board v1.0 (http://wiki.seeedstudio.com/Raspberry_Pi_Relay_Board_v1.0/)
* 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)
* Debounce board (v1.1 prototype of: https://github.com/MayaPosch/DebounceHat)
* Meanwell +12V/+5V PSU.
* MeanWell +12V/+5V PSU.
* Laser-cut wooden enclosure.
* Laser-cut wooden enclosure.


Zeile 23: Zeile 26:
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.
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
See the Github project for Ueberlastung for more details: https://github.com/entropia/ueberlastung or https://github.com/MayaPosch/ClubStatusService




[[Kategorie:Projekte]]
[[Kategorie:Projekte]]
[[Kategorie:Projekte:Laufend]]
[[Kategorie:Clubtechnik]]
[[Kategorie:Clubtechnik]]

Aktuelle Version vom 11. Januar 2020, 12:40 Uhr

club.entropia.de / l0op.de/clubstatus

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.
Ueberlastung in 2018
Ueberlastung in 2019

Hardware


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.

The switch on the left side of the enclosure allows one to turn the Club-Status system on or off.

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 or https://github.com/MayaPosch/ClubStatusService