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
roomauto:roomauto [2016-02-19 19:23]
xro
roomauto:roomauto [2020-01-30 15:45] (current)
xro
Line 1: Line 1:
 ======= Room Automatisation ======= ======= Room Automatisation =======
 +
 +=== Slides ===
 +
 +Xro made a nice [[http://​btittelbach.github.io/​r3_sensors_light_power_talk/​|presentation]]
 +
 +====== Lüftungsanlage ======
 +
 +nur im lokalen LAN/WLAN:
 +  * [[http://​ventilation.realraum.at/​]]
 +  * [[http://​lüftung.realraum.at/​]]
 +  * [[http://​sucker.realraum.at/​]]
 +
 +[[ventilation|Projekt Lüftung Dokumentation]]
 +
 +====== Türschließmechanismus ======
 +
 +[[torwaechter]]
  
 ====== Licht/​Schaltanlage ====== ====== Licht/​Schaltanlage ======
Line 16: Line 33:
 === Automatiken === === Automatiken ===
  
-Previously configured by a fancy almost turing complete ini file, now simply hardcoded in [[https://​github.com/​realraum/​door_and_sensors/​blob/​master/​scripts/​dostuff_switch_lights.py| dostuff_switch_lights.py]] running on mqtt.realraum.at.+Previously configured by a fancy almost turing complete ini file, now simply hardcoded in [[https://​github.com/​realraum/​door_and_sensors/​blob/​master/​scripts/​dostuff_switch_lights.py| dostuff_switch_lights.py]] running on realraum@mqtt.realraum.at.
  
 | **Cause** | **Effect** | | **Cause** | **Effect** |
 | Niemand Anwesend | Alles Aus, Homepage Statusupdate | | Niemand Anwesend | Alles Aus, Homepage Statusupdate |
-| Anwesenheit erkanntVor Sonnenuntergang | Tesla einWarmwasserboiler einCX-GangLEDs einHomepage Statusupdate | +| Anwesenheit erkannt ​\\ Vor Sonnenuntergang | Tesla ein \\ Warmwasserboiler ein \\  ​CX-GangLEDs ein \\  ​Homepage Statusupdate | 
-| Anwesenheit erkanntNach Sonnenuntergang | 50% Deckenlichter einTesla einWarmwasserboiler einCX-GangLEDs einAbwaschlicht einLEDs bei Couch einBlaue Bar LEDS seinHomepage Statusupdate | +| Anwesenheit erkannt ​\\ Nach Sonnenuntergang | 50% Deckenlichter ein \\  ​Tesla ein \\  ​Warmwasserboiler ein \\  ​CX-GangLEDs ein \\  ​Abwaschlicht ein \\  ​LEDs bei Couch ein \\  ​Blaue Bar LEDS sein \\  ​Homepage Statusupdate | 
-| Anwesenheit gegebenSonnenuntergang | CX-GangLEDs ein | +| Anwesenheit gegeben ​\\ Sonnenuntergang | CX-GangLEDs ein | 
-| Anwesenheit gegebenSonnenaufgang | CX-GangLEDs aus |+| Anwesenheit gegeben ​\\ Sonnenaufgang | CX-GangLEDs aus |
 | Panic Button drücken| <​del>​Random Ein/Aus aller Lichter, Random Verstärker Mute</​del>,​ Glados: What are you doing, Statusupdate auf der Homepage| | Panic Button drücken| <​del>​Random Ein/Aus aller Lichter, Random Verstärker Mute</​del>,​ Glados: What are you doing, Statusupdate auf der Homepage|
  
Line 29: Line 46:
  
 realraum is littered with various sensors. As of 2015-11-21 they all communicate usinq [[http://​mqtt.org|MQTT]],​ an Internet-of-Things Machine2Machine Messaging protocol realraum is littered with various sensors. As of 2015-11-21 they all communicate usinq [[http://​mqtt.org|MQTT]],​ an Internet-of-Things Machine2Machine Messaging protocol
-using a central message broker running on mqtt.realraum.at (see [[:​ip-adressen]]) which in turn currently runs on a RaspberryPI2.+using a central message broker running on mqtt.realraum.at (see [[intern:​ip-adressen]]) which in turn currently runs on a RaspberryPI2.
  
-[[mqtt_topics|See List of MQTT topics]]+--> --> --> ​[[mqtt_topics|See List of MQTT topics]] ​ <- <- <- 
 + 
 +(includes pictures of participating nodes) 
 + 
 +--> --> --> [[dataflow|Graph of nodes and dataflow]] ​ <- <- <-
  
 ==== RF433 Transmitter ==== ==== RF433 Transmitter ====
Line 43: Line 64:
   - OOOllldd Arduino on top of the shelf which also hosts the stereo next to the frontdoor.   - OOOllldd Arduino on top of the shelf which also hosts the stereo next to the frontdoor.
  
-[[https://​github.com/​realraum/​deckenlichtschalter/​tree/​master/​linux/​golightctrl|golightctrl]] takes care that there they don't send simultaneously.+[[https://​github.com/​realraum/​deckenlichtschalter/​tree/​master/​linux/​golightctrl|golightctrl]] ​running on realraum@licht.realraum.at ​takes care that there they don't send simultaneously.
  
-==== Tür Hardware v1.8 State Diagramm ​====+==== Presence Decision and Related v2.====
  
-{{:xro:whiteboard_tuer_steuerung_v2.jpg?620|}}+The [[https://​github.com/​realraum/​door_and_sensors/​blob/​master/​r3-metaevt-maker/​presence.go|presence-meta-event-goroutine]] tries to diving if someone is present in realraum or not. Various scripts like [[https://github.com/​realraum/​door_and_sensors/​blob/​master/​scripts/​play-sound-status.py|play-sound-status.py]]((running on licht.realraum.at)) or [[https://​github.com/​realraum/​door_and_sensors/​blob/​master/​scripts/​dostuff_switch_lights.py|dostuff_switch_lights.py]]((running on mqtt.realraum.at)) use this information to, guess what, play sounds or toggle the lights or power to boiler and tesla.
  
 +{{:​roomauto:​presence_detection_algorithm.svg?​900|Anwesenheits-Entscheidung v2.0}}
  
-==== OLD Komponenten Skizze v1.0 ====+ ​{{:​roomauto:​presence_detection_algorithm.dia|Dia-Source}},​ {{xro:​presence_detection_algorithm.png?​20|Old Decision Algorithm}}
  
-{{xro:​doorpowersensordaemons.png?​620|}} 
  
 +==== Tür Hardware v1.8 State Diagramm ====
 +
 +{{:​xro:​whiteboard_tuer_steuerung_v2.jpg?​620|}}
  
-==== OLD Anwesenheits-Entscheidung v1.0 ==== +{{tag>​project licht homeautomatisation go mqtt}}
-still somewhat relevant +
-{{xro:​presence_detection_algorithm.png?​620|}}+
realraum Graz, Brockmanngasse 15, 8010 Graz, realraum - Verein für Technik in Kultur und Gesellschaft
  • /var/lib/dokuwiki/data/attic/roomauto/roomauto.1455906224.txt.gz
  • Last modified: 2016-02-19 19:23
  • by xro