Archive:StartYourEngines: Difference between revisions

From The Munich Maker Lab's Wiki
Jump to navigation Jump to search
No edit summary
m (Vrs moved page StartYourEngines to Archive:StartYourEngines without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
|name        = Start your Engines
|name        = Start your Engines
|status      = experimental
|status      = experimental
|image      =  
|image      = Status_switch01.jpg
|description = A big button that switches on the lights, greets the member and sets the space to open on the webpage  
|description = A big button that switches on the lights, greets the member and sets the space to open on the webpage  
|author      = [[User:Tarwin|tarwin]], [[User:Tiefpunkt|tiefpunkt]]
|author      = [[User:Tarwin|tarwin]], [[User:Tiefpunkt|tiefpunkt]]

Latest revision as of 16:25, 10 September 2022

   
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