Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
roomauto:mqtt_topics [2018-07-14 01:35]
xro [Topics currently in use]
roomauto:mqtt_topics [2023-08-05 18:21]
xro
Line 14: Line 14:
 ^Topic^Retain^Description| ^Topic^Retain^Description|
 ^Sensor Messages^| | ^Sensor Messages^| |
 +|zigbee2mqtt/​w1/​AjarWindowMasha | false | MaSha Window ajar or not |
 +|zigbee2mqtt/​w2/​AjarWindowR2W2right | false | R2W2 right Window ajar or not |
 +|zigbee2mqtt/​w2/​AjarWindowR2W2left | false | R2W2 left Window ajar or not |
 +|zigbee2mqtt/​w2/​AjarWindowTesla | false | TESLA Window ajar or not |
 +|zigbee2mqtt/​w2/​AjarWindowKitchen | false | TESLA Window ajar or not |
 +|zigbee2mqtt/​w1/​AjarWindowOLGA | false | OLGA Window ajar or not |
 |realraum/​frontdoor/​lock|True|Frontdoor locked or not| |realraum/​frontdoor/​lock|True|Frontdoor locked or not|
 |realraum/​w2frontdoor/​lock ​ |True|w2 door locked or not| |realraum/​w2frontdoor/​lock ​ |True|w2 door locked or not|
Line 33: Line 39:
 |realraum/​xbee/​temperature|True|XBee non-fixed sensors temperature,​ DHT11| |realraum/​xbee/​temperature|True|XBee non-fixed sensors temperature,​ DHT11|
 |realraum/​xbee/​voltage|True|XBee non-fixed sensors battery voltage| |realraum/​xbee/​voltage|True|XBee non-fixed sensors battery voltage|
-|realraum/​w2tesla/​relhumidity|True|sensors humidity, ​DHT11 in R2W2| +|realraum/​w2tesla/​relhumidity|True|sensors humidity, ​BMP280 ​in R2W2| 
-|realraum/​w2tesla/​temperature|True|temperature, ​DHT11 in R2W2|+|realraum/​w2tesla/​temperature|True|temperature, ​BMP280 ​in R2W2|
 |realraum/​backdoorcx/​movement|False|currently nonexistant future PIR Movement Sensor in CX| |realraum/​backdoorcx/​movement|False|currently nonexistant future PIR Movement Sensor in CX|
 |realraum/​olgafreezer/​temperature|False|OlgaFreezer DS18B20 Temp Sensors| |realraum/​olgafreezer/​temperature|False|OlgaFreezer DS18B20 Temp Sensors|
Line 51: Line 57:
 ^Meta Events^| | ^Meta Events^| |
 |realraum/​metaevt/​presence|True|Indicates if someone is present in realraum. Sent everytime presence status changes. .Meta-Event generated by '​r3-metaevt-maker'​| |realraum/​metaevt/​presence|True|Indicates if someone is present in realraum. Sent everytime presence status changes. .Meta-Event generated by '​r3-metaevt-maker'​|
 +|realraum/​metaevt/​aggregatecontactsensor|True|Collects all shut,​locked,​contact sensors into one event. Sent on change. Meta-Event generated by '​r3-metaevt-maker'​|
 |realraum/​metaevt/​overtemp|False|Meta-event triggered if a temperature sensor exceeds a warning threshold| |realraum/​metaevt/​overtemp|False|Meta-event triggered if a temperature sensor exceeds a warning threshold|
 |realraum/​metaevt/​sensorlost|False|Meta-event triggered if a sensor stopped transmitting data| |realraum/​metaevt/​sensorlost|False|Meta-event triggered if a sensor stopped transmitting data|
Line 57: Line 64:
 |realraum/​metaevt/​TempSensorSpike|False|not-implemented. **TODO**. Meta-event that triggers if a temperature sensor'​s value rises above its running average standard deviation –> possible Fire| |realraum/​metaevt/​TempSensorSpike|False|not-implemented. **TODO**. Meta-event that triggers if a temperature sensor'​s value rises above its running average standard deviation –> possible Fire|
 |realraum/​metaevt/​DustSensorSpike|False|not-implemented. **TODO**. Meta-event that triggers if a dust sensor'​s value rises above its running average standard deviation –> possible Fire| |realraum/​metaevt/​DustSensorSpike|False|not-implemented. **TODO**. Meta-event that triggers if a dust sensor'​s value rises above its running average standard deviation –> possible Fire|
 +|realraum/​rauchmelderN/​online|True| N={1...} smokealarm online or not. includes last known IP| 
 +|realraum/​rauchmelderN/​smokealarm|True| N={1...] SmokeALARM triggered in given room|
 ^Action Requests^| | ^Action Requests^| |
 |action/​rf433/​sendcode3byte|False|Tell RF433 Transmitters to transmit the attached 3byte code over the air to powerplugs| |action/​rf433/​sendcode3byte|False|Tell RF433 Transmitters to transmit the attached 3byte code over the air to powerplugs|
Line 81: Line 89:
 |action/​GoLightCtrl/​basiclight5|False|switch basiclight on/off| |action/​GoLightCtrl/​basiclight5|False|switch basiclight on/off|
 |action/​GoLightCtrl/​basiclight6|False|switch basiclight on/off| |action/​GoLightCtrl/​basiclight6|False|switch basiclight on/off|
 +|action/​realraum/​resendstatus|False|True:​ trigger resending of current status of all locks, door-sensors,​ ajar-sensors,​ etc|
  
 ---- ----
Line 130: Line 139:
 | printerbone | drucker.realraum.at | BeagleBoneGreen managing printer power | mqtt.realraum.at \\ needs DNS\\ provides cups | {{:​roomauto:​printerbonegreen1-230x300.jpg?​200&​direct|}} | | printerbone | drucker.realraum.at | BeagleBoneGreen managing printer power | mqtt.realraum.at \\ needs DNS\\ provides cups | {{:​roomauto:​printerbonegreen1-230x300.jpg?​200&​direct|}} |
 | lothrboiler | [[http://​gw.realraum.at/​cgi-bin/​reportdhcp.pl|dhcp:"​lothrboiler-6135]] | SonOff Pow Relay controlling power to the warm water boiler in LoTHR| r3WIFI\\ mqtt.realraum.at\\ needs DHCP\\ DNS\\ provides http |  {{:​roomauto:​lothrboiler.jpg?​200|}} | | lothrboiler | [[http://​gw.realraum.at/​cgi-bin/​reportdhcp.pl|dhcp:"​lothrboiler-6135]] | SonOff Pow Relay controlling power to the warm water boiler in LoTHR| r3WIFI\\ mqtt.realraum.at\\ needs DHCP\\ DNS\\ provides http |  {{:​roomauto:​lothrboiler.jpg?​200|}} |
 +|rauchmelder1 | [[intern:​ip-adressen|rauchmelder1.mgmt.realraum.at]] | ESP8266 connected to smoke alarm at TESLA. Only powers on if smoke alarm goes off | |
  
 ==== 2nd level topics and payload types  ==== ==== 2nd level topics and payload types  ====
Line 161: Line 171:
 | foodorderinvite ​  | JSON Object | {"​Who":​string,​ "​Where":​string,​ "​URL":​string (http or phone), "​Ts":​int64} | | foodorderinvite ​  | JSON Object | {"​Who":​string,​ "​Where":​string,​ "​URL":​string (http or phone), "​Ts":​int64} |
 | foodordereta ​  | JSON Object | {"​TSofInvite":​int64,​ "​ETA":​int64,​ "​Ts":​int} | | foodordereta ​  | JSON Object | {"​TSofInvite":​int64,​ "​ETA":​int64,​ "​Ts":​int} |
 +| online ​    | JSON Object | {"​online":​bool,​ "​ip":​string} |
 +| smokealarm | JSON Object | {"​room":​string,​ "​voltage":​float} |
 ^ Meta Events ^^ ^ Meta Events ^^
-| presence | JSON Object | {"​Present":​bool,​ "​Ts":​int64} |+| presence | JSON Object | {"​Present":​bool,​ "​InSpace1":​bool,​ "​InSpace2":​bool,​ "​Ts":​int64} | 
 +| aggregatecontactsensor | JSON Object | {"​AllDoorsShut":​bool,​ "​AllWindowsShut":​bool,​ "​AllDoorsLocked":​bool,​ "​Ts":​bool} |
 | realmovement | JSON Object | {"​Movement":​bool,​ "​Confidence":​uint8,​ "​Ts":​int} **largely useless** | | realmovement | JSON Object | {"​Movement":​bool,​ "​Confidence":​uint8,​ "​Ts":​int} **largely useless** |
 | overtemp | JSON Object | {"​Location":​string,​ "​Value":​float,​ "​Threshold":​float,​ "​Ts":​int} | | overtemp | JSON Object | {"​Location":​string,​ "​Value":​float,​ "​Threshold":​float,​ "​Ts":​int} |
Line 169: Line 182:
 | TempSensorSpike | JSON Object | {"​Location":​string,​ "​Value":​float64,​ "​Ts":​int} | | TempSensorSpike | JSON Object | {"​Location":​string,​ "​Value":​float64,​ "​Ts":​int} |
 | DustSensorSpike | JSON Object | {"​Location":​string,​ "​Value":​int64,​ "​Ts":​int} | | DustSensorSpike | JSON Object | {"​Location":​string,​ "​Value":​int64,​ "​Ts":​int} |
 +| 3dprintprogress | JSON Object | {"​Printer":​string,​ "​Job":​string,​ "​Elapsed_time_s":​int64,​ "​Progress_percent":​int} |
 +
 ^ Action Requests ^^ ^ Action Requests ^^
 | sendcode3byte | JSON Object | {"​Code":​[3]byte,​ "​Ts":​int64} | | sendcode3byte | JSON Object | {"​Code":​[3]byte,​ "​Ts":​int64} |
realraum Graz, Brockmanngasse 15, 8010 Graz, realraum - Verein für Technik in Kultur und Gesellschaft
  • /var/lib/dokuwiki/data/pages/roomauto/mqtt_topics.txt
  • Last modified: 2023-09-11 22:48
  • by xro