Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • 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 startet alle 50 Minuten

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

[Gelöst] Blockly startet alle 50 Minuten

Geplant Angeheftet Gesperrt Verschoben Blockly
blockly
24 Beiträge 4 Kommentatoren 1.3k Aufrufe 3 Watching
  • Ä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.
  • J Jan1

    @haselchen
    Der hat andere Vorteile.
    Der Wert wurde bei der Script Abarbeitung bereits im Trigger eingelesen und ist bekannt. Wenn Du nun also Wert verwendest, dann ist das bereits bekannt. Wenn Du da Objekt noch mal angibst, dann muss der Wert noch mal eingelesen werden und da kann es zu Laufzeitproblemen kommen, was sehr sehr selten der Fall sein wird. Allerdings ist es auch einfacher zu erstellen, weil ich nur ein Block einfügen muss ;-)
    Somit hast zwei Vorteile, erstens sicherer und zweitens schneller.

    haselchenH Offline
    haselchenH Offline
    haselchen
    Most Active
    schrieb am zuletzt editiert von
    #7

    @Jan1

    Danke für die Erklärung.
    Dann versuche ich das in Zukunft umzustellen.
    Habe das meistens so umgesetzt wie der TE.

    Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

    1 Antwort Letzte Antwort
    0
    • J Jan1

      @biker1602
      So wie crunchip das schreibt, wäre das schon der erste Ansatz, dann sollte man sich immer angewöhnen, dass man ein stop timeout direkt vor den timeout setzt. Das ist in Deinem Fall zwar nicht die Ursache, verhindert aber schon mal weitere Probleme.
      Dann hast in den FALLS Bedingungen das selbe Objekt wie im Trigger und hier ist es ebenfalls eleganter, wenn man das über "Wert" aus den Trigger Blöcken abfragt. Dann ist es auch nicht nötig extra noch mal auf "wahr" zu prüfen, da das die Grundfunktion der FALLS Bedingung ist. Im Gegenzug wenn man auf "falsch" prüfen möchte, macht man das einfacher in dem man "nicht""Wert" dafür verwendet.

      B Offline
      B Offline
      biker1602
      schrieb am zuletzt editiert von
      #8

      @Jan1 said in Blockly startet alle 50 Minuten:

      o wie crunchip das schreibt, wäre das schon der erste Ansatz, dann sollte man sich immer angewöhnen, dass man ein stop timeout direkt vor den timeout setzt. Das ist in Deinem Fall zwar nicht die Ursache, verhindert aber schon mal weitere Probleme.

      Das habe ich nicht ganz verstanden denn ich habe doch unten ein timeout. Soll es oben drüber?

      crunchipC J 2 Antworten Letzte Antwort
      0
      • B biker1602

        @Jan1 said in Blockly startet alle 50 Minuten:

        o wie crunchip das schreibt, wäre das schon der erste Ansatz, dann sollte man sich immer angewöhnen, dass man ein stop timeout direkt vor den timeout setzt. Das ist in Deinem Fall zwar nicht die Ursache, verhindert aber schon mal weitere Probleme.

        Das habe ich nicht ganz verstanden denn ich habe doch unten ein timeout. Soll es oben drüber?

        crunchipC Abwesend
        crunchipC Abwesend
        crunchip
        Forum Testing Most Active
        schrieb am zuletzt editiert von
        #9

        @biker1602 ja darüber
        Und wenn du anstatt zweimal falls....false/sonst nimmst
        Sparst du dir das balkontür false
        Trigger Balkontür/ wurde geändert
        Timeout stop
        Timeout 20 sec
        ...Falls* Wert
        steuere xyz ...
        Sonst
        Steuere xyz....

        umgestiegen von Proxmox auf Unraid

        1 Antwort Letzte Antwort
        0
        • B biker1602

          @Jan1 said in Blockly startet alle 50 Minuten:

          o wie crunchip das schreibt, wäre das schon der erste Ansatz, dann sollte man sich immer angewöhnen, dass man ein stop timeout direkt vor den timeout setzt. Das ist in Deinem Fall zwar nicht die Ursache, verhindert aber schon mal weitere Probleme.

          Das habe ich nicht ganz verstanden denn ich habe doch unten ein timeout. Soll es oben drüber?

          J Offline
          J Offline
          Jan1
          schrieb am zuletzt editiert von
          #10

          @biker1602
          poste das mal als Export in Code Tacks, dann bau ich das geschwind um. So verstehst das gleich.

          B 2 Antworten Letzte Antwort
          0
          • J Jan1

            @biker1602
            poste das mal als Export in Code Tacks, dann bau ich das geschwind um. So verstehst das gleich.

            B Offline
            B Offline
            biker1602
            schrieb am zuletzt editiert von biker1602
            #11
            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable type="timeout" id="timeout">timeout</variable>
              </variables>
              <block type="on_ext" id="_GAXpeZECET+^MD+kDHC" x="-1021" y="-645">
                <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="xlgd^bXjY%1%OW96sm8~">
                    <field name="oid">zigbee.0.00158d00045c9632.contact</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="timeouts_settimeout" id="EXO!NZp7=cz87vC0c;HS">
                    <field name="NAME">timeout</field>
                    <field name="DELAY">20</field>
                    <field name="UNIT">sec</field>
                    <statement name="STATEMENT">
                      <block type="controls_if" id="mq*s5ki-0uH;+BVng#;w">
                        <value name="IF0">
                          <block type="logic_compare" id="MnW4/UD`*^5@T[]Yv_c+">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="*Y;;k1txUFXPx6L[?Uyh">
                                <field name="ATTR">val</field>
                                <field name="OID">zigbee.0.00158d00045c9632.contact</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="!bepK1hm;bZtvX)!sT,5">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="%6P_@g_DpJ/cikTJI(U;">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">fritzdect.0.Comet_099950285545.mode</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="math_number" id="gx2$(+W}8Wo9z|@o}:ER">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="5=2EA1LTs`,t7Xc8}Wj6">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id="CM6,IJyYAH1??64z(|]C">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="AV2f[=n.g?[+S-9|@Qi9">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">fritzdect.0.Comet_119630410624.mode</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="rqMuKRzIV)9@IRW{X?u%">
                                        <field name="NUM">1</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="xDvh==g:|Oc05+,04D%p">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G090LA09738502FL.Commands.speak</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text" id="eL06WLH-XvHB^r@@vu+I">
                                            <field name="TEXT">Balkontür ist geöffnet</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id=";6,4F:.Q*{/?J*dj$oh8">
                            <value name="IF0">
                              <block type="logic_compare" id="WtHg}F=Fw}3I4.;BI+2t">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id=";XSV.HxXn]mXz2=)L9nv">
                                    <field name="ATTR">val</field>
                                    <field name="OID">zigbee.0.00158d00045c9632.contact</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="]O1F:ulDH~#IksCoB=4q">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="1J7))iXa=j{K$BuBez07">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id="|aG:n~Hk7nZy)zJ?nZ9@">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="RDwFqoEaESSrJI$43|E+">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="7-TUZ:kc)6{,O1r$II*-">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="0x7MQ%r/{!b:exTIf{!~">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G090LA09738502FL.Commands.speak</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text" id="U}F,vgf,SWJlM4FYG:Yt">
                                            <field name="TEXT">Balkontür ist geschlossen</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="timeouts_cleartimeout" id="xk]d6Se:n2C~Q{IqN?0d">
                                            <field name="NAME">timeout</field>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </xml>
            
            1 Antwort Letzte Antwort
            0
            • J Jan1

              @biker1602
              poste das mal als Export in Code Tacks, dann bau ich das geschwind um. So verstehst das gleich.

              B Offline
              B Offline
              biker1602
              schrieb am zuletzt editiert von
              #12

              @Jan1 Das war so bestimmt verkehrt oder?

              J 2 Antworten Letzte Antwort
              0
              • B biker1602

                @Jan1 Das war so bestimmt verkehrt oder?

                J Offline
                J Offline
                Jan1
                schrieb am zuletzt editiert von
                #13

                @biker1602
                in Code Tacks, das sind die Klammern oben, fünftes Symbol von links. Editiere das oben einfach noch mal.

                1 Antwort Letzte Antwort
                0
                • B biker1602

                  @Jan1 Das war so bestimmt verkehrt oder?

                  J Offline
                  J Offline
                  Jan1
                  schrieb am zuletzt editiert von
                  #14

                  @biker1602
                  e368a73f-3d24-40fc-9d0f-51e3f60418cc-grafik.png

                  <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="_GAXpeZECET+^MD+kDHC" x="-1021" y="-645">
                   <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="xlgd^bXjY%1%OW96sm8~">
                       <field name="oid">zigbee.0.00158d00045c9632.contact</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="timeouts_cleartimeout" id="xk]d6Se:n2C~Q{IqN?0d">
                       <field name="NAME">timeout</field>
                       <next>
                         <block type="timeouts_settimeout" id="EXO!NZp7=cz87vC0c;HS">
                           <field name="NAME">timeout</field>
                           <field name="DELAY">20</field>
                           <field name="UNIT">sec</field>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="mq*s5ki-0uH;+BVng#;w">
                               <mutation elseif="1"></mutation>
                               <value name="IF0">
                                 <block type="logic_negate" id="++#j*R[f~CR5FOd)nR.@">
                                   <value name="BOOL">
                                     <block type="on_source" id="?eqA{eX|ra53bCorA!=U">
                                       <field name="ATTR">state.val</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="control" id="%6P_@g_DpJ/cikTJI(U;">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">fritzdect.0.Comet_099950285545.mode</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="math_number" id="gx2$(+W}8Wo9z|@o}:ER">
                                       <field name="NUM">1</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id="5=2EA1LTs`,t7Xc8}Wj6">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="CM6,IJyYAH1??64z(|]C">
                                           <field name="NUM">1</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id="AV2f[=n.g?[+S-9|@Qi9">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">fritzdect.0.Comet_119630410624.mode</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="rqMuKRzIV)9@IRW{X?u%">
                                               <field name="NUM">1</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="control" id="xDvh==g:|Oc05+,04D%p">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                               <field name="OID">alexa2.0.Echo-Devices.G090LA09738502FL.Commands.speak</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="text" id="eL06WLH-XvHB^r@@vu+I">
                                                   <field name="TEXT">Balkontür ist geöffnet</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <value name="IF1">
                                 <block type="on_source" id="NsrrNXHCLEGJ1SYpx)FK">
                                   <field name="ATTR">state.val</field>
                                 </block>
                               </value>
                               <statement name="DO1">
                                 <block type="control" id="1J7))iXa=j{K$BuBez07">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="math_number" id="|aG:n~Hk7nZy)zJ?nZ9@">
                                       <field name="NUM">0</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id="RDwFqoEaESSrJI$43|E+">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="7-TUZ:kc)6{,O1r$II*-">
                                           <field name="NUM">0</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id="0x7MQ%r/{!b:exTIf{!~">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">alexa2.0.Echo-Devices.G090LA09738502FL.Commands.speak</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="text" id="U}F,vgf,SWJlM4FYG:Yt">
                                               <field name="TEXT">Balkontür ist geschlossen</field>
                                             </block>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                   </statement>
                  </block>
                  

                  crunchipC 1 Antwort Letzte Antwort
                  0
                  • J Jan1

                    @biker1602
                    e368a73f-3d24-40fc-9d0f-51e3f60418cc-grafik.png

                    <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="_GAXpeZECET+^MD+kDHC" x="-1021" y="-645">
                     <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="xlgd^bXjY%1%OW96sm8~">
                         <field name="oid">zigbee.0.00158d00045c9632.contact</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="timeouts_cleartimeout" id="xk]d6Se:n2C~Q{IqN?0d">
                         <field name="NAME">timeout</field>
                         <next>
                           <block type="timeouts_settimeout" id="EXO!NZp7=cz87vC0c;HS">
                             <field name="NAME">timeout</field>
                             <field name="DELAY">20</field>
                             <field name="UNIT">sec</field>
                             <statement name="STATEMENT">
                               <block type="controls_if" id="mq*s5ki-0uH;+BVng#;w">
                                 <mutation elseif="1"></mutation>
                                 <value name="IF0">
                                   <block type="logic_negate" id="++#j*R[f~CR5FOd)nR.@">
                                     <value name="BOOL">
                                       <block type="on_source" id="?eqA{eX|ra53bCorA!=U">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="control" id="%6P_@g_DpJ/cikTJI(U;">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">fritzdect.0.Comet_099950285545.mode</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="math_number" id="gx2$(+W}8Wo9z|@o}:ER">
                                         <field name="NUM">1</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="control" id="5=2EA1LTs`,t7Xc8}Wj6">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="CM6,IJyYAH1??64z(|]C">
                                             <field name="NUM">1</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="control" id="AV2f[=n.g?[+S-9|@Qi9">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">fritzdect.0.Comet_119630410624.mode</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="rqMuKRzIV)9@IRW{X?u%">
                                                 <field name="NUM">1</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="control" id="xDvh==g:|Oc05+,04D%p">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">alexa2.0.Echo-Devices.G090LA09738502FL.Commands.speak</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="text" id="eL06WLH-XvHB^r@@vu+I">
                                                     <field name="TEXT">Balkontür ist geöffnet</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                 <value name="IF1">
                                   <block type="on_source" id="NsrrNXHCLEGJ1SYpx)FK">
                                     <field name="ATTR">state.val</field>
                                   </block>
                                 </value>
                                 <statement name="DO1">
                                   <block type="control" id="1J7))iXa=j{K$BuBez07">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="math_number" id="|aG:n~Hk7nZy)zJ?nZ9@">
                                         <field name="NUM">0</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="control" id="RDwFqoEaESSrJI$43|E+">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="7-TUZ:kc)6{,O1r$II*-">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="control" id="0x7MQ%r/{!b:exTIf{!~">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G090LA09738502FL.Commands.speak</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="text" id="U}F,vgf,SWJlM4FYG:Yt">
                                                 <field name="TEXT">Balkontür ist geschlossen</field>
                                               </block>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                     </statement>
                    </block>
                    

                    crunchipC Abwesend
                    crunchipC Abwesend
                    crunchip
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von
                    #15

                    @Jan1 genau so meinte ich es, wobei ich der Meinung bin, das
                    sonst falls Wert
                    weggelassen werden kann

                    umgestiegen von Proxmox auf Unraid

                    J 1 Antwort Letzte Antwort
                    0
                    • crunchipC crunchip

                      @Jan1 genau so meinte ich es, wobei ich der Meinung bin, das
                      sonst falls Wert
                      weggelassen werden kann

                      J Offline
                      J Offline
                      Jan1
                      schrieb am zuletzt editiert von Jan1
                      #16

                      @crunchip
                      ja kann weg, da "sonst falls" eh dem "falsch" entspricht und somit ein einfaches "sonst" auch reicht ;-)
                      Normal fängt man auch mit der Abfrage auf wahr an und ich habs so gelassen um das mit "nicht" "Wert" leichter zu zeigen.

                      B 1 Antwort Letzte Antwort
                      0
                      • J Jan1

                        @crunchip
                        ja kann weg, da "sonst falls" eh dem "falsch" entspricht und somit ein einfaches "sonst" auch reicht ;-)
                        Normal fängt man auch mit der Abfrage auf wahr an und ich habs so gelassen um das mit "nicht" "Wert" leichter zu zeigen.

                        B Offline
                        B Offline
                        biker1602
                        schrieb am zuletzt editiert von
                        #17

                        @Jan1 das hätte ich so ja nie hinbekommen vielen Dank.
                        Du bist ja richtig fit. Darf ich dich nochmal zu einem anderen Problem befragen?

                        J 1 Antwort Letzte Antwort
                        0
                        • B biker1602

                          @Jan1 das hätte ich so ja nie hinbekommen vielen Dank.
                          Du bist ja richtig fit. Darf ich dich nochmal zu einem anderen Problem befragen?

                          J Offline
                          J Offline
                          Jan1
                          schrieb am zuletzt editiert von
                          #18

                          @biker1602
                          Klar und das hättest auch ohne Hilfe geschafft, war ja nicht wirklich falsch und es gibt massig Beispiele hier wie man das lösen kann. Es gibt eben nicht nur einen Weg der Lösung, sondern immer mehrere.

                          B 2 Antworten Letzte Antwort
                          0
                          • J Jan1

                            @biker1602
                            Klar und das hättest auch ohne Hilfe geschafft, war ja nicht wirklich falsch und es gibt massig Beispiele hier wie man das lösen kann. Es gibt eben nicht nur einen Weg der Lösung, sondern immer mehrere.

                            B Offline
                            B Offline
                            biker1602
                            schrieb am zuletzt editiert von
                            #19

                            @Jan1 Also ich habe es als neues Script angelegt und gestartet aber Alexa sagt jetzt nichts mehr?

                            J 1 Antwort Letzte Antwort
                            0
                            • B biker1602

                              @Jan1 Also ich habe es als neues Script angelegt und gestartet aber Alexa sagt jetzt nichts mehr?

                              J Offline
                              J Offline
                              Jan1
                              schrieb am zuletzt editiert von Jan1
                              #20

                              @biker1602
                              baue debug Blöcke ein und schau was noch ausgeführt wird, dann weißt wo es klemmt
                              Das sollte so laufen, da sich an der Funktion nichts geändert hat.

                              Im übrigen kannst das Thermostat abschalten auch weg lassen, weil die Fritz das nur alle 10 Minuten synchronisiert und die Tür dann schon 10 Minuten offen sein muss, bevor das überhaupt greift ;-)

                              <xml xmlns="https://developers.google.com/blockly/xml">
                               <variables>
                                 <variable type="timeout" id="timeout">timeout</variable>
                               </variables>
                               <block type="on_ext" id="_GAXpeZECET+^MD+kDHC" x="-1012" y="-737">
                                 <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="xlgd^bXjY%1%OW96sm8~">
                                     <field name="oid">zigbee.0.00158d00045c9632.contact</field>
                                   </shadow>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="debug" id="=EnWBy*1qXGjE3:8DH-i">
                                     <field name="Severity">log</field>
                                     <value name="TEXT">
                                       <shadow type="text" id="y-F3C]{[XnbWvh3dvWZ{">
                                         <field name="TEXT">trigger ok</field>
                                       </shadow>
                                     </value>
                                     <next>
                                       <block type="timeouts_cleartimeout" id="xk]d6Se:n2C~Q{IqN?0d">
                                         <field name="NAME">timeout</field>
                                         <next>
                                           <block type="timeouts_settimeout" id="EXO!NZp7=cz87vC0c;HS">
                                             <field name="NAME">timeout</field>
                                             <field name="DELAY">20</field>
                                             <field name="UNIT">sec</field>
                                             <statement name="STATEMENT">
                                               <block type="debug" id="I5y!{aHK?AC|L=NPW!TT">
                                                 <field name="Severity">log</field>
                                                 <value name="TEXT">
                                                   <shadow type="text" id="]N~%ExNo+Gw{,o]=Gyj%">
                                                     <field name="TEXT">timeout ok</field>
                                                   </shadow>
                                                 </value>
                                                 <next>
                                                   <block type="controls_if" id="mq*s5ki-0uH;+BVng#;w">
                                                     <mutation else="1"></mutation>
                                                     <value name="IF0">
                                                       <block type="logic_negate" id="++#j*R[f~CR5FOd)nR.@">
                                                         <value name="BOOL">
                                                           <block type="on_source" id="?eqA{eX|ra53bCorA!=U">
                                                             <field name="ATTR">state.val</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="debug" id="X*(/$a:trI{Hp:mk*ia}">
                                                         <field name="Severity">log</field>
                                                         <value name="TEXT">
                                                           <shadow type="text" id="jV!owF+puWVZ1tsQ)57v">
                                                             <field name="TEXT">Heizung an ok</field>
                                                           </shadow>
                                                         </value>
                                                         <next>
                                                           <block type="control" id="%6P_@g_DpJ/cikTJI(U;">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                             <field name="OID">fritzdect.0.Comet_099950285545.mode</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="math_number" id="gx2$(+W}8Wo9z|@o}:ER">
                                                                 <field name="NUM">1</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="control" id="5=2EA1LTs`,t7Xc8}Wj6">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_number" id="CM6,IJyYAH1??64z(|]C">
                                                                     <field name="NUM">1</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="control" id="AV2f[=n.g?[+S-9|@Qi9">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">fritzdect.0.Comet_119630410624.mode</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="math_number" id="rqMuKRzIV)9@IRW{X?u%">
                                                                         <field name="NUM">1</field>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="control" id="xDvh==g:|Oc05+,04D%p">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                         <field name="OID">alexa2.0.Echo-Devices.G090LA09738502FL.Commands.speak</field>
                                                                         <field name="WITH_DELAY">FALSE</field>
                                                                         <value name="VALUE">
                                                                           <block type="text" id="eL06WLH-XvHB^r@@vu+I">
                                                                             <field name="TEXT">Balkontür ist geöffnet</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                     <statement name="ELSE">
                                                       <block type="debug" id="*ayuytZBd.|BIY?ebl8v">
                                                         <field name="Severity">log</field>
                                                         <value name="TEXT">
                                                           <shadow type="text" id=")-ZZ=wFtEF^_~F!a9U|}">
                                                             <field name="TEXT">Heizung aus ok</field>
                                                           </shadow>
                                                         </value>
                                                         <next>
                                                           <block type="control" id="1J7))iXa=j{K$BuBez07">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                             <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="math_number" id="|aG:n~Hk7nZy)zJ?nZ9@">
                                                                 <field name="NUM">0</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="control" id="RDwFqoEaESSrJI$43|E+">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">fritzdect.0.Comet_099950290397.mode</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_number" id="7-TUZ:kc)6{,O1r$II*-">
                                                                     <field name="NUM">0</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="control" id="0x7MQ%r/{!b:exTIf{!~">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.G090LA09738502FL.Commands.speak</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="text" id="U}F,vgf,SWJlM4FYG:Yt">
                                                                         <field name="TEXT">Balkontür ist geschlossen</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                              </xml>
                              

                              1 Antwort Letzte Antwort
                              0
                              • J Jan1

                                @biker1602
                                Klar und das hättest auch ohne Hilfe geschafft, war ja nicht wirklich falsch und es gibt massig Beispiele hier wie man das lösen kann. Es gibt eben nicht nur einen Weg der Lösung, sondern immer mehrere.

                                B Offline
                                B Offline
                                biker1602
                                schrieb am zuletzt editiert von
                                #21

                                @Jan1 Jetzt nochmal eine anderes Problem wo du mir vielleicht helfen kannst. An der Balkontür wo der Sensor ist, habe ich von innen ein Rollo was über Funk läuft mit einem Broadlink. Ich habe die Befehle Hoch runter und Stopp angelernt. Ich würde das auch gerne so wie ich es jetzt an dem feststehenden Fensterteil über eine Routine mit Alexa habe das bei Sonnenaufgang hoch Sonnenuntergang automatisch heruntermachen. Mein Problem ist mit der Balkontür das das Rollo bei geöffnetem Fenster z.B. im Sommer nicht heruntergehen darf, wenn die Tür auf ist. Dieses wollte ich mit einem Blockly versuchen was prüft ob das Fenster auf ist und das Herunterfahren blockiert. Ich weiß nicht wo ich den Punkt vom Rollo hernehmen soll denn ich denke man braucht einen Datenpunk den man selber erstellt oder?
                                Vielleicht hast du ja eine Idee.

                                Danke

                                haselchenH 1 Antwort Letzte Antwort
                                0
                                • B biker1602

                                  @Jan1 Jetzt nochmal eine anderes Problem wo du mir vielleicht helfen kannst. An der Balkontür wo der Sensor ist, habe ich von innen ein Rollo was über Funk läuft mit einem Broadlink. Ich habe die Befehle Hoch runter und Stopp angelernt. Ich würde das auch gerne so wie ich es jetzt an dem feststehenden Fensterteil über eine Routine mit Alexa habe das bei Sonnenaufgang hoch Sonnenuntergang automatisch heruntermachen. Mein Problem ist mit der Balkontür das das Rollo bei geöffnetem Fenster z.B. im Sommer nicht heruntergehen darf, wenn die Tür auf ist. Dieses wollte ich mit einem Blockly versuchen was prüft ob das Fenster auf ist und das Herunterfahren blockiert. Ich weiß nicht wo ich den Punkt vom Rollo hernehmen soll denn ich denke man braucht einen Datenpunk den man selber erstellt oder?
                                  Vielleicht hast du ja eine Idee.

                                  Danke

                                  haselchenH Offline
                                  haselchenH Offline
                                  haselchen
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #22

                                  @biker1602

                                  Bitte erstmal das eine Thema beenden und dann ein Neues (neuer Thread) anfangen.

                                  Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                                  B 1 Antwort Letzte Antwort
                                  0
                                  • haselchenH haselchen

                                    @biker1602

                                    Bitte erstmal das eine Thema beenden und dann ein Neues (neuer Thread) anfangen.

                                    B Offline
                                    B Offline
                                    biker1602
                                    schrieb am zuletzt editiert von
                                    #23

                                    @haselchen wo kann ich es beenden oder als erledigt markieren?

                                    haselchenH 1 Antwort Letzte Antwort
                                    0
                                    • B biker1602

                                      @haselchen wo kann ich es beenden oder als erledigt markieren?

                                      haselchenH Offline
                                      haselchenH Offline
                                      haselchen
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #24

                                      @biker1602

                                      Entweder rechts bei den 3 Punkten
                                      Oder Du schreibst im 1.Beitrag [Gelöst] vor deinem Threadtitel

                                      Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                                      1 Antwort Letzte Antwort
                                      0
                                      Antworten
                                      • In einem neuen Thema antworten
                                      Anmelden zum Antworten
                                      • Älteste zuerst
                                      • Neuste zuerst
                                      • Meiste Stimmen


                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      610

                                      Online

                                      32.7k

                                      Benutzer

                                      82.4k

                                      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