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. [Gelöst] Blockly BWM Ikea Tradfri

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    314

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    9
    1
    290

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

[Gelöst] Blockly BWM Ikea Tradfri

Geplant Angeheftet Gesperrt Verschoben Blockly
blockly
5 Beiträge 3 Kommentatoren 428 Aufrufe 2 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.
  • M Offline
    M Offline
    MikeMike
    schrieb am zuletzt editiert von MikeMike
    #1

    Guten Abend zusammen!

    Ich versuche mich an einem eigentlich ganz einfachen Blockly...dachte ich. Bedingungen sollen folgende sein.
    Sonnenuntergang-Anfang = Licht einschalten
    23:00 Uhr Licht aus und nur noch Licht wenn Bewegung für eine Minute

    Wenn ich das Licht jetzt einschalte geht es immer nach einer Minute aus. Kann mir jemand sagen warum?!

    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable type="timeout" id="timeout">timeout</variable>
      </variables>
      <block type="astro" id="YiybF$G?JqW;8K9~;(`d" x="238" y="88">
        <field name="TYPE">sunsetStart</field>
        <field name="OFFSET">0</field>
        <statement name="STATEMENT">
          <block type="control" id="H..iSyW/3kWnaJ=?K1+D">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
              <block type="logic_boolean" id="J@zddD(kg{2ruq6cXF[B">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="schedule" id="h^{UMV[](/FAkbHDKT]`">
            <field name="SCHEDULE">0 23 * * *</field>
            <statement name="STATEMENT">
              <block type="control" id="VILCK:{!bn.|a1.{18H%">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id=",(0gmt{B9%m=zo+9GyCf">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="on_ext" id="rOW+2vL1x_pL`d!wcFat">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                <field name="CONDITION">any</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="KgGi%xH)Vv$jIN0N:0k8">
                    <field name="oid">zigbee.0.000b57fffe2d59fe.occupancy</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="timeouts_cleartimeout" id="`:3%NmPAxlZGjzol79-X">
                    <field name="NAME">timeout</field>
                    <next>
                      <block type="controls_if" id="ERKn}b(9ZhdA9S4!I}5|">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_operation" id="GVEEK]r97x290,_4Hc3:" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="time_compare_ex" id="aUIJib0d+bQ[hBxf+u60">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                <field name="USE_ACTUAL_TIME">TRUE</field>
                                <field name="OPTION">not between</field>
                                <value name="START_TIME">
                                  <shadow type="text" id="e.7eivrNn]JVZBY[R%ic">
                                    <field name="TEXT">23:00</field>
                                  </shadow>
                                  <block type="time_astro" id="_TZ8goTCA?HW/Buik,a/">
                                    <field name="TYPE">sunrise</field>
                                    <field name="OFFSET">0</field>
                                  </block>
                                </value>
                                <value name="END_TIME">
                                  <shadow type="text" id="kJNpc)riW}D-daniJL;R">
                                    <field name="TEXT">23:00</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_operation" id="fNROtp6uv3j.aX-9W5/=" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="P_bF6cM:W.a}n.2XKtr@">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="^~|3@27Uhvf/a=|so1iQ">
                                        <field name="ATTR">val</field>
                                        <field name="OID">zigbee.0.000b57fffe2d59fe.occupancy</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="q^r`%3$)].)8deQCCS7^">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id=")v7w|.6U3.Ogk*Clk,3e">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="kJgpv$HAOPZ*_CvZC{3o">
                                        <field name="ATTR">val</field>
                                        <field name="OID">zigbee.0.00158d00052dd8d1.opened</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="O4BuvGN+#`;T]GAys=!:">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="~x/.C6dvvQ3A+3=8iAQ?">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="o~{:l2Fx}oq0W6x$Dj_j">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="timeouts_settimeout" id="A#idymOJvRQP!-|n`hu7">
                            <field name="NAME">timeout</field>
                            <field name="DELAY">1</field>
                            <field name="UNIT">min</field>
                            <statement name="STATEMENT">
                              <block type="control" id="*Ys2-!fk(eF0LGsFQ/nW">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="1QCvK[Fe)xeT~1(m~Og-">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </xml>
    
    K paul53P 2 Antworten Letzte Antwort
    0
    • M MikeMike

      Guten Abend zusammen!

      Ich versuche mich an einem eigentlich ganz einfachen Blockly...dachte ich. Bedingungen sollen folgende sein.
      Sonnenuntergang-Anfang = Licht einschalten
      23:00 Uhr Licht aus und nur noch Licht wenn Bewegung für eine Minute

      Wenn ich das Licht jetzt einschalte geht es immer nach einer Minute aus. Kann mir jemand sagen warum?!

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable type="timeout" id="timeout">timeout</variable>
        </variables>
        <block type="astro" id="YiybF$G?JqW;8K9~;(`d" x="238" y="88">
          <field name="TYPE">sunsetStart</field>
          <field name="OFFSET">0</field>
          <statement name="STATEMENT">
            <block type="control" id="H..iSyW/3kWnaJ=?K1+D">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
                <block type="logic_boolean" id="J@zddD(kg{2ruq6cXF[B">
                  <field name="BOOL">TRUE</field>
                </block>
              </value>
            </block>
          </statement>
          <next>
            <block type="schedule" id="h^{UMV[](/FAkbHDKT]`">
              <field name="SCHEDULE">0 23 * * *</field>
              <statement name="STATEMENT">
                <block type="control" id="VILCK:{!bn.|a1.{18H%">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id=",(0gmt{B9%m=zo+9GyCf">
                      <field name="BOOL">FALSE</field>
                    </block>
                  </value>
                </block>
              </statement>
              <next>
                <block type="on_ext" id="rOW+2vL1x_pL`d!wcFat">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                  <field name="CONDITION">any</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id="KgGi%xH)Vv$jIN0N:0k8">
                      <field name="oid">zigbee.0.000b57fffe2d59fe.occupancy</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="timeouts_cleartimeout" id="`:3%NmPAxlZGjzol79-X">
                      <field name="NAME">timeout</field>
                      <next>
                        <block type="controls_if" id="ERKn}b(9ZhdA9S4!I}5|">
                          <mutation else="1"></mutation>
                          <value name="IF0">
                            <block type="logic_operation" id="GVEEK]r97x290,_4Hc3:" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="time_compare_ex" id="aUIJib0d+bQ[hBxf+u60">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                  <field name="USE_ACTUAL_TIME">TRUE</field>
                                  <field name="OPTION">not between</field>
                                  <value name="START_TIME">
                                    <shadow type="text" id="e.7eivrNn]JVZBY[R%ic">
                                      <field name="TEXT">23:00</field>
                                    </shadow>
                                    <block type="time_astro" id="_TZ8goTCA?HW/Buik,a/">
                                      <field name="TYPE">sunrise</field>
                                      <field name="OFFSET">0</field>
                                    </block>
                                  </value>
                                  <value name="END_TIME">
                                    <shadow type="text" id="kJNpc)riW}D-daniJL;R">
                                      <field name="TEXT">23:00</field>
                                    </shadow>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_operation" id="fNROtp6uv3j.aX-9W5/=" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="P_bF6cM:W.a}n.2XKtr@">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="^~|3@27Uhvf/a=|so1iQ">
                                          <field name="ATTR">val</field>
                                          <field name="OID">zigbee.0.000b57fffe2d59fe.occupancy</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="q^r`%3$)].)8deQCCS7^">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id=")v7w|.6U3.Ogk*Clk,3e">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="kJgpv$HAOPZ*_CvZC{3o">
                                          <field name="ATTR">val</field>
                                          <field name="OID">zigbee.0.00158d00052dd8d1.opened</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="O4BuvGN+#`;T]GAys=!:">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="~x/.C6dvvQ3A+3=8iAQ?">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="o~{:l2Fx}oq0W6x$Dj_j">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <statement name="ELSE">
                            <block type="timeouts_settimeout" id="A#idymOJvRQP!-|n`hu7">
                              <field name="NAME">timeout</field>
                              <field name="DELAY">1</field>
                              <field name="UNIT">min</field>
                              <statement name="STATEMENT">
                                <block type="control" id="*Ys2-!fk(eF0LGsFQ/nW">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="1QCvK[Fe)xeT~1(m~Og-">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      
      K Offline
      K Offline
      Kusi
      schrieb am zuletzt editiert von Kusi
      #2

      Meine Anfrage hat sich erledigt.

      1 Antwort Letzte Antwort
      0
      • M MikeMike

        Guten Abend zusammen!

        Ich versuche mich an einem eigentlich ganz einfachen Blockly...dachte ich. Bedingungen sollen folgende sein.
        Sonnenuntergang-Anfang = Licht einschalten
        23:00 Uhr Licht aus und nur noch Licht wenn Bewegung für eine Minute

        Wenn ich das Licht jetzt einschalte geht es immer nach einer Minute aus. Kann mir jemand sagen warum?!

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable type="timeout" id="timeout">timeout</variable>
          </variables>
          <block type="astro" id="YiybF$G?JqW;8K9~;(`d" x="238" y="88">
            <field name="TYPE">sunsetStart</field>
            <field name="OFFSET">0</field>
            <statement name="STATEMENT">
              <block type="control" id="H..iSyW/3kWnaJ=?K1+D">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="J@zddD(kg{2ruq6cXF[B">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="schedule" id="h^{UMV[](/FAkbHDKT]`">
                <field name="SCHEDULE">0 23 * * *</field>
                <statement name="STATEMENT">
                  <block type="control" id="VILCK:{!bn.|a1.{18H%">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id=",(0gmt{B9%m=zo+9GyCf">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="on_ext" id="rOW+2vL1x_pL`d!wcFat">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                    <field name="CONDITION">any</field>
                    <field name="ACK_CONDITION"></field>
                    <value name="OID0">
                      <shadow type="field_oid" id="KgGi%xH)Vv$jIN0N:0k8">
                        <field name="oid">zigbee.0.000b57fffe2d59fe.occupancy</field>
                      </shadow>
                    </value>
                    <statement name="STATEMENT">
                      <block type="timeouts_cleartimeout" id="`:3%NmPAxlZGjzol79-X">
                        <field name="NAME">timeout</field>
                        <next>
                          <block type="controls_if" id="ERKn}b(9ZhdA9S4!I}5|">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_operation" id="GVEEK]r97x290,_4Hc3:" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="time_compare_ex" id="aUIJib0d+bQ[hBxf+u60">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">not between</field>
                                    <value name="START_TIME">
                                      <shadow type="text" id="e.7eivrNn]JVZBY[R%ic">
                                        <field name="TEXT">23:00</field>
                                      </shadow>
                                      <block type="time_astro" id="_TZ8goTCA?HW/Buik,a/">
                                        <field name="TYPE">sunrise</field>
                                        <field name="OFFSET">0</field>
                                      </block>
                                    </value>
                                    <value name="END_TIME">
                                      <shadow type="text" id="kJNpc)riW}D-daniJL;R">
                                        <field name="TEXT">23:00</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_operation" id="fNROtp6uv3j.aX-9W5/=" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="P_bF6cM:W.a}n.2XKtr@">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="^~|3@27Uhvf/a=|so1iQ">
                                            <field name="ATTR">val</field>
                                            <field name="OID">zigbee.0.000b57fffe2d59fe.occupancy</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="q^r`%3$)].)8deQCCS7^">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id=")v7w|.6U3.Ogk*Clk,3e">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="kJgpv$HAOPZ*_CvZC{3o">
                                            <field name="ATTR">val</field>
                                            <field name="OID">zigbee.0.00158d00052dd8d1.opened</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="O4BuvGN+#`;T]GAys=!:">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="~x/.C6dvvQ3A+3=8iAQ?">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="o~{:l2Fx}oq0W6x$Dj_j">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="timeouts_settimeout" id="A#idymOJvRQP!-|n`hu7">
                                <field name="NAME">timeout</field>
                                <field name="DELAY">1</field>
                                <field name="UNIT">min</field>
                                <statement name="STATEMENT">
                                  <block type="control" id="*Ys2-!fk(eF0LGsFQ/nW">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="1QCvK[Fe)xeT~1(m~Og-">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </xml>
        
        paul53P Offline
        paul53P Offline
        paul53
        schrieb am zuletzt editiert von paul53
        #3

        @mikemike
        Versuche es mal so:

        Bild_2021-05-25_212714.png

        <xml xmlns="https://developers.google.com/blockly/xml">
         <variables>
           <variable type="timeout" id="timeout">timeout</variable>
         </variables>
         <block type="astro" id="YiybF$G?JqW;8K9~;(`d" x="238" y="88">
           <field name="TYPE">sunsetStart</field>
           <field name="OFFSET">0</field>
           <statement name="STATEMENT">
             <block type="control" id="H..iSyW/3kWnaJ=?K1+D">
               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
               <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
               <field name="WITH_DELAY">FALSE</field>
               <value name="VALUE">
                 <block type="logic_boolean" id="J@zddD(kg{2ruq6cXF[B">
                   <field name="BOOL">TRUE</field>
                 </block>
               </value>
             </block>
           </statement>
           <next>
             <block type="schedule" id="h^{UMV[](/FAkbHDKT]`">
               <field name="SCHEDULE">0 23 * * *</field>
               <statement name="STATEMENT">
                 <block type="control" id="VILCK:{!bn.|a1.{18H%">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                   <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                   <field name="WITH_DELAY">FALSE</field>
                   <value name="VALUE">
                     <block type="logic_boolean" id=",(0gmt{B9%m=zo+9GyCf">
                       <field name="BOOL">FALSE</field>
                     </block>
                   </value>
                 </block>
               </statement>
               <next>
                 <block type="on_ext" id="rOW+2vL1x_pL`d!wcFat">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                   <field name="CONDITION">ne</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id="KgGi%xH)Vv$jIN0N:0k8">
                       <field name="oid">zigbee.0.000b57fffe2d59fe.occupancy</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="controls_if" id="u}}oqvyZ]qc_O$b/;:os">
                       <value name="IF0">
                         <block type="time_compare_ex" id="aUIJib0d+bQ[hBxf+u60">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                           <field name="USE_ACTUAL_TIME">TRUE</field>
                           <field name="OPTION">not between</field>
                           <value name="START_TIME">
                             <shadow type="text" id="e.7eivrNn]JVZBY[R%ic">
                               <field name="TEXT">23:00</field>
                             </shadow>
                             <block type="time_astro" id="_TZ8goTCA?HW/Buik,a/">
                               <field name="TYPE">sunrise</field>
                               <field name="OFFSET">0</field>
                             </block>
                           </value>
                           <value name="END_TIME">
                             <shadow type="text" id="kJNpc)riW}D-daniJL;R">
                               <field name="TEXT">23:00</field>
                             </shadow>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="controls_if" id="ERKn}b(9ZhdA9S4!I}5|">
                           <mutation else="1"></mutation>
                           <value name="IF0">
                             <block type="on_source" id="EH3#5#*DM$FD~VcHD2mR">
                               <field name="ATTR">state.val</field>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="timeouts_cleartimeout" id="`:3%NmPAxlZGjzol79-X">
                               <field name="NAME">timeout</field>
                               <next>
                                 <block type="control" id="~x/.C6dvvQ3A+3=8iAQ?">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="o~{:l2Fx}oq0W6x$Dj_j">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <statement name="ELSE">
                             <block type="timeouts_settimeout" id="A#idymOJvRQP!-|n`hu7">
                               <field name="NAME">timeout</field>
                               <field name="DELAY">1</field>
                               <field name="UNIT">min</field>
                               <statement name="STATEMENT">
                                 <block type="control" id="*Ys2-!fk(eF0LGsFQ/nW">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="1QCvK[Fe)xeT~1(m~Og-">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                       </statement>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </next>
         </block>
        </xml>
        

        Was hat es mit dem Datenpunkt "open" auf sich?

        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

        M 2 Antworten Letzte Antwort
        0
        • paul53P paul53

          @mikemike
          Versuche es mal so:

          Bild_2021-05-25_212714.png

          <xml xmlns="https://developers.google.com/blockly/xml">
           <variables>
             <variable type="timeout" id="timeout">timeout</variable>
           </variables>
           <block type="astro" id="YiybF$G?JqW;8K9~;(`d" x="238" y="88">
             <field name="TYPE">sunsetStart</field>
             <field name="OFFSET">0</field>
             <statement name="STATEMENT">
               <block type="control" id="H..iSyW/3kWnaJ=?K1+D">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                 <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                 <field name="WITH_DELAY">FALSE</field>
                 <value name="VALUE">
                   <block type="logic_boolean" id="J@zddD(kg{2ruq6cXF[B">
                     <field name="BOOL">TRUE</field>
                   </block>
                 </value>
               </block>
             </statement>
             <next>
               <block type="schedule" id="h^{UMV[](/FAkbHDKT]`">
                 <field name="SCHEDULE">0 23 * * *</field>
                 <statement name="STATEMENT">
                   <block type="control" id="VILCK:{!bn.|a1.{18H%">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                     <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                     <field name="WITH_DELAY">FALSE</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id=",(0gmt{B9%m=zo+9GyCf">
                         <field name="BOOL">FALSE</field>
                       </block>
                     </value>
                   </block>
                 </statement>
                 <next>
                   <block type="on_ext" id="rOW+2vL1x_pL`d!wcFat">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                     <field name="CONDITION">ne</field>
                     <field name="ACK_CONDITION"></field>
                     <value name="OID0">
                       <shadow type="field_oid" id="KgGi%xH)Vv$jIN0N:0k8">
                         <field name="oid">zigbee.0.000b57fffe2d59fe.occupancy</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="u}}oqvyZ]qc_O$b/;:os">
                         <value name="IF0">
                           <block type="time_compare_ex" id="aUIJib0d+bQ[hBxf+u60">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                             <field name="USE_ACTUAL_TIME">TRUE</field>
                             <field name="OPTION">not between</field>
                             <value name="START_TIME">
                               <shadow type="text" id="e.7eivrNn]JVZBY[R%ic">
                                 <field name="TEXT">23:00</field>
                               </shadow>
                               <block type="time_astro" id="_TZ8goTCA?HW/Buik,a/">
                                 <field name="TYPE">sunrise</field>
                                 <field name="OFFSET">0</field>
                               </block>
                             </value>
                             <value name="END_TIME">
                               <shadow type="text" id="kJNpc)riW}D-daniJL;R">
                                 <field name="TEXT">23:00</field>
                               </shadow>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="controls_if" id="ERKn}b(9ZhdA9S4!I}5|">
                             <mutation else="1"></mutation>
                             <value name="IF0">
                               <block type="on_source" id="EH3#5#*DM$FD~VcHD2mR">
                                 <field name="ATTR">state.val</field>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="timeouts_cleartimeout" id="`:3%NmPAxlZGjzol79-X">
                                 <field name="NAME">timeout</field>
                                 <next>
                                   <block type="control" id="~x/.C6dvvQ3A+3=8iAQ?">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="logic_boolean" id="o~{:l2Fx}oq0W6x$Dj_j">
                                         <field name="BOOL">TRUE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                             <statement name="ELSE">
                               <block type="timeouts_settimeout" id="A#idymOJvRQP!-|n`hu7">
                                 <field name="NAME">timeout</field>
                                 <field name="DELAY">1</field>
                                 <field name="UNIT">min</field>
                                 <statement name="STATEMENT">
                                   <block type="control" id="*Ys2-!fk(eF0LGsFQ/nW">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="logic_boolean" id="1QCvK[Fe)xeT~1(m~Og-">
                                         <field name="BOOL">FALSE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                               </block>
                             </statement>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                 </next>
               </block>
             </next>
           </block>
          </xml>
          

          Was hat es mit dem Datenpunkt "open" auf sich?

          M Offline
          M Offline
          MikeMike
          schrieb am zuletzt editiert von
          #4

          @paul53
          Hinter dem Datenpunkt "open" verbirgt sich ein Fensterkontaktschalter.

          1 Antwort Letzte Antwort
          0
          • paul53P paul53

            @mikemike
            Versuche es mal so:

            Bild_2021-05-25_212714.png

            <xml xmlns="https://developers.google.com/blockly/xml">
             <variables>
               <variable type="timeout" id="timeout">timeout</variable>
             </variables>
             <block type="astro" id="YiybF$G?JqW;8K9~;(`d" x="238" y="88">
               <field name="TYPE">sunsetStart</field>
               <field name="OFFSET">0</field>
               <statement name="STATEMENT">
                 <block type="control" id="H..iSyW/3kWnaJ=?K1+D">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                   <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                   <field name="WITH_DELAY">FALSE</field>
                   <value name="VALUE">
                     <block type="logic_boolean" id="J@zddD(kg{2ruq6cXF[B">
                       <field name="BOOL">TRUE</field>
                     </block>
                   </value>
                 </block>
               </statement>
               <next>
                 <block type="schedule" id="h^{UMV[](/FAkbHDKT]`">
                   <field name="SCHEDULE">0 23 * * *</field>
                   <statement name="STATEMENT">
                     <block type="control" id="VILCK:{!bn.|a1.{18H%">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id=",(0gmt{B9%m=zo+9GyCf">
                           <field name="BOOL">FALSE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <next>
                     <block type="on_ext" id="rOW+2vL1x_pL`d!wcFat">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                       <field name="CONDITION">ne</field>
                       <field name="ACK_CONDITION"></field>
                       <value name="OID0">
                         <shadow type="field_oid" id="KgGi%xH)Vv$jIN0N:0k8">
                           <field name="oid">zigbee.0.000b57fffe2d59fe.occupancy</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="u}}oqvyZ]qc_O$b/;:os">
                           <value name="IF0">
                             <block type="time_compare_ex" id="aUIJib0d+bQ[hBxf+u60">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                               <field name="USE_ACTUAL_TIME">TRUE</field>
                               <field name="OPTION">not between</field>
                               <value name="START_TIME">
                                 <shadow type="text" id="e.7eivrNn]JVZBY[R%ic">
                                   <field name="TEXT">23:00</field>
                                 </shadow>
                                 <block type="time_astro" id="_TZ8goTCA?HW/Buik,a/">
                                   <field name="TYPE">sunrise</field>
                                   <field name="OFFSET">0</field>
                                 </block>
                               </value>
                               <value name="END_TIME">
                                 <shadow type="text" id="kJNpc)riW}D-daniJL;R">
                                   <field name="TEXT">23:00</field>
                                 </shadow>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="controls_if" id="ERKn}b(9ZhdA9S4!I}5|">
                               <mutation else="1"></mutation>
                               <value name="IF0">
                                 <block type="on_source" id="EH3#5#*DM$FD~VcHD2mR">
                                   <field name="ATTR">state.val</field>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="timeouts_cleartimeout" id="`:3%NmPAxlZGjzol79-X">
                                   <field name="NAME">timeout</field>
                                   <next>
                                     <block type="control" id="~x/.C6dvvQ3A+3=8iAQ?">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="o~{:l2Fx}oq0W6x$Dj_j">
                                           <field name="BOOL">TRUE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <statement name="ELSE">
                                 <block type="timeouts_settimeout" id="A#idymOJvRQP!-|n`hu7">
                                   <field name="NAME">timeout</field>
                                   <field name="DELAY">1</field>
                                   <field name="UNIT">min</field>
                                   <statement name="STATEMENT">
                                     <block type="control" id="*Ys2-!fk(eF0LGsFQ/nW">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">zigbee.0.680ae2fffec645c0.state</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="1QCvK[Fe)xeT~1(m~Og-">
                                           <field name="BOOL">FALSE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
            </xml>
            

            Was hat es mit dem Datenpunkt "open" auf sich?

            M Offline
            M Offline
            MikeMike
            schrieb am zuletzt editiert von
            #5

            @paul53
            Vielen Dank für die schnelle Hilfe!
            Jetzt läuft es. Verstehe zwar noch nicht so genau warum, aber hauptsache es läuft! :-)

            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

            387

            Online

            32.8k

            Benutzer

            82.8k

            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