mqtt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mqtt [2024-08-08 00:09] – river | mqtt [2025-03-28 07:21] (current) – river | ||
---|---|---|---|
Line 92: | Line 92: | ||
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ | ||
| environment/ | | environment/ | ||
- | | environment/ | + | | environment/ |
+ | | environment/ | ||
| environment/ | | environment/ | ||
- | | environment/ | + | | environment/ |
| espurna/ | | espurna/ | ||
Line 178: | Line 179: | ||
These are running the WLED firmware, which is ridiculously comprehensive and can talk to basically everything. However, MQTT seems to have been disabled. | These are running the WLED firmware, which is ridiculously comprehensive and can talk to basically everything. However, MQTT seems to have been disabled. | ||
- | There is a web interface at http:// | + | There is a web interface at http:// |
< | < | ||
Line 187: | Line 188: | ||
|||STRIP_NAME can be replaced with " | |||STRIP_NAME can be replaced with " | ||
- | ==== G1 Warning | + | ==== G1 Light Turret ==== |
+ | |||
+ | See also: [[turret|Light Turret]] | ||
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ | ||
Line 320: | Line 323: | ||
| timesignal/ | | timesignal/ | ||
| timesignal/ | | timesignal/ | ||
- | |||
- | ===== Christmas Tree ===== | ||
- | |||
- | ^ Topic ^ Payload ^ Notes ^ | ||
- | | xmas/tree | <n> | 0=off 1=red 2=dim-red 3=green 4=yellow 5=blue 6=magenta 7=cyan 8=white 9=colour-scroll 10=colour-fade 11=christmas 12=twinkle 13=nightlight | | ||
- | | xmas/tree | < | ||
- | | xmas/tree | < | ||
- | | xmas/tree | JSON | Execute a script | | ||
- | | xmas/ | ||
- | |||
- | In JSON mode, the payload is a sequence of frames and delay times. The following example would flash red/ | ||
- | |||
- | < | ||
- | [ | ||
- | [[[255, 0, 0], [255, 0, 0], ...], 1000], | ||
- | [[[0, 255, 0], [0, 255, 0], ...], 1000], | ||
- | [[[0, 0, 255], [0, 0, 255], ...], 1000] | ||
- | ] | ||
- | </ | ||
- | |||
- | There are 50 pixels on our tree, so 50 RGB values should be sent in each frame. | ||
===== G1 Amp ===== | ===== G1 Amp ===== |
mqtt.1723075780.txt.gz · Last modified: 2024-08-08 00:09 by river