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 [2019-11-12 22:01] rivermqtt [2020-03-08 21:13] cazagen
Line 1: Line 1:
 ====== MQTT Message Bus ====== ====== MQTT Message Bus ======
-http://catbus.hacklab/img/gpdarr.jpg+
 Hostname: mqtt.hacklab\\ Hostname: mqtt.hacklab\\
 Port: 1883 Port: 1883
Line 91: Line 91:
 | environment/g1/heating | 0-30, off | Send a numeric value to set a target temperature for G1, off to turn the heating off | | environment/g1/heating | 0-30, off | Send a numeric value to set a target temperature for G1, off to turn the heating off |
 | environment/g8/extractor/relay/0 | 0=off, 1=on | Wall extractor in workshop | | environment/g8/extractor/relay/0 | 0=off, 1=on | Wall extractor in workshop |
 +| environment/g14/heating | 0-30, off | Send a numeric value to set a target temperature for G14, off to turn the heating off |
  
 ===== Lighting ===== ===== Lighting =====
Line 109: Line 110:
  
 ===== Displays ===== ===== Displays =====
 +
 +==== Ferrograph Rhapsody LED Display ====
  
 The [[rhapsodydisplay|Ferrograph Rhapsody LED Display]] is configured to display a list of message chunks on it's main scrolling area. Use the //submessage// topic below to add a message to the scroller. Messages time out after 10 minutes, so resend the message every 1-5 minutes using the same //id//. The [[rhapsodydisplay|Ferrograph Rhapsody LED Display]] is configured to display a list of message chunks on it's main scrolling area. Use the //submessage// topic below to add a message to the scroller. Messages time out after 10 minutes, so resend the message every 1-5 minutes using the same //id//.
Line 117: Line 120:
 | display/rhapsody/reset | | Reset the Rhapsody display (only required if the display is corrupted) | | display/rhapsody/reset | | Reset the Rhapsody display (only required if the display is corrupted) |
  
-//Doorbot// is the wooden box by the door in G1, with two buttons and a 16x2 LCD:+==== Doorbot ==== 
 + 
 +The wooden box by the door in G1, with two buttons and a 16x2 LCD:
  
 ^ Topic ^ Payload ^ Notes ^ ^ Topic ^ Payload ^ Notes ^
Line 131: Line 136:
 | display/doorbot/buttons/green/state | up, down | Sent by device, do not write | | display/doorbot/buttons/green/state | up, down | Sent by device, do not write |
  
-G1 LED strip (the one that goes around the edge of the room):+==== G1 LED strip (the one that goes around the edge of the room) ====
  
 ^ Topic ^ Payload ^ Notes ^ ^ Topic ^ Payload ^ Notes ^
Line 141: Line 146:
 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 LED String, that goes across the ceiling in the middle of the room:+==== G1 LED String ====
  
-This is not on mqtt yet, but can be controlled with a web interface at http://ceilingleds.hacklab.+The one that goes across the ceiling in the middle of the room.
  
-G1 Warning Turret:+These are running the WLED firmware, which is ridiculously comprehensive and can talk to basically everything. 
 + 
 +There is a web interface at http://ceilingleds.hacklab. 
 + 
 +Full MQTT docs at https://github.com/Aircoookie/WLED/wiki/MQTT 
 + 
 +^ Topic ^ Payload ^ Notes ^ 
 +| display/g1/wled/$STRIP_NAME | 0-255, "ON", "OFF", or "T" |  "T" means toggle | 
 +| display/g1/wled/$STRIP_NAME/col | #RRGGBB | | 
 +|||STRIP_NAME can be replaced with "dangle" for the strip dangling in G1 or "all" for every strip running this firmware in G1| 
 + 
 +==== G1 Warning Turret ====
  
 ^ Topic ^ Payload ^ Notes ^ ^ Topic ^ Payload ^ Notes ^
Line 152: Line 168:
 | display/g1/turret/green| 0=off 1=on | Turns on the green 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+==== NEC Digital Signage Display ====
  
 ^ 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>+| display/nec/image | Image URL | Display an image on the screen | 
-| display/nec/image | >Image URL | Display an image on the screen | + 
-| CURRENTLY BORKED ||| + 
-Shorekarn scrolling display (in G1 window)+==== Shorekarn scrolling display (in G1 window) ====
  
 ^ Topic ^ Payload ^ Notes ^ ^ Topic ^ Payload ^ Notes ^
Line 164: Line 180:
 | Not currently set up ||| | Not currently set up |||
  
-New Window display+==== New Window display ==== 
 ^ Topic ^ Payload ^ Notes ^ ^ Topic ^ Payload ^ Notes ^
 | display/g1/windowled/text | text | seems to slow down render with large text| | display/g1/windowled/text | text | seems to slow down render with large text|
 | display/g1/windowled/colour | r,g,b | comma separated string of red, green, and blue (0-255) Takes effect on next text change |   | display/g1/windowled/colour | r,g,b | comma separated string of red, green, and blue (0-255) Takes effect on next text change |  
  
-G1 Projector+==== G1 Projector ==== 
 ^ Topic ^ Payload ^ Notes ^ ^ Topic ^ Payload ^ Notes ^
 | display/g1/projector/on | empty | Turns on projector |  | display/g1/projector/on | empty | Turns on projector | 
mqtt.txt · Last modified: 2024-02-14 08:03 by simon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki