Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Heizkörper nach Fenster steuern

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    836

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.6k

Heizkörper nach Fenster steuern

Geplant Angeheftet Gesperrt Verschoben Blockly
4 Beiträge 2 Kommentatoren 362 Aufrufe 1 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • A Offline
    A Offline
    adrian-c
    schrieb am zuletzt editiert von
    #1

    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>
    
    paul53P 1 Antwort Letzte Antwort
    0
    • A adrian-c

      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>
      
      paul53P Offline
      paul53P Offline
      paul53
      schrieb am zuletzt editiert von paul53
      #2

      @adrian-c
      Versuche es mal so:

      Blockly_temp.JPG

      <xml xmlns="https://developers.google.com/blockly/xml">
       <variables>
         <variable id="TU%]2q{ieoCPk=(uTLZg">sollwert</variable>
       </variables>
       <block type="on_ext" id="r}8_@`I?$%*,O-L;w2]b" x="-63" y="-196">
         <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="logic_operation" id="O4oV$P:dH5;yHPVsx$_[" inline="false">
                 <field name="OP">OR</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="get_value" id="vTJyj;AniVa7XHKVm9e)">
                     <field name="ATTR">val</field>
                     <field name="OID">deconz.0.Sensors.10.open</field>
                   </block>
                 </value>
               </block>
             </value>
             <statement name="DO0">
               <block type="controls_if" id="c/y=h-9ijaXlJ*iqZ7~l">
                 <value name="IF0">
                   <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>
                 <statement name="DO0">
                   <block type="variables_set" id="=05J6CwY9*ba1U.U#=)}">
                     <field name="VAR" id="TU%]2q{ieoCPk=(uTLZg">sollwert</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>
               </block>
             </statement>
             <statement name="ELSE">
               <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="logic_ternary" id="~*XrXjE#xj;s?FI8i0lz">
                     <value name="IF">
                       <block type="variables_get" id="PwE*yGbn1R=GA~p`|yPu">
                         <field name="VAR" id="TU%]2q{ieoCPk=(uTLZg">sollwert</field>
                       </block>
                     </value>
                     <value name="THEN">
                       <block type="variables_get" id="`lCoZ:7FoG^JF0!l6k9x">
                         <field name="VAR" id="TU%]2q{ieoCPk=(uTLZg">sollwert</field>
                       </block>
                     </value>
                     <value name="ELSE">
                       <block type="math_number" id="GGnz13N^nZ.ImKvW$dx_">
                         <field name="NUM">20</field>
                       </block>
                     </value>
                   </block>
                 </value>
               </block>
             </statement>
           </block>
         </statement>
       </block>
      </xml>
      

      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

      A 1 Antwort Letzte Antwort
      0
      • paul53P paul53

        @adrian-c
        Versuche es mal so:

        Blockly_temp.JPG

        <xml xmlns="https://developers.google.com/blockly/xml">
         <variables>
           <variable id="TU%]2q{ieoCPk=(uTLZg">sollwert</variable>
         </variables>
         <block type="on_ext" id="r}8_@`I?$%*,O-L;w2]b" x="-63" y="-196">
           <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="logic_operation" id="O4oV$P:dH5;yHPVsx$_[" inline="false">
                   <field name="OP">OR</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="get_value" id="vTJyj;AniVa7XHKVm9e)">
                       <field name="ATTR">val</field>
                       <field name="OID">deconz.0.Sensors.10.open</field>
                     </block>
                   </value>
                 </block>
               </value>
               <statement name="DO0">
                 <block type="controls_if" id="c/y=h-9ijaXlJ*iqZ7~l">
                   <value name="IF0">
                     <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>
                   <statement name="DO0">
                     <block type="variables_set" id="=05J6CwY9*ba1U.U#=)}">
                       <field name="VAR" id="TU%]2q{ieoCPk=(uTLZg">sollwert</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>
                 </block>
               </statement>
               <statement name="ELSE">
                 <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="logic_ternary" id="~*XrXjE#xj;s?FI8i0lz">
                       <value name="IF">
                         <block type="variables_get" id="PwE*yGbn1R=GA~p`|yPu">
                           <field name="VAR" id="TU%]2q{ieoCPk=(uTLZg">sollwert</field>
                         </block>
                       </value>
                       <value name="THEN">
                         <block type="variables_get" id="`lCoZ:7FoG^JF0!l6k9x">
                           <field name="VAR" id="TU%]2q{ieoCPk=(uTLZg">sollwert</field>
                         </block>
                       </value>
                       <value name="ELSE">
                         <block type="math_number" id="GGnz13N^nZ.ImKvW$dx_">
                           <field name="NUM">20</field>
                         </block>
                       </value>
                     </block>
                   </value>
                 </block>
               </statement>
             </block>
           </statement>
         </block>
        </xml>
        

        A Offline
        A Offline
        adrian-c
        schrieb am zuletzt editiert von adrian-c
        #3

        @paul53 mega, danke!!!! Ich habe es nach deiner ersten Version probiert, funktioniert sehr gut.

        • okay, die 20Grad sind dann sicher eine Art „Ersatzwert“, korrekt?
        paul53P 1 Antwort Letzte Antwort
        0
        • A adrian-c

          @paul53 mega, danke!!!! Ich habe es nach deiner ersten Version probiert, funktioniert sehr gut.

          • okay, die 20Grad sind dann sicher eine Art „Ersatzwert“, korrekt?
          paul53P Offline
          paul53P Offline
          paul53
          schrieb am zuletzt editiert von
          #4

          @adrian-c sagte: die 20Grad sind dann sicher eine Art „Ersatzwert“, korrekt?

          Ja, für den Fall, dass das Skript gestartet wird, wenn ein Fenster offen ist und danach das Fenster geschlossen wird.

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          1 Antwort Letzte Antwort
          0

          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
          Antworten
          • In einem neuen Thema antworten
          Anmelden zum Antworten
          • Älteste zuerst
          • Neuste zuerst
          • Meiste Stimmen


          Support us

          ioBroker
          Community Adapters
          Donate

          430

          Online

          32.8k

          Benutzer

          82.7k

          Themen

          1.3m

          Beiträge
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
          ioBroker Community 2014-2025
          logo
          • Anmelden

          • Du hast noch kein Konto? Registrieren

          • Anmelden oder registrieren, um zu suchen
          • Erster Beitrag
            Letzter Beitrag
          0
          • Home
          • Aktuell
          • Tags
          • Ungelesen 0
          • Kategorien
          • Unreplied
          • Beliebt
          • GitHub
          • Docu
          • Hilfe