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-04-17 21:42] – [Sound] cazagenmqtt [2018-06-12 16:32] – [Sound] cazagen
Line 90: Line 90:
 | environment/g1/extractor | 0=off, 1=on | Note that the radio link for this is patchy so may not work immediately. Do not send multiple events to compensate as this should be done by the driver script instead. | | environment/g1/extractor | 0=off, 1=on | Note that the radio link for this is patchy so may not work immediately. Do not send multiple events to compensate as this should be done by the driver script instead. |
 | 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 |
-===== Displays ===== 
  
-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//. +===== Lighting =====
- +
-^ Topic ^ Payload ^ Notes ^ +
-| display/rhapsody/submessage | {"id": "<uniq-ref>", "message": "text..."} | Optional attributes: colour: red/yellow/green, priority: 1-100 (low values will be shown first, default=10). Max length 169 chars, 170+ crashes the script. | +
-| display/rhapsody/raw | raw data | Send raw messages to Rhapsody display (not recommended) | +
-| display/rhapsody/reset | | Reset the Rhapsody display (only required if the display is corrupted) |+
  
 ^ Topic ^ Payload ^ Notes ^ ^ Topic ^ Payload ^ Notes ^
Line 109: Line 103:
 | 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 | | | dali/g1/script | json-formatted script | |
 +
 +^ Topic ^ Payload ^ Notes ^
 +| display/g1/blacklights/relay/0/set | 0=off 1=on | Switch the G1 blacklight on/off |
 +
 +===== Displays =====
 +
 +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//.
 +
 +^ Topic ^ Payload ^ Notes ^
 +| display/rhapsody/submessage | {"id": "<uniq-ref>", "message": "text..."} | Optional attributes: colour: red/yellow/green, priority: 1-100 (low values will be shown first, default=10). Max length 169 chars, 170+ crashes the script. |
 +| display/rhapsody/raw | raw data | Send raw messages to Rhapsody display (not recommended) |
 +| 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// is the wooden box by the door in G1, with two buttons and a 16x2 LCD:
Line 124: Line 130:
 | 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 |
  
-| access/entrance/request | | Button has been pressed at the entrance //read only// | +G1 LED strip:
-| access/entrance/release | | Release the entrance door (for 2 seconds) | +
- +
-===== G1 LED strip =====+
  
 ^ Topic ^ Payload ^ Notes ^ ^ Topic ^ Payload ^ Notes ^
Line 135: Line 138:
  
 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]].
 +
 +===== Access Control =====
 +
 +| access/entrance/request | | Button has been pressed at the entrance //read only// |
 +| access/entrance/release | | Release the entrance door (for 2 seconds) |
  
 ===== Sound ===== ===== Sound =====
Line 143: Line 151:
 | sound/[room]/announce | text | | | sound/[room]/announce | text | |
 | sound/kill | empty message | Kills any playing sound |  | sound/kill | empty message | Kills any playing sound | 
 +| sound/voice/change | voice name | Changes the voice to the one specified | 
 +
 +The following are a list of possible voices, more data can be found at https://aws.amazon.com/polly/
 +
 +Nicole, Enrique, Tatyana, Carmen, Lotte, Russell, Geraint, Mads, Penelope, Joanna, Matthew, Brian, Seoyeon, Maxim, Ricardo, Ruben, Giorgio, Carla, Naja, Astrid, Maja, Ivy, Chantal, Kimberly, Amy, Vicki, Marlene, Ewa, Conchita, Karl, Mathieu, Miguel, Justin, Jacek, Takumi, Ines, Cristiano, Gwyneth, Mizuki, Celine, Jan, Liv, Joey, Filiz, Dora, Raveena, Aditi, Salli, Vitoria, Emma, Hans, Kendra
  
 Replace [room] with one of g1, g2, g8, g11, or all Replace [room] with one of g1, g2, g8, g11, or all
mqtt.txt · Last modified: 2024-02-14 08:03 by simon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki