Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
mqtt [2018-06-16 21:01] – [Displays] cazagen | mqtt [2018-09-15 15:37] – [Displays] cazagen |
---|
^ 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]]. |