User Tools

Site Tools


mqtt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
mqtt [2019-04-02 21:48]
cazagen
mqtt [2019-04-02 21:49] (current)
cazagen
Line 103: Line 103:
 | 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 or light-id=all |
-| dali/​g1/​script | json-formatted script | [["​set",​ 5,0], ["​delay",​2000],​ ["​set_all",​254]] 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 ^
mqtt.txt ยท Last modified: 2019-04-02 21:49 by cazagen