Club-Status: Unterschied zwischen den Versionen

aus dem Wiki des Entropia e.V., CCC Karlsruhe
Zeile 15: Zeile 15:




The relays control the Schaltstrom in the club, i.e. power outlets which are unpowered when the club is closed.  
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.
 
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.
The switch on the left side of the enclosure allows one to turn the Club-Status system on or off.

Version vom 2. April 2018, 11:49 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.
Ueberlastung in 2018

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