Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
mqtt [2019-04-02 21:49] – cazagen | mqtt [2019-11-12 22:02] – river |
---|
====== MQTT Message Bus ====== | ====== MQTT Message Bus ====== |
| http://catbus.hacklab/img/gpdarr.jpg |
Hostname: mqtt.hacklab\\ | Hostname: mqtt.hacklab\\ |
Port: 1883 | Port: 1883 |
^ 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 | <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| | | 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 ^ |
| <del>display/nec/brightness</del> | <del>[0-100]</del> | <del>changes the brightness of the display to //n// percent</del> | | | <del>display/nec/brightness</del> | <del>[0-100]</del> | <del>changes the brightness of the display to //n// percent</del> | |
| | display/nec/image | Image URL | Display an image on the screen | |
| CURRENTLY BORKED ||| | | CURRENTLY BORKED ||| |
Shorekarn scrolling display (in G1 window) | Shorekarn scrolling display (in G1 window) |