Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Blockly Script mit Button Starten und Stoppen?

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Blockly Script mit Button Starten und Stoppen?

Scheduled Pinned Locked Moved Blockly
27 Posts 5 Posters 4.0k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    EFE
    wrote on last edited by EFE
    #1

    Hallo,
    ich bin auf der Suche aber fand bis jetzt nichts !
    Thema :
    Ich hab ein Blockly script mit dem Namen "Rolladen"
    a.png
    die Rolladen fahren automatisch nach Sonnenuntergang runter , Script Läuft!

    Manchmal sitzt man länger im Garten früher hab ich die Rolladensteuerung auf Hand (H) genommen
    und als ich diese auf Auto (A) gestellt hab sind die Rolladen runtergefahren.
    diese waren es....
    b.jpg

    jetzt hab ich auf Smart umgerüstet auf diese
    s-l1600.jpg

    Ich dachte da an eine Dash oder Eco Button , was wenn ich diese betätige mir den
    Blockly Script "Rolladen" Stoppt und beim erneuten drücken wieder Startet und die Rolladen einmalig runterfährt (true)
    und dann ganz normal läuft .

    oder per Alexa Sprachbefehl wie z.B. "Alexa stell auf Hand" Rolladen Blockly script stoppt
    "Alexa stell auf Automatik" Rolladen Blockly script Starten und ggf. fährt die Rolladen runter

    Weil wenn man dann im Garten ist und die Rolladen fahren runter sperrt man sich selber aus
    hat man ein Button drückt man diesen könnte man nur Manuell die Rolladen runterfahren und
    wenn man dann ins Haus kommt wieder auf Automatik stellen.

    über eure Hilfe währe ich sehr dankbar.

    paul53P K 2 Replies Last reply
    0
    • BBTownB Offline
      BBTownB Offline
      BBTown
      wrote on last edited by BBTown
      #2

      Du solltest Dir zum Einen mal folgenden Adapter anschauen:
      https://forum.iobroker.net/post/260604

      Zum Anderen ... warum so kompliziert?
      Nimm aus dem Script doch einfach deine Terrassentür raus und steuere diese separat mit der Abfrage eines Tür-Fensterkontaktes

      ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

      1 Reply Last reply
      0
      • E Offline
        E Offline
        EFE
        wrote on last edited by
        #3

        ja aber der Script wird nicht jeden tag deaktivert . Machmal nach bedarf und wetter ansonsten sollte es nach der Astro Zeit runterfahren .

        1 Reply Last reply
        0
        • E EFE

          Hallo,
          ich bin auf der Suche aber fand bis jetzt nichts !
          Thema :
          Ich hab ein Blockly script mit dem Namen "Rolladen"
          a.png
          die Rolladen fahren automatisch nach Sonnenuntergang runter , Script Läuft!

          Manchmal sitzt man länger im Garten früher hab ich die Rolladensteuerung auf Hand (H) genommen
          und als ich diese auf Auto (A) gestellt hab sind die Rolladen runtergefahren.
          diese waren es....
          b.jpg

          jetzt hab ich auf Smart umgerüstet auf diese
          s-l1600.jpg

          Ich dachte da an eine Dash oder Eco Button , was wenn ich diese betätige mir den
          Blockly Script "Rolladen" Stoppt und beim erneuten drücken wieder Startet und die Rolladen einmalig runterfährt (true)
          und dann ganz normal läuft .

          oder per Alexa Sprachbefehl wie z.B. "Alexa stell auf Hand" Rolladen Blockly script stoppt
          "Alexa stell auf Automatik" Rolladen Blockly script Starten und ggf. fährt die Rolladen runter

          Weil wenn man dann im Garten ist und die Rolladen fahren runter sperrt man sich selber aus
          hat man ein Button drückt man diesen könnte man nur Manuell die Rolladen runterfahren und
          wenn man dann ins Haus kommt wieder auf Automatik stellen.

          über eure Hilfe währe ich sehr dankbar.

          paul53P Offline
          paul53P Offline
          paul53
          wrote on last edited by paul53
          #4

          @EFE Vielleicht so ?

          Blockly_SU_Manu_Auto.JPG

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

          1 Reply Last reply
          0
          • E Offline
            E Offline
            EFE
            wrote on last edited by
            #5

            @BBTown kannst du den Script kurz erklären

            BBTownB 1 Reply Last reply
            0
            • E EFE

              Hallo,
              ich bin auf der Suche aber fand bis jetzt nichts !
              Thema :
              Ich hab ein Blockly script mit dem Namen "Rolladen"
              a.png
              die Rolladen fahren automatisch nach Sonnenuntergang runter , Script Läuft!

              Manchmal sitzt man länger im Garten früher hab ich die Rolladensteuerung auf Hand (H) genommen
              und als ich diese auf Auto (A) gestellt hab sind die Rolladen runtergefahren.
              diese waren es....
              b.jpg

              jetzt hab ich auf Smart umgerüstet auf diese
              s-l1600.jpg

              Ich dachte da an eine Dash oder Eco Button , was wenn ich diese betätige mir den
              Blockly Script "Rolladen" Stoppt und beim erneuten drücken wieder Startet und die Rolladen einmalig runterfährt (true)
              und dann ganz normal läuft .

              oder per Alexa Sprachbefehl wie z.B. "Alexa stell auf Hand" Rolladen Blockly script stoppt
              "Alexa stell auf Automatik" Rolladen Blockly script Starten und ggf. fährt die Rolladen runter

              Weil wenn man dann im Garten ist und die Rolladen fahren runter sperrt man sich selber aus
              hat man ein Button drückt man diesen könnte man nur Manuell die Rolladen runterfahren und
              wenn man dann ins Haus kommt wieder auf Automatik stellen.

              über eure Hilfe währe ich sehr dankbar.

              K Online
              K Online
              Kuddel
              wrote on last edited by
              #6

              @EFE hast du an deiner Tür zum Garten einen Sensor?

              Ich würde es darüber machen.

              Wenn die Tür bei Sonnenuntergang noch geöffnet ist, bleiben die Rollos oben

              E 1 Reply Last reply
              0
              • K Kuddel

                @EFE hast du an deiner Tür zum Garten einen Sensor?

                Ich würde es darüber machen.

                Wenn die Tür bei Sonnenuntergang noch geöffnet ist, bleiben die Rollos oben

                E Offline
                E Offline
                EFE
                wrote on last edited by
                #7

                @Kuddel said in Blockly Script mit Button Starten und Stoppen?:

                @EFE hast du an deiner Tür zum Garten einen Sensor?

                Ich würde es darüber machen.

                Wenn die Tür bei Sonnenuntergang noch geöffnet ist, bleiben die Rollos oben

                @Kuddel leider nicht !
                Um ein Reedkontakt zu installieren find ich zu umständlich.

                K BBTownB 3 Replies Last reply
                0
                • E EFE

                  @Kuddel said in Blockly Script mit Button Starten und Stoppen?:

                  @EFE hast du an deiner Tür zum Garten einen Sensor?

                  Ich würde es darüber machen.

                  Wenn die Tür bei Sonnenuntergang noch geöffnet ist, bleiben die Rollos oben

                  @Kuddel leider nicht !
                  Um ein Reedkontakt zu installieren find ich zu umständlich.

                  K Online
                  K Online
                  Kuddel
                  wrote on last edited by
                  #8

                  @EFE ich habe bei uns an der Balkontür einen Drehgriffsensor von Homematic. Kostet natürlich bisschen mehr, aber funktioniert super

                  1 Reply Last reply
                  0
                  • E EFE

                    @BBTown kannst du den Script kurz erklären

                    BBTownB Offline
                    BBTownB Offline
                    BBTown
                    wrote on last edited by BBTown
                    #9

                    @EFE das ist mein generelles Script für die Steuerung des Rolladens meiner Terassentür.
                    Ich habe einen Datenpunkt, der kennt die Werte:
                    0 = Rolladen offen
                    1 = Rolladen geschlossen
                    2 = Beschattung

                    Diesen Datenpunkt frage ich ab, ob der geändert wurde (durch mein Script für alle anderen Rolläden, z.B. weil alle Rolläden bei Dunkelheit runterfahren und der Datenpunkt entsprechend auf "1" gesetzt wird)
                    b039df36-3168-4faa-bf47-bef1d3a27a67-grafik.png

                    Wenn also "alle Rolläden geschlossen sind - UND die Terrassentür ebenfalls geschlossen ist, nur dann geht der Rolladen der Terrassentür ebenfalls runter (oder in die Beschattungsposition "38").
                    Sofern die Terrassentür auf ist, bleibt der Rolladen der Terrassentür oben.

                    Durch ein zweites Script (siehe andere Antwort) würde nun beim Schließen der Terrassentür geprüft ob alle Rolladen geschlossen sind und entsprechend auch der Rolladen der Terrassentür dann herunterfahren. Das ist für mich ein anderer Vorgang (und somit ein anderer Trigger = so in der Art von: "habe ich beim öffnen/schließen der Terassentür irgendetwas zu beachten/tun")

                    ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                    1 Reply Last reply
                    0
                    • E EFE

                      @Kuddel said in Blockly Script mit Button Starten und Stoppen?:

                      @EFE hast du an deiner Tür zum Garten einen Sensor?

                      Ich würde es darüber machen.

                      Wenn die Tür bei Sonnenuntergang noch geöffnet ist, bleiben die Rollos oben

                      @Kuddel leider nicht !
                      Um ein Reedkontakt zu installieren find ich zu umständlich.

                      BBTownB Offline
                      BBTownB Offline
                      BBTown
                      wrote on last edited by
                      #10

                      @EFE sagte in Blockly Script mit Button Starten und Stoppen?:

                      Um ein Reedkontakt zu installieren find ich zu umständlich.

                      wieso Reed? nimm doch irgend einen Funk-Kontakt

                      ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                      1 Reply Last reply
                      0
                      • E EFE

                        @Kuddel said in Blockly Script mit Button Starten und Stoppen?:

                        @EFE hast du an deiner Tür zum Garten einen Sensor?

                        Ich würde es darüber machen.

                        Wenn die Tür bei Sonnenuntergang noch geöffnet ist, bleiben die Rollos oben

                        @Kuddel leider nicht !
                        Um ein Reedkontakt zu installieren find ich zu umständlich.

                        BBTownB Offline
                        BBTownB Offline
                        BBTown
                        wrote on last edited by BBTown
                        #11

                        @EFE Der Vollständigkeit halber hier mein zweites Script, welches das Verhalten des Rolladens meiner Terrassentür steuert, während die Rolladen geschlossen sind.
                        Hierbei triggere ich nur den Kontakt der Terrassentür und fahre je nach Zustand (geschlossen/Beschattung) den Rolladen durch öffnen/schließen der Tür automatisch hoch und runter. Zugleich lasse ich dann auch Licht/Steckdose schalten, da ich bei Dunkelheit wahrscheinlich beim Öffnen das Licht auf der Terrasse auch benötige ;-)

                        86b05054-6930-4fa4-a8e1-6648dcb401ab-grafik.png

                        Blockly zum Importieren

                        <xml xmlns="http://www.w3.org/1999/xhtml">
                         <block type="on_ext" id="}(GJM@hL_WGqGrc=8w/?" x="-212" y="-213">
                           <mutation items="1"></mutation>
                           <field name="CONDITION">ne</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="eX%{FY%1v=!Qqn.iM,@J">
                               <field name="oid">hm-rpc.0.MEQ1234567.1.STATE</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="4w0gzUO?@K-NOGYg7+r@">
                               <mutation elseif="1" else="1"></mutation>
                               <value name="IF0">
                                 <block type="logic_compare" id="Oom?srzbcRy)WcYq[UH+">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="get_value" id="MQXWOA*rZuXwZ3dYIk*`">
                                       <field name="ATTR">val</field>
                                       <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_boolean" id="%Tg8ve|k7J+w[Bv}?ghD">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="comment" id="gz=8AcC1KO8_a*;YS4=A">
                                   <field name="COMMENT">Rolladen der Terrassentür wird durch öffnen der Terrassentür ebenfalls geöffnet</field>
                                   <next>
                                     <block type="controls_if" id=";wh;FMUU^^!Utc[=^_wy">
                                       <value name="IF0">
                                         <block type="logic_compare" id="x-W?vDRT0BNhEBCT*_n=">
                                           <field name="OP">LT</field>
                                           <value name="A">
                                             <block type="get_value" id="X{-wM(v}1Y!JknTP=F|-">
                                               <field name="ATTR">val</field>
                                               <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="oZmBA,#RlGAi4RCuDfsb">
                                               <field name="NUM">85</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="control" id="uD!0PTu/3joo[^2w8shG">
                                           <mutation delay_input="false"></mutation>
                                           <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="nd+`(CWJB4!K^OkS3idq">
                                               <field name="NUM">100</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                       <next>
                                         <block type="comment" id="gGP?_{Jr*EmX|,Ki:RhG">
                                           <field name="COMMENT">Sofern es dunkel ist, wird zudem das Licht auf der Terrasse eingeschaltet</field>
                                           <next>
                                             <block type="controls_if" id="HT3pi:h5/3+@_[s`EH#n">
                                               <value name="IF0">
                                                 <block type="logic_compare" id="Rf*ihJbquW];D]-f.NC=">
                                                   <field name="OP">EQ</field>
                                                   <value name="A">
                                                     <block type="get_value" id="/DEXxlR_Z0L6|3%k63nP">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">hm-rpc.1.JEQ1234567.17.STATE</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_boolean" id="%#0v7bA24?hSs::IpObR">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="controls_if" id="}^-}DGLEB,u2%p@aFn-J">
                                                   <value name="IF0">
                                                     <block type="logic_compare" id="X`{xe/C^`B)4%R`uFXdf">
                                                       <field name="OP">EQ</field>
                                                       <value name="A">
                                                         <block type="get_value" id="jT/`bcv`25;,+Z@w9nD~">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_boolean" id="gUSPCYhI/J%OceX[Dd%R">
                                                           <field name="BOOL">FALSE</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="control" id="tYSXDVXW5F?L{R_ZW+W_">
                                                       <mutation delay_input="false"></mutation>
                                                       <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="logic_boolean" id="lid`nbx)JL/=G}EDOLTV">
                                                           <field name="BOOL">TRUE</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <value name="IF1">
                                 <block type="logic_operation" id="OyISy(j?S{8i?-~#I8y@" inline="false">
                                   <field name="OP">AND</field>
                                   <value name="A">
                                     <block type="logic_compare" id="~hS[Cjr/R0l:ff]]uW#w">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="get_value" id="@lwKG;sSWO]FsRNncLb8">
                                           <field name="ATTR">val</field>
                                           <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="logic_boolean" id="R)|X3p)o3/%[zU)4c1EK">
                                           <field name="BOOL">FALSE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_compare" id="LJ|_^U(3W3Ss8P]6afl^">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="get_value" id="K2[m]1V@VS6vOcTYQ`+u">
                                           <field name="ATTR">val</field>
                                           <field name="OID">hm-rega.0.7593</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="(/E(hHvGt^12C*/_;tG`">
                                           <field name="NUM">2</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO1">
                                 <block type="controls_if" id="8NNyZt`z5wVuMEGm|yFQ">
                                   <value name="IF0">
                                     <block type="logic_compare" id="6Nd6=uptK*%0czHTU64V">
                                       <field name="OP">NEQ</field>
                                       <value name="A">
                                         <block type="get_value" id="=gF.CUJp%[N]5#]%:gYX">
                                           <field name="ATTR">val</field>
                                           <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="7M}z!EExPaHZM[Qp|*#2">
                                           <field name="NUM">40</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="eiD[xuc^*i`f`I}OLHqw">
                                       <mutation delay_input="false"></mutation>
                                       <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="|~t`g`kuN@3F,B@fnf{G">
                                           <field name="NUM">40</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                               <statement name="ELSE">
                                 <block type="comment" id="^ksDmSwf+EXR!.|1NHU?">
                                   <field name="COMMENT">Rolladen der Terrassentür wird durch schließen der  Terrassentür ebenfalls geschlossen</field>
                                   <next>
                                     <block type="comment" id="y(BFsGJP?j5fVO20~6=0">
                                       <field name="COMMENT">Wenn alle anderen Rolladen ebenfalls verschlossen sind</field>
                                       <next>
                                         <block type="controls_if" id=":Af{QMfu#{MRB:w5i[Dx">
                                           <value name="IF0">
                                             <block type="logic_compare" id="|emPlsVSnBx^6le|82e|">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="G~-)]*2%9Z`euZvYGEc4">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">hm-rega.0.7593</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id=".w6`Xh[!@IcPHNgsbWbw">
                                                   <field name="NUM">1</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="controls_if" id="P}?2ue7H#/Q@RM.:o~/I">
                                               <value name="IF0">
                                                 <block type="logic_compare" id="n~qbMHVDBBBaKV#9}9kZ">
                                                   <field name="OP">GT</field>
                                                   <value name="A">
                                                     <block type="get_value" id="L*[pOa.y~yB,1iM@Un)t">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="vb1F!{{zwk/G1mcs^shm">
                                                       <field name="NUM">0</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="control" id="[bi}.kofkjfswY2|Ee_,">
                                                   <mutation delay_input="false"></mutation>
                                                   <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="math_number" id="w42~amA;C,Dl3lJcDhgr">
                                                       <field name="NUM">0</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="comment" id="95j::wTcj#3_VD#vB}d-">
                                                   <field name="COMMENT">Sofern das Licht auf der Terrasse eingeschaltet war, wird es ausgeschaltet</field>
                                                   <next>
                                                     <block type="controls_if" id="W]}#MhXQ!%AhrXwmPo45">
                                                       <value name="IF0">
                                                         <block type="logic_compare" id="7m,u;LdeLY6xVwE?)=(E">
                                                           <field name="OP">EQ</field>
                                                           <value name="A">
                                                             <block type="get_value" id="G:_-:~=dbAg%1S6+u=vS">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="logic_boolean" id="p_xhlR(9|klSS@,Y]m;.">
                                                               <field name="BOOL">TRUE</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="control" id="21_4j_~FI.CA=ytw0dkl">
                                                           <mutation delay_input="false"></mutation>
                                                           <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="logic_boolean" id="S-?9G23mEHWC7j=gn]Is">
                                                               <field name="BOOL">FALSE</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                       <next>
                                                         <block type="comment" id="B.~De`R_3dHQ[-l/v^*@">
                                                           <field name="COMMENT">Sofern die Steckdose der Terrasse eingeschaltet war, wird diese ausgeschaltet</field>
                                                           <next>
                                                             <block type="controls_if" id="-#zR)oGXP7tefe4Pgh|i">
                                                               <value name="IF0">
                                                                 <block type="logic_compare" id="VHf7!XQ9=E{riEC0*}ky">
                                                                   <field name="OP">EQ</field>
                                                                   <value name="A">
                                                                     <block type="get_value" id="Shw`exER{_Sc3U^XkKfU">
                                                                       <field name="ATTR">val</field>
                                                                       <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="logic_boolean" id="zVR;nFt#n=*QNyVT?IL,">
                                                                       <field name="BOOL">TRUE</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <statement name="DO0">
                                                                 <block type="control" id="^-R.4u(oJLL+HrFzE4Vy">
                                                                   <mutation delay_input="false"></mutation>
                                                                   <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="logic_boolean" id="IFUjkVv%8GcAigKHZJ%r">
                                                                       <field name="BOOL">FALSE</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </statement>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                        </xml>
                        

                        ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                        1 Reply Last reply
                        0
                        • E Offline
                          E Offline
                          EFE
                          wrote on last edited by
                          #12

                          @BBTown kannst du en ersten Script auch zur Verfügung stellen

                          BBTownB 1 Reply Last reply
                          0
                          • E Offline
                            E Offline
                            EFE
                            wrote on last edited by EFE
                            #13

                            Ich brauch es nur für die Terrassen Rolladen.
                            Sprich
                            Wenn die Tür auf fährt die Rolladen nicht runter.
                            Ist sie auf wird nicht getriggert.
                            Habe zuhause noch ein shelly mit tasmota wo ich einen Reed anschließen könnte was an der Terrassentür angebracht wird.
                            Aber.
                            Wenn die Astro trigger Zeit vorbei ist z. B.
                            21:45 Uhr
                            Und ich aber die Terrassentür um 23 Uhr schließe fährt die Rolladen nicht runter.

                            Muss ich dann manuell runterfahren oder?

                            Müsste deinen Script ändern oder?

                            BBTownB 1 Reply Last reply
                            0
                            • E EFE

                              @BBTown kannst du en ersten Script auch zur Verfügung stellen

                              BBTownB Offline
                              BBTownB Offline
                              BBTown
                              wrote on last edited by
                              #14

                              @EFE sagte in Blockly Script mit Button Starten und Stoppen?:

                              @BBTown kannst du en ersten Script auch zur Verfügung stellen

                              Dort sind allerdings ausschließlich meine Datenpunkte enthalten, ob dir das wirklich hilft??

                              <xml xmlns="http://www.w3.org/1999/xhtml">
                               <block type="on_ext" id="EJM|@:jmZIaH#kui+f}?" x="-363" y="-262">
                                 <mutation items="1"></mutation>
                                 <field name="CONDITION">ne</field>
                                 <field name="ACK_CONDITION"></field>
                                 <value name="OID0">
                                   <shadow type="field_oid" id="Xg0)VZfR^U5/0{4J:HqZ">
                                     <field name="oid">hm-rega.0.7593</field>
                                   </shadow>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="controls_if" id="@UF!NZ3RUJZlg:z1iZ1q">
                                     <mutation elseif="2"></mutation>
                                     <value name="IF0">
                                       <block type="logic_compare" id="sL!|(9Gl)G1=#b}%S%v:">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="get_value" id="X+QvPs:Bh(q-QD#Zv|T3">
                                             <field name="ATTR">val</field>
                                             <field name="OID">hm-rega.0.7593</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="bNapoZ!@=lF%l,Q!:H0-">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="controls_if" id="2PT@(%F7NJe9Wgtc3OaZ">
                                         <value name="IF0">
                                           <block type="logic_compare" id="kJB(hGFGwed%/I)C.2;W">
                                             <field name="OP">LT</field>
                                             <value name="A">
                                               <block type="get_value" id="ERuix#=mLC]ZGqalAB)%">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="s^0,*y!#4a(_V]/0.AIu">
                                                 <field name="NUM">100</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="!_P%)Kc!T./|Ot=*wQ@3">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="DGr90Ck8YkOk7N??.A}h">
                                                 <field name="NUM">100</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                       </block>
                                     </statement>
                                     <value name="IF1">
                                       <block type="logic_operation" id="5/[f?gy}xFOj6r.gVC*+" inline="false">
                                         <field name="OP">AND</field>
                                         <value name="A">
                                           <block type="logic_compare" id="7mqP4=LP^:NXWE#bQd%L">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="?XT@KMJqfYGo1?sh`lly">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rega.0.7593</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="67CKvU4k1.,N5d?TC.(0">
                                                 <field name="NUM">2</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="logic_compare" id="*2kdugY._@cQmmZ6pw%+">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="k]7?ID2}/Uc}1rm@2A*;">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_boolean" id="BblGTk_=Bi7NkkBqFIxl">
                                                 <field name="BOOL">FALSE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO1">
                                       <block type="control" id="783TJZ6)XOYN|8(TC+gN">
                                         <mutation delay_input="false"></mutation>
                                         <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="hr*ER6I`m27TsBV3rm(a">
                                             <field name="NUM">38</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <value name="IF2">
                                       <block type="logic_operation" id="f3|5[I{_VuS#boV]GO~h" inline="false">
                                         <field name="OP">AND</field>
                                         <value name="A">
                                           <block type="logic_compare" id="/bS(,id]^:`JMmvMu/:D">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="9;{g)=PGUiYgq.s3axfG">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rega.0.7593</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="}a_5,w,]lS4Qmv{%=twA">
                                                 <field name="NUM">1</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="logic_compare" id="r*{[YCM9T#3d|QK9t.ac">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="=)kQ`[~g5v5):jirVJ4!">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_boolean" id="(a4rl_Sg52F2{?.:)cq]">
                                                 <field name="BOOL">FALSE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO2">
                                       <block type="control" id="/#Yc2XIRDNLpYpq{nPlX">
                                         <mutation delay_input="false"></mutation>
                                         <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="{?OEro[Sp;;Oh^Y1TZrO">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                   </block>
                                 </statement>
                               </block>
                              </xml>
                              

                              ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                              1 Reply Last reply
                              0
                              • E EFE

                                Ich brauch es nur für die Terrassen Rolladen.
                                Sprich
                                Wenn die Tür auf fährt die Rolladen nicht runter.
                                Ist sie auf wird nicht getriggert.
                                Habe zuhause noch ein shelly mit tasmota wo ich einen Reed anschließen könnte was an der Terrassentür angebracht wird.
                                Aber.
                                Wenn die Astro trigger Zeit vorbei ist z. B.
                                21:45 Uhr
                                Und ich aber die Terrassentür um 23 Uhr schließe fährt die Rolladen nicht runter.

                                Muss ich dann manuell runterfahren oder?

                                Müsste deinen Script ändern oder?

                                BBTownB Offline
                                BBTownB Offline
                                BBTown
                                wrote on last edited by
                                #15

                                @EFE sagte in Blockly Script mit Button Starten und Stoppen?:

                                Und ich aber die Terrassentür um 23 Uhr schließe fährt die Rolladen nicht runter.
                                Muss ich dann manuell runterfahren oder?
                                Müsste deinen Script ändern oder?

                                Die Frage ist, ob Du das Prinzip verinnerlicht hast?!
                                Dann solltest Du das ganze für dich ableiten können.

                                ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                                1 Reply Last reply
                                0
                                • E Offline
                                  E Offline
                                  EFE
                                  wrote on last edited by EFE
                                  #16

                                  @BBTown Vielen Dank,
                                  jetzt zum verständnis !
                                  Dieser Script ist zum Steuern der Rolladen
                                  Bild Text

                                  und dieser für den Fenster Kontakt Steuerung
                                  Bild Text


                                  <xml xmlns="http://www.w3.org/1999/xhtml">
                                  <block type="on_ext" id="}(GJM@hL_WGqGrc=8w/?" x="-212" y="-213">
                                  <mutation items="1"></mutation>
                                  <field name="CONDITION">ne</field>
                                  <field name="ACK_CONDITION"></field>
                                  <value name="OID0">
                                  <shadow type="field_oid" id="eX%{FY%1v=!Qqn.iM,@J">
                                  <field name="oid">hm-rpc.0.MEQ1234567.1.STATE</field>
                                  </shadow>
                                  </value>
                                  <statement name="STATEMENT">
                                  <block type="controls_if" id="4w0gzUO?@K-NOGYg7+r@">
                                  <mutation elseif="1" else="1"></mutation>
                                  <value name="IF0">
                                  <block type="logic_compare" id="Oom?srzbcRy)WcYq[UH+">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                  <block type="get_value" id="MQXWOArZuXwZ3dYIk"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%Tg8ve|k7J+w[Bv}?ghD"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="gz=8AcC1KO8_a*;YS4=A"> <field name="COMMENT">Rolladen der Terrassentür wird durch öffnen der Terrassentür ebenfalls geöffnet</field> <next> <block type="controls_if" id=";wh;FMUU^^!Utc[=^_wy"> <value name="IF0"> <block type="logic_compare" id="x-W?vDRT0BNhEBCT*_n="> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="X{-wM(v}1Y!JknTP=F|-"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field> </block> </value> <value name="B"> <block type="math_number" id="oZmBA,#RlGAi4RCuDfsb"> <field name="NUM">85</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="uD!0PTu/3joo[^2w8shG"> <mutation delay_input="false"></mutation> <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="nd+(CWJB4!K^OkS3idq">
                                  <field name="NUM">100</field>
                                  </block>
                                  </value>
                                  </block>
                                  </statement>
                                  <next>
                                  <block type="comment" id="gGP?{Jr*EmX|,Ki:RhG">
                                  <field name="COMMENT">Sofern es dunkel ist, wird zudem das Licht auf der Terrasse eingeschaltet</field>
                                  <next>
                                  <block type="controls_if" id="HT3pi:h5/3+@
                                  [sEH#n"> <value name="IF0"> <block type="logic_compare" id="Rf*ihJbquW];D]-f.NC="> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="/DEXxlR_Z0L6|3%k63nP"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.JEQ1234567.17.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%#0v7bA24?hSs::IpObR"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="}^-}DGLEB,u2%p@aFn-J"> <value name="IF0"> <block type="logic_compare" id="X{xe/C^B)4%RuFXdf">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                  <block type="get_value" id="jT/bcv25;,+Z@w9nD~">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="logic_boolean" id="gUSPCYhI/J%OceX[Dd%R">
                                  <field name="BOOL">FALSE</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="control" id="tYSXDVXW5F?L{R_ZW+W_">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                  <block type="logic_boolean" id="lidnbx)JL/=G}EDOLTV"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="OyISy(j?S{8i?-~#I8y@" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="~hS[Cjr/R0l:ff]]uW#w"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="@lwKG;sSWO]FsRNncLb8"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="R)|X3p)o3/%[zU)4c1EK"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="LJ|_^U(3W3Ss8P]6afl^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="K2[m]1V@VS6vOcTYQ+u">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rega.0.7593</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="math_number" id="(/E(hHvGt^12C*/;tG"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="controls_if" id="8NNyZtz5wVuMEGm|yFQ">
                                  <value name="IF0">
                                  <block type="logic_compare" id="6Nd6=uptK*%0czHTU64V">
                                  <field name="OP">NEQ</field>
                                  <value name="A">
                                  <block type="get_value" id="=gF.CUJp%[N]5#]%:gYX">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="math_number" id="7M}z!EExPaHZM[Qp|*#2">
                                  <field name="NUM">40</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="control" id="eiD[xuc^*ifI}OLHqw">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                  <block type="math_number" id="|~tgkuN@3F,B@fnf{G">
                                  <field name="NUM">40</field>
                                  </block>
                                  </value>
                                  </block>
                                  </statement>
                                  </block>
                                  </statement>
                                  <statement name="ELSE">
                                  <block type="comment" id="^ksDmSwf+EXR!.|1NHU?">
                                  <field name="COMMENT">Rolladen der Terrassentür wird durch schließen der Terrassentür ebenfalls geschlossen</field>
                                  <next>
                                  <block type="comment" id="y(BFsGJP?j5fVO20~6=0">
                                  <field name="COMMENT">Wenn alle anderen Rolladen ebenfalls verschlossen sind</field>
                                  <next>
                                  <block type="controls_if" id=":Af{QMfu#{MRB:w5i[Dx">
                                  <value name="IF0">
                                  <block type="logic_compare" id="|emPlsVSnBx^6le|82e|">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                  <block type="get_value" id="G~-)]2%9ZeuZvYGEc4"> <field name="ATTR">val</field> <field name="OID">hm-rega.0.7593</field> </block> </value> <value name="B"> <block type="math_number" id=".w6Xh[!@IcPHNgsbWbw">
                                  <field name="NUM">1</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="controls_if" id="P}?2ue7H#/Q@RM.:o~/I">
                                  <value name="IF0">
                                  <block type="logic_compare" id="n~qbMHVDBBBaKV#9}9kZ">
                                  <field name="OP">GT</field>
                                  <value name="A">
                                  <block type="get_value" id="L
                                  [pOa.y~yB,1iM@Un)t">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="math_number" id="vb1F!{{zwk/G1mcs^shm">
                                  <field name="NUM">0</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="control" id="[bi}.kofkjfswY2|Ee
                                  ,">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                  <block type="math_number" id="w42~amA;C,Dl3lJcDhgr">
                                  <field name="NUM">0</field>
                                  </block>
                                  </value>
                                  </block>
                                  </statement>
                                  <next>
                                  <block type="comment" id="95j::wTcj#3_VD#vB}d-">
                                  <field name="COMMENT">Sofern das Licht auf der Terrasse eingeschaltet war, wird es ausgeschaltet</field>
                                  <next>
                                  <block type="controls_if" id="W]}#MhXQ!%AhrXwmPo45">
                                  <value name="IF0">
                                  <block type="logic_compare" id="7m,u;LdeLY6xVwE?)=(E">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                  <block type="get_value" id="G:-:~=dbAg%1S6+u=vS">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="logic_boolean" id="p_xhlR(9|klSS@,Y]m;.">
                                  <field name="BOOL">TRUE</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="control" id="21_4j
                                  ~FI.CA=ytw0dkl">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                  <block type="logic_boolean" id="S-?9G23mEHWC7j=gn]Is">
                                  <field name="BOOL">FALSE</field>
                                  </block>
                                  </value>
                                  </block>
                                  </statement>
                                  <next>
                                  <block type="comment" id="B.~DeR_3dHQ[-l/v^*@"> <field name="COMMENT">Sofern die Steckdose der Terrasse eingeschaltet war, wird diese ausgeschaltet</field> <next> <block type="controls_if" id="-#zR)oGXP7tefe4Pgh|i"> <value name="IF0"> <block type="logic_compare" id="VHf7!XQ9=E{riEC0*}ky"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="ShwexER{_Sc3U^XkKfU">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                  </block>
                                  </value>
                                  <value name="B">
                                  <block type="logic_boolean" id="zVR;nFt#n=*QNyVT?IL,">
                                  <field name="BOOL">TRUE</field>
                                  </block>
                                  </value>
                                  </block>
                                  </value>
                                  <statement name="DO0">
                                  <block type="control" id="^-R.4u(oJLL+HrFzE4Vy">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                  <block type="logic_boolean" id="IFUjkVv%8GcAigKHZJ%r">
                                  <field name="BOOL">FALSE</field>
                                  </block>
                                  </value>
                                  </block>
                                  </statement>
                                  </block>
                                  </next>
                                  </block>
                                  </next>
                                  </block>
                                  </next>
                                  </block>
                                  </next>
                                  </block>
                                  </statement>
                                  </block>
                                  </next>
                                  </block>
                                  </next>
                                  </block>
                                  </statement>
                                  </block>
                                  </statement>
                                  </block>
                                  </xml>

                                  oder ?
                                  ich muss dadran basteln !
                                  ich muss meine eigenen Datenpunkte eintragen.

                                  BBTownB E 3 Replies Last reply
                                  0
                                  • E EFE

                                    @BBTown Vielen Dank,
                                    jetzt zum verständnis !
                                    Dieser Script ist zum Steuern der Rolladen
                                    Bild Text

                                    und dieser für den Fenster Kontakt Steuerung
                                    Bild Text


                                    <xml xmlns="http://www.w3.org/1999/xhtml">
                                    <block type="on_ext" id="}(GJM@hL_WGqGrc=8w/?" x="-212" y="-213">
                                    <mutation items="1"></mutation>
                                    <field name="CONDITION">ne</field>
                                    <field name="ACK_CONDITION"></field>
                                    <value name="OID0">
                                    <shadow type="field_oid" id="eX%{FY%1v=!Qqn.iM,@J">
                                    <field name="oid">hm-rpc.0.MEQ1234567.1.STATE</field>
                                    </shadow>
                                    </value>
                                    <statement name="STATEMENT">
                                    <block type="controls_if" id="4w0gzUO?@K-NOGYg7+r@">
                                    <mutation elseif="1" else="1"></mutation>
                                    <value name="IF0">
                                    <block type="logic_compare" id="Oom?srzbcRy)WcYq[UH+">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                    <block type="get_value" id="MQXWOArZuXwZ3dYIk"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%Tg8ve|k7J+w[Bv}?ghD"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="gz=8AcC1KO8_a*;YS4=A"> <field name="COMMENT">Rolladen der Terrassentür wird durch öffnen der Terrassentür ebenfalls geöffnet</field> <next> <block type="controls_if" id=";wh;FMUU^^!Utc[=^_wy"> <value name="IF0"> <block type="logic_compare" id="x-W?vDRT0BNhEBCT*_n="> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="X{-wM(v}1Y!JknTP=F|-"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field> </block> </value> <value name="B"> <block type="math_number" id="oZmBA,#RlGAi4RCuDfsb"> <field name="NUM">85</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="uD!0PTu/3joo[^2w8shG"> <mutation delay_input="false"></mutation> <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="nd+(CWJB4!K^OkS3idq">
                                    <field name="NUM">100</field>
                                    </block>
                                    </value>
                                    </block>
                                    </statement>
                                    <next>
                                    <block type="comment" id="gGP?{Jr*EmX|,Ki:RhG">
                                    <field name="COMMENT">Sofern es dunkel ist, wird zudem das Licht auf der Terrasse eingeschaltet</field>
                                    <next>
                                    <block type="controls_if" id="HT3pi:h5/3+@
                                    [sEH#n"> <value name="IF0"> <block type="logic_compare" id="Rf*ihJbquW];D]-f.NC="> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="/DEXxlR_Z0L6|3%k63nP"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.JEQ1234567.17.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%#0v7bA24?hSs::IpObR"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="}^-}DGLEB,u2%p@aFn-J"> <value name="IF0"> <block type="logic_compare" id="X{xe/C^B)4%RuFXdf">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                    <block type="get_value" id="jT/bcv25;,+Z@w9nD~">
                                    <field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                    </block>
                                    </value>
                                    <value name="B">
                                    <block type="logic_boolean" id="gUSPCYhI/J%OceX[Dd%R">
                                    <field name="BOOL">FALSE</field>
                                    </block>
                                    </value>
                                    </block>
                                    </value>
                                    <statement name="DO0">
                                    <block type="control" id="tYSXDVXW5F?L{R_ZW+W_">
                                    <mutation delay_input="false"></mutation>
                                    <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                    <block type="logic_boolean" id="lidnbx)JL/=G}EDOLTV"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="OyISy(j?S{8i?-~#I8y@" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="~hS[Cjr/R0l:ff]]uW#w"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="@lwKG;sSWO]FsRNncLb8"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="R)|X3p)o3/%[zU)4c1EK"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="LJ|_^U(3W3Ss8P]6afl^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="K2[m]1V@VS6vOcTYQ+u">
                                    <field name="ATTR">val</field>
                                    <field name="OID">hm-rega.0.7593</field>
                                    </block>
                                    </value>
                                    <value name="B">
                                    <block type="math_number" id="(/E(hHvGt^12C*/;tG"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="controls_if" id="8NNyZtz5wVuMEGm|yFQ">
                                    <value name="IF0">
                                    <block type="logic_compare" id="6Nd6=uptK*%0czHTU64V">
                                    <field name="OP">NEQ</field>
                                    <value name="A">
                                    <block type="get_value" id="=gF.CUJp%[N]5#]%:gYX">
                                    <field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                    </block>
                                    </value>
                                    <value name="B">
                                    <block type="math_number" id="7M}z!EExPaHZM[Qp|*#2">
                                    <field name="NUM">40</field>
                                    </block>
                                    </value>
                                    </block>
                                    </value>
                                    <statement name="DO0">
                                    <block type="control" id="eiD[xuc^*ifI}OLHqw">
                                    <mutation delay_input="false"></mutation>
                                    <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                    <block type="math_number" id="|~tgkuN@3F,B@fnf{G">
                                    <field name="NUM">40</field>
                                    </block>
                                    </value>
                                    </block>
                                    </statement>
                                    </block>
                                    </statement>
                                    <statement name="ELSE">
                                    <block type="comment" id="^ksDmSwf+EXR!.|1NHU?">
                                    <field name="COMMENT">Rolladen der Terrassentür wird durch schließen der Terrassentür ebenfalls geschlossen</field>
                                    <next>
                                    <block type="comment" id="y(BFsGJP?j5fVO20~6=0">
                                    <field name="COMMENT">Wenn alle anderen Rolladen ebenfalls verschlossen sind</field>
                                    <next>
                                    <block type="controls_if" id=":Af{QMfu#{MRB:w5i[Dx">
                                    <value name="IF0">
                                    <block type="logic_compare" id="|emPlsVSnBx^6le|82e|">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                    <block type="get_value" id="G~-)]2%9ZeuZvYGEc4"> <field name="ATTR">val</field> <field name="OID">hm-rega.0.7593</field> </block> </value> <value name="B"> <block type="math_number" id=".w6Xh[!@IcPHNgsbWbw">
                                    <field name="NUM">1</field>
                                    </block>
                                    </value>
                                    </block>
                                    </value>
                                    <statement name="DO0">
                                    <block type="controls_if" id="P}?2ue7H#/Q@RM.:o~/I">
                                    <value name="IF0">
                                    <block type="logic_compare" id="n~qbMHVDBBBaKV#9}9kZ">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                    <block type="get_value" id="L
                                    [pOa.y~yB,1iM@Un)t">
                                    <field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                    </block>
                                    </value>
                                    <value name="B">
                                    <block type="math_number" id="vb1F!{{zwk/G1mcs^shm">
                                    <field name="NUM">0</field>
                                    </block>
                                    </value>
                                    </block>
                                    </value>
                                    <statement name="DO0">
                                    <block type="control" id="[bi}.kofkjfswY2|Ee
                                    ,">
                                    <mutation delay_input="false"></mutation>
                                    <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                    <block type="math_number" id="w42~amA;C,Dl3lJcDhgr">
                                    <field name="NUM">0</field>
                                    </block>
                                    </value>
                                    </block>
                                    </statement>
                                    <next>
                                    <block type="comment" id="95j::wTcj#3_VD#vB}d-">
                                    <field name="COMMENT">Sofern das Licht auf der Terrasse eingeschaltet war, wird es ausgeschaltet</field>
                                    <next>
                                    <block type="controls_if" id="W]}#MhXQ!%AhrXwmPo45">
                                    <value name="IF0">
                                    <block type="logic_compare" id="7m,u;LdeLY6xVwE?)=(E">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                    <block type="get_value" id="G:-:~=dbAg%1S6+u=vS">
                                    <field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                    </block>
                                    </value>
                                    <value name="B">
                                    <block type="logic_boolean" id="p_xhlR(9|klSS@,Y]m;.">
                                    <field name="BOOL">TRUE</field>
                                    </block>
                                    </value>
                                    </block>
                                    </value>
                                    <statement name="DO0">
                                    <block type="control" id="21_4j
                                    ~FI.CA=ytw0dkl">
                                    <mutation delay_input="false"></mutation>
                                    <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                    <block type="logic_boolean" id="S-?9G23mEHWC7j=gn]Is">
                                    <field name="BOOL">FALSE</field>
                                    </block>
                                    </value>
                                    </block>
                                    </statement>
                                    <next>
                                    <block type="comment" id="B.~DeR_3dHQ[-l/v^*@"> <field name="COMMENT">Sofern die Steckdose der Terrasse eingeschaltet war, wird diese ausgeschaltet</field> <next> <block type="controls_if" id="-#zR)oGXP7tefe4Pgh|i"> <value name="IF0"> <block type="logic_compare" id="VHf7!XQ9=E{riEC0*}ky"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="ShwexER{_Sc3U^XkKfU">
                                    <field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                    </block>
                                    </value>
                                    <value name="B">
                                    <block type="logic_boolean" id="zVR;nFt#n=*QNyVT?IL,">
                                    <field name="BOOL">TRUE</field>
                                    </block>
                                    </value>
                                    </block>
                                    </value>
                                    <statement name="DO0">
                                    <block type="control" id="^-R.4u(oJLL+HrFzE4Vy">
                                    <mutation delay_input="false"></mutation>
                                    <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                    <block type="logic_boolean" id="IFUjkVv%8GcAigKHZJ%r">
                                    <field name="BOOL">FALSE</field>
                                    </block>
                                    </value>
                                    </block>
                                    </statement>
                                    </block>
                                    </next>
                                    </block>
                                    </next>
                                    </block>
                                    </next>
                                    </block>
                                    </next>
                                    </block>
                                    </statement>
                                    </block>
                                    </next>
                                    </block>
                                    </next>
                                    </block>
                                    </statement>
                                    </block>
                                    </statement>
                                    </block>
                                    </xml>

                                    oder ?
                                    ich muss dadran basteln !
                                    ich muss meine eigenen Datenpunkte eintragen.

                                    BBTownB Offline
                                    BBTownB Offline
                                    BBTown
                                    wrote on last edited by
                                    #17

                                    @EFE das sind doch beides die gleichen?!

                                    ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                                    E 1 Reply Last reply
                                    0
                                    • BBTownB BBTown

                                      @EFE das sind doch beides die gleichen?!

                                      E Offline
                                      E Offline
                                      EFE
                                      wrote on last edited by
                                      #18

                                      @BBTown said in Blockly Script mit Button Starten und Stoppen?:

                                      @EFE das sind doch beides die gleichen?!

                                      stimmt...:)
                                      ich meinte
                                      alt text

                                      BBTownB 1 Reply Last reply
                                      0
                                      • E EFE

                                        @BBTown said in Blockly Script mit Button Starten und Stoppen?:

                                        @EFE das sind doch beides die gleichen?!

                                        stimmt...:)
                                        ich meinte
                                        alt text

                                        BBTownB Offline
                                        BBTownB Offline
                                        BBTown
                                        wrote on last edited by
                                        #19

                                        @EFE und zu was ?
                                        zu 1 oder zu 2?

                                        ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                                        1 Reply Last reply
                                        0
                                        • E EFE

                                          @BBTown Vielen Dank,
                                          jetzt zum verständnis !
                                          Dieser Script ist zum Steuern der Rolladen
                                          Bild Text

                                          und dieser für den Fenster Kontakt Steuerung
                                          Bild Text


                                          <xml xmlns="http://www.w3.org/1999/xhtml">
                                          <block type="on_ext" id="}(GJM@hL_WGqGrc=8w/?" x="-212" y="-213">
                                          <mutation items="1"></mutation>
                                          <field name="CONDITION">ne</field>
                                          <field name="ACK_CONDITION"></field>
                                          <value name="OID0">
                                          <shadow type="field_oid" id="eX%{FY%1v=!Qqn.iM,@J">
                                          <field name="oid">hm-rpc.0.MEQ1234567.1.STATE</field>
                                          </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                          <block type="controls_if" id="4w0gzUO?@K-NOGYg7+r@">
                                          <mutation elseif="1" else="1"></mutation>
                                          <value name="IF0">
                                          <block type="logic_compare" id="Oom?srzbcRy)WcYq[UH+">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                          <block type="get_value" id="MQXWOArZuXwZ3dYIk"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%Tg8ve|k7J+w[Bv}?ghD"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="gz=8AcC1KO8_a*;YS4=A"> <field name="COMMENT">Rolladen der Terrassentür wird durch öffnen der Terrassentür ebenfalls geöffnet</field> <next> <block type="controls_if" id=";wh;FMUU^^!Utc[=^_wy"> <value name="IF0"> <block type="logic_compare" id="x-W?vDRT0BNhEBCT*_n="> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="X{-wM(v}1Y!JknTP=F|-"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field> </block> </value> <value name="B"> <block type="math_number" id="oZmBA,#RlGAi4RCuDfsb"> <field name="NUM">85</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="uD!0PTu/3joo[^2w8shG"> <mutation delay_input="false"></mutation> <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="nd+(CWJB4!K^OkS3idq">
                                          <field name="NUM">100</field>
                                          </block>
                                          </value>
                                          </block>
                                          </statement>
                                          <next>
                                          <block type="comment" id="gGP?{Jr*EmX|,Ki:RhG">
                                          <field name="COMMENT">Sofern es dunkel ist, wird zudem das Licht auf der Terrasse eingeschaltet</field>
                                          <next>
                                          <block type="controls_if" id="HT3pi:h5/3+@
                                          [sEH#n"> <value name="IF0"> <block type="logic_compare" id="Rf*ihJbquW];D]-f.NC="> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="/DEXxlR_Z0L6|3%k63nP"> <field name="ATTR">val</field> <field name="OID">hm-rpc.1.JEQ1234567.17.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%#0v7bA24?hSs::IpObR"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="}^-}DGLEB,u2%p@aFn-J"> <value name="IF0"> <block type="logic_compare" id="X{xe/C^B)4%RuFXdf">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                          <block type="get_value" id="jT/bcv25;,+Z@w9nD~">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="logic_boolean" id="gUSPCYhI/J%OceX[Dd%R">
                                          <field name="BOOL">FALSE</field>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          <statement name="DO0">
                                          <block type="control" id="tYSXDVXW5F?L{R_ZW+W_">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                          <block type="logic_boolean" id="lidnbx)JL/=G}EDOLTV"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="OyISy(j?S{8i?-~#I8y@" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="~hS[Cjr/R0l:ff]]uW#w"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="@lwKG;sSWO]FsRNncLb8"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.MEQ1234567.1.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="R)|X3p)o3/%[zU)4c1EK"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="LJ|_^U(3W3Ss8P]6afl^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="K2[m]1V@VS6vOcTYQ+u">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rega.0.7593</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="math_number" id="(/E(hHvGt^12C*/;tG"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="controls_if" id="8NNyZtz5wVuMEGm|yFQ">
                                          <value name="IF0">
                                          <block type="logic_compare" id="6Nd6=uptK*%0czHTU64V">
                                          <field name="OP">NEQ</field>
                                          <value name="A">
                                          <block type="get_value" id="=gF.CUJp%[N]5#]%:gYX">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="math_number" id="7M}z!EExPaHZM[Qp|*#2">
                                          <field name="NUM">40</field>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          <statement name="DO0">
                                          <block type="control" id="eiD[xuc^*ifI}OLHqw">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                          <block type="math_number" id="|~tgkuN@3F,B@fnf{G">
                                          <field name="NUM">40</field>
                                          </block>
                                          </value>
                                          </block>
                                          </statement>
                                          </block>
                                          </statement>
                                          <statement name="ELSE">
                                          <block type="comment" id="^ksDmSwf+EXR!.|1NHU?">
                                          <field name="COMMENT">Rolladen der Terrassentür wird durch schließen der Terrassentür ebenfalls geschlossen</field>
                                          <next>
                                          <block type="comment" id="y(BFsGJP?j5fVO20~6=0">
                                          <field name="COMMENT">Wenn alle anderen Rolladen ebenfalls verschlossen sind</field>
                                          <next>
                                          <block type="controls_if" id=":Af{QMfu#{MRB:w5i[Dx">
                                          <value name="IF0">
                                          <block type="logic_compare" id="|emPlsVSnBx^6le|82e|">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                          <block type="get_value" id="G~-)]2%9ZeuZvYGEc4"> <field name="ATTR">val</field> <field name="OID">hm-rega.0.7593</field> </block> </value> <value name="B"> <block type="math_number" id=".w6Xh[!@IcPHNgsbWbw">
                                          <field name="NUM">1</field>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          <statement name="DO0">
                                          <block type="controls_if" id="P}?2ue7H#/Q@RM.:o~/I">
                                          <value name="IF0">
                                          <block type="logic_compare" id="n~qbMHVDBBBaKV#9}9kZ">
                                          <field name="OP">GT</field>
                                          <value name="A">
                                          <block type="get_value" id="L
                                          [pOa.y~yB,1iM@Un)t">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="math_number" id="vb1F!{{zwk/G1mcs^shm">
                                          <field name="NUM">0</field>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          <statement name="DO0">
                                          <block type="control" id="[bi}.kofkjfswY2|Ee
                                          ,">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hm-rpc.1.KEQ1234567.3.LEVEL</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                          <block type="math_number" id="w42~amA;C,Dl3lJcDhgr">
                                          <field name="NUM">0</field>
                                          </block>
                                          </value>
                                          </block>
                                          </statement>
                                          <next>
                                          <block type="comment" id="95j::wTcj#3_VD#vB}d-">
                                          <field name="COMMENT">Sofern das Licht auf der Terrasse eingeschaltet war, wird es ausgeschaltet</field>
                                          <next>
                                          <block type="controls_if" id="W]}#MhXQ!%AhrXwmPo45">
                                          <value name="IF0">
                                          <block type="logic_compare" id="7m,u;LdeLY6xVwE?)=(E">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                          <block type="get_value" id="G:-:~=dbAg%1S6+u=vS">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="logic_boolean" id="p_xhlR(9|klSS@,Y]m;.">
                                          <field name="BOOL">TRUE</field>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          <statement name="DO0">
                                          <block type="control" id="21_4j
                                          ~FI.CA=ytw0dkl">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hm-rpc.1.JEQ1234567.16.STATE</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                          <block type="logic_boolean" id="S-?9G23mEHWC7j=gn]Is">
                                          <field name="BOOL">FALSE</field>
                                          </block>
                                          </value>
                                          </block>
                                          </statement>
                                          <next>
                                          <block type="comment" id="B.~DeR_3dHQ[-l/v^*@"> <field name="COMMENT">Sofern die Steckdose der Terrasse eingeschaltet war, wird diese ausgeschaltet</field> <next> <block type="controls_if" id="-#zR)oGXP7tefe4Pgh|i"> <value name="IF0"> <block type="logic_compare" id="VHf7!XQ9=E{riEC0*}ky"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="ShwexER{_Sc3U^XkKfU">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="logic_boolean" id="zVR;nFt#n=*QNyVT?IL,">
                                          <field name="BOOL">TRUE</field>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          <statement name="DO0">
                                          <block type="control" id="^-R.4u(oJLL+HrFzE4Vy">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hm-rpc.1.KEQ1234567.3.STATE</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                          <block type="logic_boolean" id="IFUjkVv%8GcAigKHZJ%r">
                                          <field name="BOOL">FALSE</field>
                                          </block>
                                          </value>
                                          </block>
                                          </statement>
                                          </block>
                                          </next>
                                          </block>
                                          </next>
                                          </block>
                                          </next>
                                          </block>
                                          </next>
                                          </block>
                                          </statement>
                                          </block>
                                          </next>
                                          </block>
                                          </next>
                                          </block>
                                          </statement>
                                          </block>
                                          </statement>
                                          </block>
                                          </xml>

                                          oder ?
                                          ich muss dadran basteln !
                                          ich muss meine eigenen Datenpunkte eintragen.

                                          BBTownB Offline
                                          BBTownB Offline
                                          BBTown
                                          wrote on last edited by
                                          #20

                                          @EFE hier steht es doch ausführlich

                                          ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          624

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe