Archive:StartYourEngines: Difference between revisions

From The Munich Maker Lab's Wiki
Jump to navigation Jump to search
m (Tarwin moved page StartYouEngines to StartYourEngines: typo...)
m (Vrs moved page StartYourEngines to Archive:StartYourEngines without leaving a redirect)
 
(2 intermediate revisions 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]]
|author      = [[User:Tarwin|tarwin]], [[User:Tiefpunkt|tiefpunkt]]
|username    =  
|username    =  
|version    =  
|version    =  
Line 12: Line 12:
|download    =  
|download    =  
}}
}}
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


We need something to display to the world that the space is manned and open. And that switches on all the gimmicks and gizmos. =)
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.


= Hardware =  
==== rpi.py ====
* Runs on the Raspberry Pi
* Checks status
* Posts changes to the [[MuMaBus]] on <code>mumalab/room/status</code>


* Big switch
==== daemon.py ====
* Arduino
* Subscribes to <code>mumalab/room/status</code> on the [[MuMaBus]]
* Magic
* Writes changes to the file system


= Software =  
==== 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


* some mechanism to change the site
== ToDo ==
** exposed flag file
* Nices images
** API
** automatically changed static content
** ...
* Something to react to the switch and send an IR pulse to the light strip
* Something to react to the switch and send an IR pulse to the light strip


[[Category:Project]]
[[Category:Project]]

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