Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
mqtt [2019-01-06 16:19] – [Wiimote] tim | mqtt [2019-05-08 21:49] – [Lighting] alfie |
---|
| environment/g1/extractor | 0=off, 1=on | Note that the radio link for this is patchy so may not work immediately. Do not send multiple events to compensate as this should be done by the driver script instead. | | | environment/g1/extractor | 0=off, 1=on | Note that the radio link for this is patchy so may not work immediately. Do not send multiple events to compensate as this should be done by the driver script instead. | |
| environment/g1/heating | 0-30, off | Send a numeric value to set a target temperature for G1, off to turn the heating off | | | environment/g1/heating | 0-30, off | Send a numeric value to set a target temperature for G1, off to turn the heating off | |
| | environment/g8/extractor/relay/0 | 0=off, 1=on | Wall extractor in workshop | |
| |
===== Lighting ===== | ===== Lighting ===== |
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ |
| dali/g1/preset/<preset> | (none) | preset=off/dim/bright/corners/movie/comfort/presentation/harmony/random or preset=<number> | | | dali/g1/preset/<preset> | (none) | preset=off/dim/bright/corners/movie/comfort/presentation/harmony/random or preset=<number> | |
| dali/g1/set/<light-id> | 0-254 | light-id=0-17 or light-id=all | | | dali/g1/set/<light-id> | 0-254 | light-id=0-17, light-id=all, or light-id=social (just the end of the room with the kitchen) | |
| dali/g1/script | json-formatted script | | | | dali/g1/script | json-formatted script | <code>[["set", 5,0], ["delay",2000], ["set_all",254]]</code> will set light number 5 to zero, wait for 2 seconds, then set everything to 254| |
| |
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ |
| display/doorbot/buttons/green/state | up, down | Sent by device, do not write | | | display/doorbot/buttons/green/state | up, down | Sent by device, do not write | |
| |
G1 LED strip: | G1 LED strip (the one that goes around the edge of the room): |
| |
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ |
| |
The LEDs can also be addressed in real time via a UDP network protocol. See [[https://gist.github.com/timhawes/910ee6b5bf9c36833235b0e075f01cbf|this example]]. | The LEDs can also be addressed in real time via a UDP network protocol. See [[https://gist.github.com/timhawes/910ee6b5bf9c36833235b0e075f01cbf|this example]]. |
| |
| G1 LED String, that goes across the ceiling in the middle of the room: |
| |
| This is not on mqtt yet, but can be controlled with a web interface at http://ceilingleds.hacklab. |
| |
G1 Warning Turret: | G1 Warning Turret: |
| |
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ |
| display/shorekarn/message | text | | | | <del>display/shorekarn/message</del> | <del>text</del> | | |
| | Not currently set up ||| |
| |
| New Window display |
| ^ Topic ^ Payload ^ Notes ^ |
| | display/g1/windowled/text | text | seems to slow down render with large text| |
| | display/g1/windowled/colour | r,g,b | comma separated string of red, green, and blue (0-255) Takes effect on next text change | |
| |
| G1 Projector |
| ^ Topic ^ Payload ^ Notes ^ |
| | display/g1/projector/on | empty | Turns on projector | |
| | display/g1/projector/off | empty | Turns off projector | |
| | display/g1/projector/channel | text | Changes channel of radio to one of hdmi, vga, or svideo | |
| |
===== Access Control ===== | ===== Access Control ===== |
Sound effects get annoying **fast**. Don't say we didn't warn you. | Sound effects get annoying **fast**. Don't say we didn't warn you. |
| |
===== Wiimote ===== | ===== MQTT -> IR ===== |
| |
Cazagen recently add a toy wiimote to G1 that allows for MQTT -> IR. | Cazagen recently add a toy wiimote to G1 that allows for MQTT -> IR. |
| |
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ |
| <del>tool/wiimote/amp/channel</del> ir/g1/amp/channel | pi, hdmi, mordred, table, laserdisc | Changes channel on amp to the chosen payload | | | ir/g1/amp/channel | pi, hdmi, mordred, table, laserdisc | Changes channel on amp to the chosen payload | |
| <del>tool/wiimote/amp</del> ir/g1/amp | volumeup, volumedown, mute, poweron, poweroff, powertoggle | Transmits the obvious command | | | ir/g1/amp | volumeup, volumedown, mute, poweron, poweroff, powertoggle | Transmits the obvious command | |
| <del>tool/wiimote/laserdisc</del> ir/g1/laserdisc | poweron, poweroff, powertoggle | | | ir/g1/laserdisc | poweron, poweroff, powertoggle | |
| ir/g1/raw | | not implemented | | | ir/g1/raw | | not implemented | |
| ir/g1/globalcache | | not implemented | | | ir/g1/globalcache | | not implemented | |