Archive:Fastfood Remotes: Difference between revisions
(Created page with "{{project |name=Fastfood Remotes |status=experimental |author=JanS, Severin |description=Remote controls for random things in the space |downl...") |
m (Vrs moved page Fastfood Remotes to Archive:Fastfood Remotes without leaving a redirect) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{project | {{project | ||
|name=Fastfood Remotes | |name=Fastfood Remotes | ||
|status= | |status=beta | ||
|author=[[User:JanS|JanS]], [[User:Tiefpunkt|Severin]] | |author=[[User:JanS|JanS]], [[User:Tiefpunkt|Severin]] | ||
|description=Remote controls for random things in the space | |description=Remote controls for random things in the space | ||
Line 15: | Line 15: | ||
| Toggle Space Lights || Turn on red rotating light | | Toggle Space Lights || Turn on red rotating light | ||
|- | |- | ||
| | | Toggle Common Space Lights || - | ||
|- | |- | ||
| | | Toggle Lights infront of projection wall || Turn off red rotating light | ||
|} | |} | ||
=== Remote B === | === Remote B === | ||
{| class=wikitable | {| class=wikitable | ||
| MPD toggle play/pause || | | MPD toggle play/pause || X32 vol up | ||
|- | |- | ||
| MPD next || | | MPD next || X32 vol down | ||
|- | |- | ||
| - || - | | - || - | ||
|} | |||
=== Remote C === | |||
{| class=wikitable | |||
| Traffic light Green ON || Traffic light Green OFF | |||
|- | |||
| Traffic light Yellow ON || Traffic light Yellow OFF | |||
|- | |||
| Traffic light Red ON || Traffic light Red OFF | |||
|} | |} | ||
Latest revision as of 16:13, 10 September 2022
Fastfood Remotes Release status: beta [box doku] | |
---|---|
Description | Remote controls for random things in the space |
Author(s) | JanS, Severin |
Download | https://github.com/munichmakerlab/fastfoodremotes |
We got a few RF remote controls from a big fastfood chain. The receivers have serial outputs which output button presses as single bytes.
Button Mappings
Current functions of the buttons on the remotes:
Remote A
Toggle Space Lights | Turn on red rotating light |
Toggle Common Space Lights | - |
Toggle Lights infront of projection wall | Turn off red rotating light |
Remote B
MPD toggle play/pause | X32 vol up |
MPD next | X32 vol down |
- | - |
Remote C
Traffic light Green ON | Traffic light Green OFF |
Traffic light Yellow ON | Traffic light Yellow OFF |
Traffic light Red ON | Traffic light Red OFF |
Software
Severin wrote a python script that takes the button presses sent by the receiver over its serial connection, and parses them. It maps the bytes to the buttons on the remotes, and sends them to our MQTT broker.
Currently, three remotes are registered with the receiver. They are marked with stickers as A, B, and C, and their buttons are numbered from 0 to 5. The script sends the ID of the button (e.g. "B3") to mumalab/mccafe/1/buttonpress
. Further actions are then defined in our "Automation Layer" (currently a Node-Red installation).
The script currently runs on the PrinterBot machine, which the receiver is connected to.