Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Blocky script

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Blocky script

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Chrunchy @ingenii last edited by

      @ingenii sagte in Blocky script:

      @dom-sch
      wahrscheinlich hast du recht, ich werde das von wurde geändert auf wurde aktualisiert erden .

      Das macht aus meiner Sicht keinen Sinn. bei Aktualisierung ohne Änderung brauchst du die Werte nicht neu setzten. es hat sich nichts geändert.

      I 1 Reply Last reply Reply Quote 0
      • I
        ingenii @Chrunchy last edited by

        @chrunchy

        Jetzt passt ,

        Danke für Hilfe

        J 1 Reply Last reply Reply Quote 0
        • J
          Jan1 @ingenii last edited by

          @ingenii
          Die "Binde" Blöcke machen kein Sinn an der Stelle, da die selbst triggernd sind und somit die FALLS außen rum nutzlos ist.
          Sobald sich das erste Opjekt darin ändert, zieht das zweit mit, egal was drum herum gebaut wird 😉

          1 Reply Last reply Reply Quote 0
          • Cinimod
            Cinimod Most Active @ingenii last edited by Cinimod

            @ingenii

            ne das ist quatsch, nicht auf aktualisiert tiggern, wozu das Skrip durch rennen lassen wenn sich nichts geändert hat

            1 Reply Last reply Reply Quote 0
            • I
              ingenii last edited by ingenii

              Hallo ich noch ein Problem wen jemand zeit hat:
              Dieser Script ist jetzt von aktoren als beispiel.
              Ich brauche heitzung steuern nach temp in Wohnzimmer aber wen ich ein Fenster öffne soll sich das abdrehen und wen wieder zu ist starten.Bei ersten Start von Script hat das funkcionier Fenster offen Licht war aus. Das hat aber nur 1xfunkcioniert Neustart von Script hat nichts gebracht, hat jemand eine Idee?
              Danke
              Unbenannt.JPG

              Asgothian 1 Reply Last reply Reply Quote 0
              • Asgothian
                Asgothian Developer @ingenii last edited by

                @ingenii

                Trigger im Trigger geht gar nicht.

                Was du tun solltest:

                • einen Trigger auf Fenster auf. Darin: Heizung aus
                • im Trigger auf Anpassung der soll-temperatur als erstes den State Fenster auf abfragen. Ist das Fenster offen machst du nix. Ist das Fenster zu, regelst du normal.

                A.

                I 1 Reply Last reply Reply Quote 0
                • I
                  ingenii @Asgothian last edited by

                  @asgothian

                  So eine kleinigkeit und jetzt funktioniert alles,

                  Danke

                  1 Reply Last reply Reply Quote 0
                  • I
                    ingenii last edited by

                    Hallo, hab noch ein problem,
                    hab in raum 2 schalter Sonoff T2 , lich

                    Cinimod 1 Reply Last reply Reply Quote 0
                    • Cinimod
                      Cinimod Most Active @ingenii last edited by

                      @ingenii
                      und was ist das Problem ?

                      I 1 Reply Last reply Reply Quote 0
                      • I
                        ingenii @Cinimod last edited by

                        @cinimod
                        Sorry hab das nicht zu ende geschrieben.

                        hab Gang mit sonoff T2, mit dem das ich nur von eine Seite Lampe einschalten kann wegen Verkabelung, muss ich der 2 Schalter als virtuell Schalter nehmen.
                        Ich will aber wen ich auf eine Seite einschalte dann muss sich auch der andere Schalter einschalten und umgekehrt .
                        ich hab da so bis jetzt nur so gemacht
                        111.JPG

                        das Problem ist das manchmal kommt zu loop!!
                        es geht sicher auch anders kann mir jemmand helfen weil meine Frau werde ich mich irgendwann ...

                        Danke

                        Cinimod 1 Reply Last reply Reply Quote 0
                        • Cinimod
                          Cinimod Most Active @ingenii last edited by

                          @ingenii

                          wenn ich es richtig verstanden habe, hast du zwei SonoffT2 und schaltest die selbe Leuchte damit ja ?!

                          Zeig mal dein aktuelles Skript her bitte.

                          I 1 Reply Last reply Reply Quote 0
                          • I
                            ingenii @Cinimod last edited by

                            @cinimod
                            Das ist das ganzes script.
                            es das ist korrekt ich schalte Licht Esszimmer mit ersten sonoff zb. links und von andere Seite zb. rechts das selbe licht.
                            aber hab ich kein kable dort.
                            wichtig ist das wen ich T2_Licht_Esszimmer_power1 einschalte das gleichzeitig auch bei T3_licht Küche_power1 an geht.
                            wen ich wieder bei T3 das licht abdrehen will muss gleichzeitig bei T2... auch power1 aus gehen.

                            Es ist kompliziert aber ich hoffe das du das verstanden hat.

                            Danke

                            Cinimod 1 Reply Last reply Reply Quote 0
                            • Cinimod
                              Cinimod Most Active @ingenii last edited by Cinimod

                              @ingenii

                              Ich denke du brauchst einen Trigger, ist mir unverständlich wie das bisher funktioniert haben soll.

                              Vorschlag:

                              Screenshot 2021-10-11 225944.png

                              1 Reply Last reply Reply Quote 0
                              • I
                                ingenii last edited by ingenii

                                @cinimod

                                Hallo,
                                von der Logik ist der Script richtig aber es funktioniert nicht richtig.
                                wen ich am Schalter 1 einschalte geht das licht an und dann sofort aus, das gleiche mach das bei Schalter 2, bei 2 mal einschalten bleib das an und dann mach das gleiche licht geht an und das sofort aus erst bei nächstem einstellten bleib das an.Hab probiert auch mit Steuere oder aktualisiere.Hab vielleicht ein Typ fehler?
                                licht.JPG

                                Cinimod 2 Replies Last reply Reply Quote 0
                                • Cinimod
                                  Cinimod Most Active @ingenii last edited by

                                  @ingenii

                                  glaube der Fehler liegt bei mir, muss noch mal drüber schauen ... gib mir nen moment

                                  I 1 Reply Last reply Reply Quote 0
                                  • I
                                    ingenii @Cinimod last edited by

                                    @cinimod
                                    Du bitte kein Stress.

                                    hab noch eine bitte wen du dann zeit hast.
                                    Hab wand Termostat Homematic, un ich will die ACTUAL_TEMPERATURE mit SET_POINT_TEMPERATURE abfragen und ein sonoff schalten.
                                    Meine Idee ist hier aber es funktioniert nicht:

                                    temp.JPG

                                    Cinimod 1 Reply Last reply Reply Quote 0
                                    • Cinimod
                                      Cinimod Most Active @ingenii last edited by

                                      @ingenii

                                      mein script war quatsch, magst mir einmal dein script code in nem code tag </> hier geben ? dann bastel ich dir das eben richtig ...

                                      Du hast auch die abfragen vertauscht, und das mit dem umschalten wir auch nicht gehen ... dann haben wir nen Teufelskreis 😲

                                      I 1 Reply Last reply Reply Quote 0
                                      • I
                                        ingenii @Cinimod last edited by

                                        @cinimod said in Blocky script:

                                        nem code tag </>

                                        ich hoffe du meinst das:

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                        <block type="comment" id="P*;A,KQ(tX3;?;KS_6UG" x="163" y="-562">
                                        <field name="COMMENT">Schalter_Wohnzimmer</field>
                                        <next>
                                        <block type="on_ext" id="Sz;+_7H0(F[ov}Ci4Cb">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                        <field name="CONDITION">ne</field>
                                        <field name="ACK_CONDITION"></field>
                                        <value name="OID0">
                                        <shadow type="field_oid" id="M+,9mrkPy(Z-}QTxV#3"> <field name="oid">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="~$tqKw0v!N/dA)!Ho[?w"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="dqm-1)9tfpy,n1k4R6Fh" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="on_source" id="[dk0f8)1NzVSrDL2E:t">
                                        <field name="ATTR">state.val</field>
                                        </block>
                                        </value>
                                        <value name="B">
                                        <block type="logic_compare" id="v^)!{Wp4W+}hJOYw_T0U">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                        <block type="get_value" id="dL@U7KuLNxkLxO]RWOyy">
                                        <field name="ATTR">val</field>
                                        <field name="OID">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field>
                                        </block>
                                        </value>
                                        <value name="B">
                                        <block type="logic_boolean" id="/7@jg.F8b~Z/:y?8M[9
                                        ">
                                        <field name="BOOL">FALSE</field>
                                        </block>
                                        </value>
                                        </block>
                                        </value>
                                        </block>
                                        </value>
                                        <statement name="DO0">
                                        <block type="toggle" id="bJ9bH}(2Wm~q9LzRD_Nj">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">sonoff.0.T2_Licht_Esszimmer.POWER2</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        </block>
                                        </statement>
                                        <value name="IF1">
                                        <block type="logic_operation" id="iUk{10.nE;.2D5:I.ytr" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                        <block type="on_source" id="3:.Duo69DRgp:fYw}5)G">
                                        <field name="ATTR">state.val</field>
                                        </block>
                                        </value>
                                        <value name="B">
                                        <block type="logic_compare" id="6dO!TAA^qdbrgzJXhXg4">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                        <block type="get_value" id="Vn,(UJBMsIil/w)6~rMk">
                                        <field name="ATTR">val</field>
                                        <field name="OID">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field>
                                        </block>
                                        </value>
                                        <value name="B">
                                        <block type="logic_boolean" id="-K)tTaiBRH%0{6lKIiPx">
                                        <field name="BOOL">TRUE</field>
                                        </block>
                                        </value>
                                        </block>
                                        </value>
                                        </block>
                                        </value>
                                        <statement name="DO1">
                                        <block type="toggle" id="r2m}E~{3^j(yQe?a7ldD">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">sonoff.0.T2_Licht_Esszimmer.POWER2</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        </block>
                                        </statement>
                                        </block>
                                        </statement>
                                        <next>
                                        <block type="comment" id=")W(XRelQPFAKVgN}~.Wk">
                                        <field name="COMMENT">Schalter_Esszimmer</field>
                                        <next>
                                        <block type="on_ext" id="(,jQ%[M{b3hvfYjfS``">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                        <field name="CONDITION">ne</field>
                                        <field name="ACK_CONDITION"></field>
                                        <value name="OID0">
                                        <shadow type="field_oid" id="?QKwMzNq}Hxx-]]qF0Du">
                                        <field name="oid">sonoff.0.T2_Licht_Esszimmer.POWER2</field>
                                        </shadow>
                                        </value>
                                        <statement name="STATEMENT">
                                        <block type="controls_if" id="[[:VFdkVsFd_Oe1YVNM$">
                                        <mutation elseif="1"></mutation>
                                        <value name="IF0">
                                        <block type="logic_operation" id="xiw9/tUrHsjD^,9#k/c)" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                        <block type="on_source" id="bFycJMH@bpq5[c;S|kE,">
                                        <field name="ATTR">state.val</field>
                                        </block>
                                        </value>
                                        <value name="B">
                                        <block type="logic_compare" id="unXz-MOp%8L?:F#WM.iq">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                        <block type="get_value" id="WXRZH1l$+6gr^0mZ8Y93">
                                        <field name="ATTR">val</field>
                                        <field name="OID">sonoff.0.T2_Licht_Esszimmer.POWER2</field>
                                        </block>
                                        </value>
                                        <value name="B">
                                        <block type="logic_boolean" id="P^F~J205VrKo$N=Y9~">
                                        <field name="BOOL">FALSE</field>
                                        </block>
                                        </value>
                                        </block>
                                        </value>
                                        </block>
                                        </value>
                                        <statement name="DO0">
                                        <block type="toggle" id="Dp@{[/Dsd7c,)T-(v|)T">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        </block>
                                        </statement>
                                        <value name="IF1">
                                        <block type="logic_operation" id="u0r_cDJj];wyzz./j1!x" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                        <block type="on_source" id="QjL93SgJilwgs]-}
                                        X4"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="logic_compare" id="^*0[l^Oe3[L;MIP|MU=3"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="aM;tl~-XR|n*x({oo#*j"> <field name="ATTR">val</field> <field name="OID">sonoff.0.T2_Licht_Esszimmer.POWER2</field> </block> </value> <value name="B"> <block type="logic_boolean" id="k([n(K:Pep;{t1]B|1-9"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="toggle" id="5Cu+[iqdqikdq5`FJEM">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        </block>
                                        </statement>
                                        </block>
                                        </statement>
                                        </block>
                                        </next>
                                        </block>
                                        </next>
                                        </block>
                                        </next>
                                        </block>
                                        </xml>

                                        Cinimod 3 Replies Last reply Reply Quote 0
                                        • Cinimod
                                          Cinimod Most Active @ingenii last edited by

                                          @ingenii

                                          ja den code meinte ich, besser aber hier rein posten bitte das nächste mal:

                                          Bildschirmfoto 2021-10-16 um 22.57.04.png

                                          sieht dann so aus:

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                          <block type="comment" id="P*;A,KQ(tX3;?;KS_6UG" x="163" y="-562">
                                          <field name="COMMENT">Schalter_Wohnzimmer</field>
                                          <next>
                                          <block type="on_ext" id="Sz;+_7H0(F[ov}Ci4Cb">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                          <field name="CONDITION">ne</field>
                                          <field name="ACK_CONDITION"></field>
                                          <value name="OID0">
                                          <shadow type="field_oid" id="M+,9mrkPy(Z-}QTxV#3"> <field name="oid">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="~$tqKw0v!N/dA)!Ho[?w"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="dqm-1)9tfpy,n1k4R6Fh" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="on_source" id="[dk0f8)1NzVSrDL2E:t">
                                          <field name="ATTR">state.val</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="logic_compare" id="v^)!{Wp4W+}hJOYw_T0U">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                          <block type="get_value" id="dL@U7KuLNxkLxO]RWOyy">
                                          <field name="ATTR">val</field>
                                          <field name="OID">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="logic_boolean" id="/7@jg.F8b~Z/:y?8M[9">
                                          <field name="BOOL">FALSE</field>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          <statement name="DO0">
                                          <block type="toggle" id="bJ9bH}(2Wm~q9LzRD_Nj">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">sonoff.0.T2_Licht_Esszimmer.POWER2</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          </block>
                                          </statement>
                                          <value name="IF1">
                                          <block type="logic_operation" id="iUk{10.nE;.2D5:I.ytr" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                          <block type="on_source" id="3:.Duo69DRgp:fYw}5)G">
                                          <field name="ATTR">state.val</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="logic_compare" id="6dO!TAA^qdbrgzJXhXg4">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                          <block type="get_value" id="Vn,(UJBMsIil/w)6~rMk">
                                          <field name="ATTR">val</field>
                                          <field name="OID">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="logic_boolean" id="-K)tTaiBRH%0{6lKIiPx">
                                          <field name="BOOL">TRUE</field>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          <statement name="DO1">
                                          <block type="toggle" id="r2m}E~{3^j(yQe?a7ldD">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">sonoff.0.T2_Licht_Esszimmer.POWER2</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          </block>
                                          </statement>
                                          </block>
                                          </statement>
                                          <next>
                                          <block type="comment" id=")W(XRelQPFAKVgN}~.Wk">
                                          <field name="COMMENT">Schalter_Esszimmer</field>
                                          <next>
                                          <block type="on_ext" id="(,jQ%[M{b3hvfYjfS``">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                          <field name="CONDITION">ne</field>
                                          <field name="ACK_CONDITION"></field>
                                          <value name="OID0">
                                          <shadow type="field_oid" id="?QKwMzNq}Hxx-]]qF0Du">
                                          <field name="oid">sonoff.0.T2_Licht_Esszimmer.POWER2</field>
                                          </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                          <block type="controls_if" id="[[:VFdkVsFd_Oe1YVNM$">
                                          <mutation elseif="1"></mutation>
                                          <value name="IF0">
                                          <block type="logic_operation" id="xiw9/tUrHsjD^,9#k/c)" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                          <block type="on_source" id="bFycJMH@bpq5[c;S|kE,">
                                          <field name="ATTR">state.val</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="logic_compare" id="unXz-MOp%8L?:F#WM.iq">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                          <block type="get_value" id="WXRZH1l$+6gr^0mZ8Y93">
                                          <field name="ATTR">val</field>
                                          <field name="OID">sonoff.0.T2_Licht_Esszimmer.POWER2</field>
                                          </block>
                                          </value>
                                          <value name="B">
                                          <block type="logic_boolean" id="P^F~J205VrKo$N=Y9~">
                                          <field name="BOOL">FALSE</field>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          </block>
                                          </value>
                                          <statement name="DO0">
                                          <block type="toggle" id="Dp@{[/Dsd7c,)T-(v|)T">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          </block>
                                          </statement>
                                          <value name="IF1">
                                          <block type="logic_operation" id="u0r_cDJj];wyzz./j1!x" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                          <block type="on_source" id="QjL93SgJilwgs]-}X4"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="logic_compare" id="^*0[l^Oe3[L;MIP|MU=3"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="aM;tl~-XR|n*x({oo#*j"> <field name="ATTR">val</field> <field name="OID">sonoff.0.T2_Licht_Esszimmer.POWER2</field> </block> </value> <value name="B"> <block type="logic_boolean" id="k([n(K:Pep;{t1]B|1-9"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="toggle" id="5Cu+[iqdqikdq5`FJEM">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          </block>
                                          </statement>
                                          </block>
                                          </statement>
                                          </block>
                                          </next>
                                          </block>
                                          </next>
                                          </block>
                                          </next>
                                          </block>
                                          </xml>
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • Cinimod
                                            Cinimod Most Active @ingenii last edited by Cinimod

                                            @ingenii

                                            Screenshot 2021-10-16 232253.png
                                            Hier jetzt der geänderte Code, habe dir Markiert welche Objekte du noch setzen musst. Einfach den ganzen Code importieren in dein Skript und alles andere löschen.

                                            <xml xmlns="https://developers.google.com/blockly/xml">
                                              <block type="comment" id="P*;A,KQ(tX3;?;KS_6UG" x="-137" y="-562">
                                                <field name="COMMENT">Schalter_Wohnzimmer</field>
                                                <next>
                                                  <block type="on_ext" id="Sz;+_7H0(F[ov}Ci4Cb">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                    <field name="CONDITION">ne</field>
                                                    <field name="ACK_CONDITION"></field>
                                                    <value name="OID0">
                                                      <shadow type="field_oid" id="M+,9mrkPy(Z-}QTxV#3">
                                                        <field name="oid">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field>
                                                      </shadow>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="controls_if" id="~$tqKw0v!N/dA)!Ho[?w">
                                                        <mutation elseif="1"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_operation" id="dqm-1)9tfpy,n1k4R6Fh" inline="false">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="on_source" id="[dk0f8)1NzVSrDL2E:t">
                                                                <field name="ATTR">state.val</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_compare" id="v^)!{Wp4W+}hJOYw_T0U">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="WXRZH1l$+6gr^0mZ8Y93">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">sonoff.0.T2_Licht_Esszimmer.POWER2</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="/7@jg.F8b~Z/:y?8M[9">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="comment" id="$z[0qyCGmyGurpdGPJSV">
                                                            <field name="COMMENT">objekt_Schalter_Esszimmer</field>
                                                            <next>
                                                              <block type="control" id="X3!T(--(aVU`39kJ?2Gs">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">Object ID</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="DjK:xaj:hIbT$CvbNDfn">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                        <value name="IF1">
                                                          <block type="logic_operation" id="iUk{10.nE;.2D5:I.ytr" inline="false">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_negate" id="21KS;K_v%@}C5@ayps|Q">
                                                                <value name="BOOL">
                                                                  <block type="on_source" id="3:.Duo69DRgp:fYw}5)G">
                                                                    <field name="ATTR">state.val</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_compare" id="6dO!TAA^qdbrgzJXhXg4">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="aM;tl~-XR|n*x({oo#*j">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">sonoff.0.T2_Licht_Esszimmer.POWER2</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="-K)tTaiBRH%0{6lKIiPx">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO1">
                                                          <block type="comment" id="iz|=lS`D.v^/:XJTJ])!">
                                                            <field name="COMMENT">objekt_Schalter_Esszimmer</field>
                                                            <next>
                                                              <block type="control" id="2VYsMV}9l`Xm/AwKNv!|">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">Object ID</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="GHDD6$ep4~((%AP-Uv6s">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="comment" id=")W(XRelQPFAKVgN}~.Wk">
                                                        <field name="COMMENT">Schalter_Esszimmer</field>
                                                        <next>
                                                          <block type="on_ext" id="(,jQ%[M{b3hvfYjfS``">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                            <field name="CONDITION">ne</field>
                                                            <field name="ACK_CONDITION"></field>
                                                            <value name="OID0">
                                                              <shadow type="field_oid" id="?QKwMzNq}Hxx-]]qF0Du">
                                                                <field name="oid">sonoff.0.T2_Licht_Esszimmer.POWER2</field>
                                                              </shadow>
                                                            </value>
                                                            <statement name="STATEMENT">
                                                              <block type="controls_if" id="[[:VFdkVsFd_Oe1YVNM$">
                                                                <mutation elseif="1"></mutation>
                                                                <value name="IF0">
                                                                  <block type="logic_operation" id="xiw9/tUrHsjD^,9#k/c)" inline="false">
                                                                    <field name="OP">AND</field>
                                                                    <value name="A">
                                                                      <block type="on_source" id="bFycJMH@bpq5[c;S|kE,">
                                                                        <field name="ATTR">state.val</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_compare" id="unXz-MOp%8L?:F#WM.iq">
                                                                        <field name="OP">EQ</field>
                                                                        <value name="A">
                                                                          <block type="get_value" id="dL@U7KuLNxkLxO]RWOyy">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_boolean" id="P^F~J205VrKo$N=Y9~">
                                                                            <field name="BOOL">FALSE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="comment" id="CUBEmL,@A*0qmYY`;M?S">
                                                                    <field name="COMMENT">objekt_Schalter_Wohn_Esszimmer</field>
                                                                    <next>
                                                                      <block type="control" id="Uy/iuVj2((bFMLfXAwv}">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">Object ID</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="logic_boolean" id="u2~EkyE1rb(]M^YLx(i-">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                                <value name="IF1">
                                                                  <block type="logic_operation" id="u0r_cDJj];wyzz./j1!x" inline="false">
                                                                    <field name="OP">AND</field>
                                                                    <value name="A">
                                                                      <block type="logic_negate" id="B]z!|)u#9me:N`|@XSLm">
                                                                        <value name="BOOL">
                                                                          <block type="on_source" id="QjL93SgJilwgs]-}X4">
                                                                            <field name="ATTR">state.val</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_compare" id="^*0[l^Oe3[L;MIP|MU=3">
                                                                        <field name="OP">EQ</field>
                                                                        <value name="A">
                                                                          <block type="get_value" id="Vn,(UJBMsIil/w)6~rMk">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">sonoff.0.T3_Wohn_Ess_Licht.POWER1</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_boolean" id="k([n(K:Pep;{t1]B|1-9">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO1">
                                                                  <block type="comment" id="{L@Q.%tH1}pRZg15sOYb">
                                                                    <field name="COMMENT">objekt_Schalter_Wohn_Esszimmer</field>
                                                                    <next>
                                                                      <block type="control" id="l8]#i{OGW(+lM.,*0wbm">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">Object ID</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="logic_boolean" id="yVl?wf[T7pzc_|41xDk]">
                                                                            <field name="BOOL">FALSE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </xml>
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            835
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            86
                                            5045
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo