roomauto:roomauto

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 18:12] xroroomauto:roomauto [2025-11-09 09:25] (current) – external edit 127.0.0.1
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 15: Line 32:
  
 === 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 realraum@mqtt.realraum.at.
 +
 | **Cause** | **Effect** | | **Cause** | **Effect** |
 | Niemand Anwesend | Alles Aus, Homepage Statusupdate | | Niemand Anwesend | Alles Aus, Homepage Statusupdate |
-| Anwesenheit erkanntVor Sonnenuntergang, Innenraum hell Werkzeugbeleuchtung ein, Verstärker einHomepage Statusupdate | +| Anwesenheit erkannt \\ Vor Sonnenuntergang | Tesla ein \\ Warmwasserboiler ein \\  CX-GangLEDs ein \\  Homepage Statusupdate | 
-| Anwesenheit erkannt, Vor Sonnenuntergang, Innenraum dunkel | Deckenlichter ein, Werkzeugbeleuchtung ein, Verstärker einHomepage 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 erkannt, Nach Sonnenuntergang | Nicht-Deckenlichter ein, Verstärker ein, Homepage Statusupdate+| Anwesenheit gegeben \\ Sonnenuntergang | CX-GangLEDs ein | 
-Wandschalter BetätigenDeckenlichter Ein/Aus+Anwesenheit gegeben \\ Sonnenaufgang CX-GangLEDs aus 
-| Panic Button gedrückt| <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|
  
 ==== Sensors and Dataflow ==== ==== Sensors and Dataflow ====
  
 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 40: 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|}}+
  • /srv/dokuwiki/data/attic/roomauto/roomauto.1455905565.txt.gz
  • Last modified: 2025-11-09 09:24
  • (external edit)