NEWS
Heizkörper nach Fenster steuern
-
Hallo, sicherlich wurde das Thema bereits behandelt. Ich finde es jedoch nirgends. Leider bin ich Anfänger und scheitere irgendwie an einer Verknüpfung. Ich habe sicherlich einen Denkfehler.
Ich Möchte:
Wenn eines der zwei Fenster geöffnet ist, regelt sich das Thermostat auf 10°C, werden Beide Fenster geschlossen, regelt sich das Thermostat auf die letzt eingestellte Temperatur (das hatte ich mit einem eigenen Datenpunkt, der geschrieben wird, umgesetzt).
Irgendwie bekomme ich die Verknüpfung nicht hin, dass das Thermostat erst fährt, wenn beide Fenster geschlossen sind.
Hier mein Blockly - bitte nicht lachen

Danke für Eure Hilfe.
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="r}8_@`I?$%*,O-L;w2]b" x="-62" y="-312"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="J3hGgkY5NI2Z0w;T~c}F"> <field name="oid">deconz.0.Sensors.3.open</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="-I7xDU0Sn~xm`7L1vnIP"> <field name="oid">deconz.0.Sensors.10.open</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="M3}s*{i,927;i8p=tb1("> <mutation else="1"></mutation> <value name="IF0"> <block type="on_source" id="p{O%QtaYAoX:E~#q.5wt"> <field name="ATTR">state.val</field> </block> </value> <statement name="DO0"> <block type="controls_if" id="c/y=h-9ijaXlJ*iqZ7~l"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="dOeLOm(o{^hc_P^T|g@X" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Mj9Nh,SwY/xqhm#}S0Yg"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="5)`nIBR_+7bn(tXg^AWp"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> </block> </value> <value name="B"> <block type="math_number" id="h`fBr)|@-~pAWY_[4-%2"> <field name="NUM">10</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="O4oV$P:dH5;yHPVsx$_["> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="i;HyEsNeWUKZvww:r4Gf"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="$^4pV_$`qRYqr0ErzSt)"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.3.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="3#D0XI`FE$M[Vg[?g?3V"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="@Dje`Ucw0#VND[y.Kvcs"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="vTJyj;AniVa7XHKVm9e)"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.10.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="]hYZ8biG(VyAsgy_My;Q"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="c0W^5f%-^:O3(95$k~$x"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenobjekte.Heizung.Heizung_Milan</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="LQP+]EdXz24s1({58a)A"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> </block> </value> <next> <block type="control" id="O8^w^;(ppG(Ef:xb3ikC"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="5YwUK;n0vS;J!I*ny8,C"> <field name="NUM">10</field> </block> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="t`/i-t^(Y!1#9$Gp#?hb"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="c/JvO-ovW}W`xY~(g6IK"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="4J|78]V%J:s:dBVC$`yx"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.3.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id=",zuJzX{7gEcdyoh!3^uM"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="{{;5T5?#Xpr!3ABEUxi^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=",3ACA:r#+|4Hy9S~Nsw7"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.10.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="bI$D^(yvQB_JeJH.6n5w"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="AuYe9wD6ZiSi{NMR#Hxk"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="NVnFy!%mf22KGg~fQVE;"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenobjekte.Heizung.Heizung_Milan</field> </block> </value> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="controls_if" id="va_=j=3PeFwYvsu@f02x"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="%J`Xzy$a{]x7L--v*S_8" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Q$G34JUxNZGhEXVe!=HY"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="z;;/f]s5!Rb_VL8mh_Y#"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> </block> </value> <value name="B"> <block type="math_number" id=";M=S_3a|+f5gn;9rJnPc"> <field name="NUM">10</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="/N/1zI(08A5Xp[QKF7g*"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="pePfKa[yjSY]KoJn=W*B"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="p2N;l(7bnX%$2m0#Xl2s"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.3.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="!JCPM[2=/U@4igf)Pes~"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="gBp@/U[GaO5*{h_hiB3Z"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="y:2fQZu#++o=*eGAv|Sr"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.10.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="4.}O5K1t6KC2]:r}6uE,"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="*s-F$ZQt`h}-Yjo:UQlP"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="iLdzpc%I1,~f~yWu_+`_"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenobjekte.Heizung.Heizung_Milan</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_operation" id="#d$yT,r?@8)eQ0@M;ZTC"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id=";2n[S`U0;YcOl1EU^t{z"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="hM/W{Su{)3-#J0{(mdJI"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.3.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="`w9FhY6ii%Y!UaWa#~bA"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="q`{ow%5Iy/yq=OmcrTc{"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="uKab/e=UI:(n/ZA.}|V}"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.10.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="4n)mXr75-kfPO%ctP3HW"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="L|Q.`$#;+d{[#s^JLe)b"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="UJT}.V,3?tZ2}aT$,rDv"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenobjekte.Heizung.Heizung_Milan</field> </block> </value> </block> </statement> </block> </statement> </block> </statement> </block> <block type="on_source" id="em:P:3)SmM]^X:Gn/CvJ" x="79" y="113"> <field name="ATTR">state.val</field> </block> </xml> -
Hallo, sicherlich wurde das Thema bereits behandelt. Ich finde es jedoch nirgends. Leider bin ich Anfänger und scheitere irgendwie an einer Verknüpfung. Ich habe sicherlich einen Denkfehler.
Ich Möchte:
Wenn eines der zwei Fenster geöffnet ist, regelt sich das Thermostat auf 10°C, werden Beide Fenster geschlossen, regelt sich das Thermostat auf die letzt eingestellte Temperatur (das hatte ich mit einem eigenen Datenpunkt, der geschrieben wird, umgesetzt).
Irgendwie bekomme ich die Verknüpfung nicht hin, dass das Thermostat erst fährt, wenn beide Fenster geschlossen sind.
Hier mein Blockly - bitte nicht lachen

Danke für Eure Hilfe.
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="r}8_@`I?$%*,O-L;w2]b" x="-62" y="-312"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="J3hGgkY5NI2Z0w;T~c}F"> <field name="oid">deconz.0.Sensors.3.open</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="-I7xDU0Sn~xm`7L1vnIP"> <field name="oid">deconz.0.Sensors.10.open</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="M3}s*{i,927;i8p=tb1("> <mutation else="1"></mutation> <value name="IF0"> <block type="on_source" id="p{O%QtaYAoX:E~#q.5wt"> <field name="ATTR">state.val</field> </block> </value> <statement name="DO0"> <block type="controls_if" id="c/y=h-9ijaXlJ*iqZ7~l"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="dOeLOm(o{^hc_P^T|g@X" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Mj9Nh,SwY/xqhm#}S0Yg"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="5)`nIBR_+7bn(tXg^AWp"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> </block> </value> <value name="B"> <block type="math_number" id="h`fBr)|@-~pAWY_[4-%2"> <field name="NUM">10</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="O4oV$P:dH5;yHPVsx$_["> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="i;HyEsNeWUKZvww:r4Gf"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="$^4pV_$`qRYqr0ErzSt)"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.3.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="3#D0XI`FE$M[Vg[?g?3V"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="@Dje`Ucw0#VND[y.Kvcs"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="vTJyj;AniVa7XHKVm9e)"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.10.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="]hYZ8biG(VyAsgy_My;Q"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="c0W^5f%-^:O3(95$k~$x"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenobjekte.Heizung.Heizung_Milan</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="LQP+]EdXz24s1({58a)A"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> </block> </value> <next> <block type="control" id="O8^w^;(ppG(Ef:xb3ikC"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="5YwUK;n0vS;J!I*ny8,C"> <field name="NUM">10</field> </block> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="t`/i-t^(Y!1#9$Gp#?hb"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="c/JvO-ovW}W`xY~(g6IK"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="4J|78]V%J:s:dBVC$`yx"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.3.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id=",zuJzX{7gEcdyoh!3^uM"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="{{;5T5?#Xpr!3ABEUxi^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=",3ACA:r#+|4Hy9S~Nsw7"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.10.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="bI$D^(yvQB_JeJH.6n5w"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="AuYe9wD6ZiSi{NMR#Hxk"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="NVnFy!%mf22KGg~fQVE;"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenobjekte.Heizung.Heizung_Milan</field> </block> </value> </block> </statement> </block> </statement> <statement name="ELSE"> <block type="controls_if" id="va_=j=3PeFwYvsu@f02x"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="%J`Xzy$a{]x7L--v*S_8" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Q$G34JUxNZGhEXVe!=HY"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="z;;/f]s5!Rb_VL8mh_Y#"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> </block> </value> <value name="B"> <block type="math_number" id=";M=S_3a|+f5gn;9rJnPc"> <field name="NUM">10</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="/N/1zI(08A5Xp[QKF7g*"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="pePfKa[yjSY]KoJn=W*B"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="p2N;l(7bnX%$2m0#Xl2s"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.3.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="!JCPM[2=/U@4igf)Pes~"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="gBp@/U[GaO5*{h_hiB3Z"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="y:2fQZu#++o=*eGAv|Sr"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.10.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="4.}O5K1t6KC2]:r}6uE,"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="*s-F$ZQt`h}-Yjo:UQlP"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="iLdzpc%I1,~f~yWu_+`_"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenobjekte.Heizung.Heizung_Milan</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_operation" id="#d$yT,r?@8)eQ0@M;ZTC"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id=";2n[S`U0;YcOl1EU^t{z"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="hM/W{Su{)3-#J0{(mdJI"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.3.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="`w9FhY6ii%Y!UaWa#~bA"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="q`{ow%5Iy/yq=OmcrTc{"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="uKab/e=UI:(n/ZA.}|V}"> <field name="ATTR">val</field> <field name="OID">deconz.0.Sensors.10.open</field> </block> </value> <value name="B"> <block type="logic_boolean" id="4n)mXr75-kfPO%ctP3HW"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="L|Q.`$#;+d{[#s^JLe)b"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">deconz.0.Sensors.4.heatsetpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="UJT}.V,3?tZ2}aT$,rDv"> <field name="ATTR">val</field> <field name="OID">javascript.0.Eigene_Datenobjekte.Heizung.Heizung_Milan</field> </block> </value> </block> </statement> </block> </statement> </block> </statement> </block> <block type="on_source" id="em:P:3)SmM]^X:Gn/CvJ" x="79" y="113"> <field name="ATTR">state.val</field> </block> </xml> -
@paul53 mega, danke!!!! Ich habe es nach deiner ersten Version probiert, funktioniert sehr gut.
- okay, die 20Grad sind dann sicher eine Art „Ersatzwert“, korrekt?
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden
