StartYourEngines

From The Munich Maker Lab's Wiki
Jump to: navigation, 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