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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
mqtt [2018-06-12 16:32] – [Sound] cazagenmqtt [2018-10-01 17:17] tkerby
Line 134: Line 134:
 ^ Topic ^ Payload ^ Notes ^ ^ Topic ^ Payload ^ Notes ^
 | display/g1/leds | <colour> | css3 web colours or hex values (e.g. ff0000) | | display/g1/leds | <colour> | css3 web colours or hex values (e.g. ff0000) |
-| display/g1/leds | <preset> | presets include: rainbow, zap, chase, test |+| display/g1/leds | <preset> | presets include: rainbow, zap, chase, test, pixelpicker |
 | display/g1/leds/brightness | [0-100] | changes the brightness of the leds to //n// percent | | display/g1/leds/brightness | [0-100] | changes the brightness of the leds to //n// percent |
 +| display/g1/leds/picker/json | <json> | When in the pixelpicker preset send the following example payload, '{"1":[255, 255, 0], "2":[0, 0, 255]}' , this will set LED 1 to yellow, and LED 2 to blue |
  
 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 Warning Turret:
 +
 +^ Topic ^ Payload ^ Notes ^
 +| display/g1/turret/red | 0=off 1=on | Turns on the red band on the Turret light |
 +| display/g1/turret/amber| 0=off 1=on | Turns on the amber band on the Turret light |
 +| display/g1/turret/green| 0=off 1=on | Turns on the green band on the Turret light |
 +
 +NEC Digital Signage Display
 +
 +^ Topic ^ Payload ^ Notes ^
 +| display/nec/brightness | [0-100] | changes the brightness of the display to //n// percent |
  
 ===== Access Control ===== ===== Access Control =====
mqtt.txt · Last modified: 2024-02-14 08:03 by simon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki