Archive:StartYourEngines

From The Munich Maker Lab's Wiki
Revision as of 16:25, 10 September 2022 by Vrs (talk | contribs) (Vrs moved page StartYourEngines to Archive:StartYourEngines without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
   
Start your Engines

Release status: experimental [box doku]

Status switch01.jpg
Description A big button that switches on the lights, greets the member and sets the space to open on the webpage
Author(s)  tarwin, tiefpunkt

We need something to display to the world that the space is manned and open. And that switches on all the gimmicks and gizmos. =)

Current Setup

Hardware

Right next to the door:

  • Big switch
  • Raspberry Pi

Software

Source code: https://github.com/munichmakerlab/spacestatus

The RPi posts the lab status to the MuMaBus. Changes are received by a script running on the webserver, which makes the current status available to a set of PHP files.

rpi.py

  • Runs on the Raspberry Pi
  • Checks status
  • Posts changes to the MuMaBus on mumalab/room/status

daemon.py

  • Subscribes to mumalab/room/status on the MuMaBus
  • Writes changes to the file system

PHP Scripts

Availabe at http://status.munichmakerlab.de

  • index.php - Standard page with text etc.
  • image.php - Green or Red circle
  • simple.php - 0 or 1

ToDo

  • Nices images
  • Something to react to the switch and send an IR pulse to the light strip