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-10-06 16:55] timmqtt [2019-02-05 22:20] – [Environment] tim
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 |
 +| environment/g8/extractor/relay/0 | 0=off, 1=on | Wall extractor in workshop |
  
 ===== Lighting ===== ===== Lighting =====
Line 112: Line 113:
  
 ^ Topic ^ Payload ^ Notes ^ ^ 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/submessage | {"id": "<uniq-ref>", "message": "text..."} | Optional attributes: colour: red/yellow/green/multi, priority: 1-100 (low values will be shown first, default=10). Max length 169 chars, 170+ crashes the script (length limit is lower for multi-colour). |
 | display/rhapsody/raw | raw data | Send raw messages to Rhapsody display (not recommended) | | 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) | | display/rhapsody/reset | | Reset the Rhapsody display (only required if the display is corrupted) |
Line 150: Line 151:
  
 ^ Topic ^ Payload ^ Notes ^ ^ Topic ^ Payload ^ Notes ^
-| display/nec/brightness | [0-100] | changes the brightness of the display to //n// percent |+<del>display/nec/brightness</del> <del>[0-100]</del> <del>changes the brightness of the display to //n// percent</del>
 +| CURRENTLY BORKED ||| 
 +Shorekarn scrolling display (in G1 window) 
 + 
 +^ Topic ^ Payload ^ Notes ^ 
 +| display/shorekarn/message | text | | 
  
 ===== Access Control ===== ===== Access Control =====
Line 166: Line 173:
 | sound/kill | empty message | Kills all queued and/or playing sounds |  | sound/kill | empty message | Kills all queued and/or playing sounds | 
 | <del>sound/voice/change</del> | <del>voice name</del> | <del>Changes the voice to the one specified</del> | <del>sound/voice/change</del> | <del>voice name</del> | <del>Changes the voice to the one specified</del>
 +| sound/time-out | seconds | Kill all playing sounds and remain silent for N seconds |
  
 Replace [room] with one of g1, g2, g8, g11, or all. Room names can also be combined. e.g. "g1-g2-g8" Replace [room] with one of g1, g2, g8, g11, or all. Room names can also be combined. e.g. "g1-g2-g8"
  
 Sound effects get annoying **fast**. Don't say we didn't warn you. Sound effects get annoying **fast**. Don't say we didn't warn you.
 +
 +===== MQTT -> IR =====
 +
 +Cazagen recently add a toy wiimote to G1 that allows for MQTT -> IR.
 +
 +It has the following commands.
 +
 +^ Topic ^ Payload ^ Notes ^
 +| ir/g1/amp/channel | pi, hdmi, mordred, table, laserdisc | Changes channel on amp to the chosen payload |
 +| ir/g1/amp | volumeup, volumedown, mute, poweron, poweroff, powertoggle | Transmits the obvious command | 
 +| ir/g1/laserdisc | poweron, poweroff, powertoggle |
 +| ir/g1/raw | | not implemented |
 +| ir/g1/globalcache | | not implemented |
 +| ir/g1/... | | not implemented |
  
 ===== JeeNode Radios ===== ===== JeeNode Radios =====
Line 253: Line 275:
 ===== TODO ===== ===== TODO =====
  
-  * Network devices +<del>  * Network devices</del>\\ 
-  * Door and window status +<del>  * Door and window status</del>\\ 
-  * Shorekarn scrolling LED sign +<del>  * Shorekarn scrolling LED sign</del>\\ 
-  * IRC bot+<del>  * IRC bot</del>\\
  
mqtt.txt · Last modified: 2024-02-14 08:03 by simon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki