mqtt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mqtt [2018-10-11 09:02] – [Displays] tim | mqtt [2023-02-28 23:53] – cazagen | ||
---|---|---|---|
Line 18: | Line 18: | ||
mosquitto_pub -h mqtt.hacklab -t ' | mosquitto_pub -h mqtt.hacklab -t ' | ||
</ | </ | ||
+ | |||
+ | ===== Devices ===== | ||
+ | [[private: | ||
===== Sensors ===== | ===== Sensors ===== | ||
Line 90: | Line 93: | ||
| environment/ | | environment/ | ||
| environment/ | | environment/ | ||
+ | | environment/ | ||
+ | | environment/ | ||
+ | | espurna/ | ||
===== Lighting ===== | ===== Lighting ===== | ||
Line 101: | Line 107: | ||
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ | ||
| dali/ | | dali/ | ||
- | | dali/ | + | | dali/ |
- | | dali/ | + | | dali/ |
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ | ||
| display/ | | display/ | ||
+ | | display/ | ||
===== 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 // | The [[rhapsodydisplay|Ferrograph Rhapsody LED Display]] is configured to display a list of message chunks on it's main scrolling area. Use the // | ||
Line 116: | Line 125: | ||
| display/ | | display/ | ||
- | //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 130: | Line 141: | ||
| display/ | | display/ | ||
- | G1 LED strip: | + | ==== G1 LED strip (the one that goes around the edge of the room) ==== |
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ | ||
Line 140: | Line 151: | ||
The LEDs can also be addressed in real time via a UDP network protocol. See [[https:// | The LEDs can also be addressed in real time via a UDP network protocol. See [[https:// | ||
- | G1 Warning Turret: | + | ==== G1 LED String ==== |
+ | |||
+ | The one that goes across the ceiling in the middle of the room. | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | < | ||
+ | |||
+ | ^ Topic ^ Payload ^ Notes ^ | ||
+ | | display/ | ||
+ | | display/ | ||
+ | |||STRIP_NAME can be replaced with " | ||
+ | |||
+ | ==== G1 Warning Turret | ||
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ | ||
Line 147: | Line 173: | ||
| display/ | | display/ | ||
- | NEC Digital Signage Display | + | ==== NEC Digital Signage Display |
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ | ||
- | | <del>display/ | + | | display/ |
- | | CURRENTLY BORKED ||| | + | |
- | Shorekarn scrolling display (in G1 window) | + | |
+ | ==== Shorekarn scrolling display (in G1 window) | ||
^ Topic ^ Payload ^ Notes ^ | ^ Topic ^ Payload ^ Notes ^ | ||
- | | display/ | + | | <del>display/ |
+ | | Not currently set up ||| | ||
+ | |||
+ | ==== New Window display ==== | ||
+ | |||
+ | ^ Topic ^ Payload ^ Notes ^ | ||
+ | | display/ | ||
+ | | display/ | ||
+ | |||
+ | ==== G1 Projector ==== | ||
+ | |||
+ | ^ Topic ^ Payload ^ Notes ^ | ||
+ | | display/ | ||
+ | | display/ | ||
+ | | display/ | ||
+ | |||
+ | ==== Chart ==== | ||
+ | |||
+ | The blinky chart of the West of Scotland in G1. | ||
+ | |||
+ | Note: Lighting mode may be overriden by hardware nya nya switch. | ||
+ | |||
+ | ^ Topic ^ Payload ^ Notes ^ | ||
+ | | display/ | ||
===== Access Control ===== | ===== Access Control ===== | ||
+ | |||
+ | Code for this can be found on ehl-vm-things:/ | ||
+ | |||
+ | The door is opened by a small ESP8266 and a relay connected to the intercom phone under the IRC terminal in G1 | ||
| access/ | | access/ | ||
Line 172: | Line 226: | ||
| sound/kill | empty message | Kills all queued and/or playing sounds | | | sound/kill | empty message | Kills all queued and/or playing sounds | | ||
| < | | < | ||
+ | | sound/ | ||
Replace [room] with one of g1, g2, g8, g11, or all. Room names can also be combined. e.g. " | Replace [room] with one of g1, g2, g8, g11, or all. Room names can also be combined. e.g. " | ||
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/ | ||
+ | | ir/g1/amp | volumeup, volumedown, mute, poweron, poweroff, powertoggle | Transmits the obvious command | | ||
+ | | ir/ | ||
+ | | ir/g1/raw | | not implemented | | ||
+ | | ir/ | ||
+ | | ir/g1/... | | not implemented | | ||
===== JeeNode Radios ===== | ===== JeeNode Radios ===== | ||
Line 252: | Line 321: | ||
There are 50 pixels on our tree, so 50 RGB values should be sent in each frame. | There are 50 pixels on our tree, so 50 RGB values should be sent in each frame. | ||
+ | ===== G1 Amp ===== | ||
+ | |||
+ | ^ Topic ^ Payload ^ Notes ^ | ||
+ | | sound/ | ||
+ | | sound/ | ||
+ | | sound/ | ||
===== Misc ===== | ===== Misc ===== | ||
Line 259: | Line 334: | ||
===== TODO ===== | ===== TODO ===== | ||
- | | + | < |
- | * Door and window status | + | < |
- | * Shorekarn scrolling LED sign | + | < |
- | * IRC bot | + | < |
mqtt.txt · Last modified: 2024-08-08 00:09 by river