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. 3 Werte vergleichen

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

3 Werte vergleichen

Scheduled Pinned Locked Moved Blockly
10 Posts 4 Posters 521 Views 2 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.
  • actionbyteA Offline
    actionbyteA Offline
    actionbyte
    wrote on last edited by
    #1

    Hallo,
    ich muss 3 Datenpunkte vergleichen. Es ist egal ob alle 3 "on" oder "off" sind, Hauptsache gleich.
    Wenn ich "nur" zwei DP vergleiche geht das mit "wenn DB1 = DB2"
    Mit drei Datenpunkten kann ich "gleich" nicht zwei mal verwenden, die Bedingung unter "sonst falls" wird nie erfüllt:

    Was mache ich falsch?

    paul53P 1 Reply Last reply
    0
    • actionbyteA actionbyte

      Hallo,
      ich muss 3 Datenpunkte vergleichen. Es ist egal ob alle 3 "on" oder "off" sind, Hauptsache gleich.
      Wenn ich "nur" zwei DP vergleiche geht das mit "wenn DB1 = DB2"
      Mit drei Datenpunkten kann ich "gleich" nicht zwei mal verwenden, die Bedingung unter "sonst falls" wird nie erfüllt:

      Was mache ich falsch?

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

      @actionbyte sagte:

      3 Datenpunkte vergleichen. Es ist egal ob alle 3 "on" oder "off" sind, Hauptsache gleich.

      Blockly_temp.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

      actionbyteA 1 Reply Last reply
      1
      • BBTownB Offline
        BBTownB Offline
        BBTown
        wrote on last edited by
        #3

        und den Trigger würde ich dann so setzen
        464b20aa-ccd5-4f3b-befa-0cc580419bbc-grafik.png

        <block xmlns="http://www.w3.org/1999/xhtml" type="on_ext" id="IKbab=_2DUub.@H;Y%5O" x="38" y="38">
         <mutation items="3"></mutation>
         <field name="CONDITION">ne</field>
         <field name="ACK_CONDITION"></field>
         <value name="OID0">
           <shadow type="field_oid" id="kIGx~nE,CM+kC)L($W@:">
             <field name="oid">Test.0.DP1</field>
           </shadow>
         </value>
         <value name="OID1">
           <shadow type="field_oid" id="fs+,]W3kGpp$luV1v.cM">
             <field name="oid">Test.0.DP2</field>
           </shadow>
         </value>
         <value name="OID2">
           <shadow type="field_oid" id="HFO)hC5`NCKP%K8lliyy">
             <field name="oid">Test.0.DP3</field>
           </shadow>
         </value>
         <statement name="STATEMENT">
           <block type="controls_if" id="pW6ulTh9bkW0w+hT3mS}">
             <value name="IF0">
               <block type="logic_operation" id="$Eo_wAO|[pj8xr60c^:w" inline="false">
                 <field name="OP">AND</field>
                 <value name="A">
                   <block type="logic_compare" id="H8_H3=P3J.+lh|w@vb]G">
                     <field name="OP">EQ</field>
                     <value name="A">
                       <block type="get_value" id="^p-TPspETa^NW0H|3~nn">
                         <field name="ATTR">val</field>
                         <field name="OID">Test.0.DP1</field>
                       </block>
                     </value>
                     <value name="B">
                       <block type="get_value" id="ND$M.jD/76g1(,`0.j`4">
                         <field name="ATTR">val</field>
                         <field name="OID">Test.0.DP2</field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <value name="B">
                   <block type="logic_compare" id="ld4WCmms}~pIeSjxC7I+">
                     <field name="OP">EQ</field>
                     <value name="A">
                       <block type="get_value" id="}^HTN3vaLu@4cpjVFn4{">
                         <field name="ATTR">val</field>
                         <field name="OID">Test.0.DP3</field>
                       </block>
                     </value>
                     <value name="B">
                       <block type="get_value" id="92T6E)qF_kC}hs:+dheq">
                         <field name="ATTR">val</field>
                         <field name="OID">Test.0.DP2</field>
                       </block>
                     </value>
                   </block>
                 </value>
               </block>
             </value>
             <statement name="DO0">
               <block type="comment" id="JHH|BX/2}1sJUe9P#K{Z">
                 <field name="COMMENT">alle 3 Werte sind gleich</field>
                 <next>
                   <block type="control" id="vI*?lL.@M|0S9:pF!b$a">
                     <mutation delay_input="false"></mutation>
                     <field name="OID">Object ID</field>
                     <field name="WITH_DELAY">FALSE</field>
                   </block>
                 </next>
               </block>
             </statement>
           </block>
         </statement>
        </block>
        

        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

        HomoranH 1 Reply Last reply
        0
        • BBTownB Offline
          BBTownB Offline
          BBTown
          wrote on last edited by
          #4

          oder vollständig (?)
          8a8c54ae-15ff-4ccb-9006-ca3ca5b9e70f-grafik.png

          <xml xmlns="http://www.w3.org/1999/xhtml">
           <block type="on_ext" id="IKbab=_2DUub.@H;Y%5O" x="38" y="13">
             <mutation items="3"></mutation>
             <field name="CONDITION">ne</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id="kIGx~nE,CM+kC)L($W@:">
                 <field name="oid">Test.0.DP1</field>
               </shadow>
             </value>
             <value name="OID1">
               <shadow type="field_oid" id="fs+,]W3kGpp$luV1v.cM">
                 <field name="oid">Test.0.DP2</field>
               </shadow>
             </value>
             <value name="OID2">
               <shadow type="field_oid" id="HFO)hC5`NCKP%K8lliyy">
                 <field name="oid">Test.0.DP3</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="controls_if" id="pW6ulTh9bkW0w+hT3mS}">
                 <value name="IF0">
                   <block type="logic_operation" id="$Eo_wAO|[pj8xr60c^:w" inline="false">
                     <field name="OP">AND</field>
                     <value name="A">
                       <block type="logic_compare" id="H8_H3=P3J.+lh|w@vb]G">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="^p-TPspETa^NW0H|3~nn">
                             <field name="ATTR">val</field>
                             <field name="OID">Test.0.DP1</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="get_value" id="ND$M.jD/76g1(,`0.j`4">
                             <field name="ATTR">val</field>
                             <field name="OID">Test.0.DP2</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_compare" id="ld4WCmms}~pIeSjxC7I+">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="}^HTN3vaLu@4cpjVFn4{">
                             <field name="ATTR">val</field>
                             <field name="OID">Test.0.DP3</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="get_value" id="92T6E)qF_kC}hs:+dheq">
                             <field name="ATTR">val</field>
                             <field name="OID">Test.0.DP2</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="comment" id="JHH|BX/2}1sJUe9P#K{Z">
                     <field name="COMMENT">alle 3 Werte sind gleich</field>
                     <next>
                       <block type="controls_if" id="D;8zmrZffOdX-,M7}nCc">
                         <mutation else="1"></mutation>
                         <value name="IF0">
                           <block type="logic_compare" id="Y1T=y;aDIT8[^lL-t4@X">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="on_source" id="lVz(ZQ#93Re69b-NDL0n">
                                 <field name="ATTR">state.val</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_boolean" id="6w#5)n)wRc5b3kcnGF~p">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id="A]F4zD`i7[)#AYJydWs$">
                             <mutation delay_input="false"></mutation>
                             <field name="OID">Object ID</field>
                             <field name="WITH_DELAY">FALSE</field>
                           </block>
                         </statement>
                         <statement name="ELSE">
                           <block type="control" id="QXoHmIss.-ibu{*EV#D;">
                             <mutation delay_input="false"></mutation>
                             <field name="OID">Object ID</field>
                             <field name="WITH_DELAY">FALSE</field>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
             </statement>
           </block>
           <block type="get_value" id="!i]`xFhFJ=sUnqbx`K:I" x="272" y="279">
             <field name="ATTR">val</field>
             <field name="OID">Test.0.DP1</field>
           </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
          • BBTownB BBTown

            und den Trigger würde ich dann so setzen
            464b20aa-ccd5-4f3b-befa-0cc580419bbc-grafik.png

            <block xmlns="http://www.w3.org/1999/xhtml" type="on_ext" id="IKbab=_2DUub.@H;Y%5O" x="38" y="38">
             <mutation items="3"></mutation>
             <field name="CONDITION">ne</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id="kIGx~nE,CM+kC)L($W@:">
                 <field name="oid">Test.0.DP1</field>
               </shadow>
             </value>
             <value name="OID1">
               <shadow type="field_oid" id="fs+,]W3kGpp$luV1v.cM">
                 <field name="oid">Test.0.DP2</field>
               </shadow>
             </value>
             <value name="OID2">
               <shadow type="field_oid" id="HFO)hC5`NCKP%K8lliyy">
                 <field name="oid">Test.0.DP3</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="controls_if" id="pW6ulTh9bkW0w+hT3mS}">
                 <value name="IF0">
                   <block type="logic_operation" id="$Eo_wAO|[pj8xr60c^:w" inline="false">
                     <field name="OP">AND</field>
                     <value name="A">
                       <block type="logic_compare" id="H8_H3=P3J.+lh|w@vb]G">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="^p-TPspETa^NW0H|3~nn">
                             <field name="ATTR">val</field>
                             <field name="OID">Test.0.DP1</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="get_value" id="ND$M.jD/76g1(,`0.j`4">
                             <field name="ATTR">val</field>
                             <field name="OID">Test.0.DP2</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_compare" id="ld4WCmms}~pIeSjxC7I+">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="}^HTN3vaLu@4cpjVFn4{">
                             <field name="ATTR">val</field>
                             <field name="OID">Test.0.DP3</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="get_value" id="92T6E)qF_kC}hs:+dheq">
                             <field name="ATTR">val</field>
                             <field name="OID">Test.0.DP2</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="comment" id="JHH|BX/2}1sJUe9P#K{Z">
                     <field name="COMMENT">alle 3 Werte sind gleich</field>
                     <next>
                       <block type="control" id="vI*?lL.@M|0S9:pF!b$a">
                         <mutation delay_input="false"></mutation>
                         <field name="OID">Object ID</field>
                         <field name="WITH_DELAY">FALSE</field>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
             </statement>
            </block>
            

            HomoranH Do not disturb
            HomoranH Do not disturb
            Homoran
            Global Moderator Administrators
            wrote on last edited by
            #5

            @BBTown sagte in 3 Werte vergleichen:

            und den Trigger würde ich dann so setzen

            nicht unbedingt!

            Wenn er auf Tastendruck ein Ergebnis erreichen will ist der Tastendruck als Trigger in Ordnung

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            BBTownB 1 Reply Last reply
            1
            • HomoranH Homoran

              @BBTown sagte in 3 Werte vergleichen:

              und den Trigger würde ich dann so setzen

              nicht unbedingt!

              Wenn er auf Tastendruck ein Ergebnis erreichen will ist der Tastendruck als Trigger in Ordnung

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

              @Homoran sagte in 3 Werte vergleichen:

              Wenn er auf Tastendruck ein Ergebnis erreichen will ist der Tastendruck als Trigger in Ordnung

              da hast Du wahr ... ich hatte mich zu früh auf eine Lösung festgelegt ;-)

              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
              1
              • paul53P paul53

                @actionbyte sagte:

                3 Datenpunkte vergleichen. Es ist egal ob alle 3 "on" oder "off" sind, Hauptsache gleich.

                Blockly_temp.JPG

                actionbyteA Offline
                actionbyteA Offline
                actionbyte
                wrote on last edited by
                #7

                @paul53 Klasse! Sieht top aus...aber wie bekomme ich das "und" mit den ZWEI Bedingungen dahinter in Blockly rein? Ich finde das Teil nicht unter "Logik" oder in anderen Kategorien....bin ich blind?

                HomoranH BBTownB 2 Replies Last reply
                0
                • actionbyteA actionbyte

                  @paul53 Klasse! Sieht top aus...aber wie bekomme ich das "und" mit den ZWEI Bedingungen dahinter in Blockly rein? Ich finde das Teil nicht unter "Logik" oder in anderen Kategorien....bin ich blind?

                  HomoranH Do not disturb
                  HomoranH Do not disturb
                  Homoran
                  Global Moderator Administrators
                  wrote on last edited by
                  #8

                  @actionbyte sagte in 3 Werte vergleichen:

                  .bin ich blind?

                  Ja! ;-)

                  es ist das normale "UND"
                  wenn du da mit der rechten Maustaste reinklickst und auf externe Eingänge (oder so) gehst wird die Zeile umgebrochen

                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  actionbyteA 1 Reply Last reply
                  1
                  • actionbyteA actionbyte

                    @paul53 Klasse! Sieht top aus...aber wie bekomme ich das "und" mit den ZWEI Bedingungen dahinter in Blockly rein? Ich finde das Teil nicht unter "Logik" oder in anderen Kategorien....bin ich blind?

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

                    @actionbyte importiere meine angefügten Blocklies und schaue sie dir an

                    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
                    1
                    • HomoranH Homoran

                      @actionbyte sagte in 3 Werte vergleichen:

                      .bin ich blind?

                      Ja! ;-)

                      es ist das normale "UND"
                      wenn du da mit der rechten Maustaste reinklickst und auf externe Eingänge (oder so) gehst wird die Zeile umgebrochen

                      actionbyteA Offline
                      actionbyteA Offline
                      actionbyte
                      wrote on last edited by actionbyte
                      #10

                      So, ich habe nun meine Badezimmerschaltung mit 3 Shellys und einem Mini-NodeMCU (als Taster) fertig und dank euch das Script nun angepasst. Läuft soweit! Allerdings denke ich das ich da ein ganz schönes Monster gebastelt habe. Augenscheinlich kann man Und/Oder Bausteine mit "nur" zwei externen Eingängen versehen, allein schon daher ist das sehr unübersichtlich.

                      Funktionieren sollte das alles wie folgt:
                      Mit dem Taster trigger ich eine Art Flip/Flop den DP "Badzimmer". Dieser dient mir als eine Art "Hilfsmerker" um den Zustand der Badezimmerbeleuchtung wiederzugeben. Allerdings hat Alexa Zugriff auf die drei Aktoren und EGAL was Alexa dann aus- oder eingeschaltet haben sollte, wenn dann der Taster betätigt wird soll alles AUS (egal was DP Badezimmer sagt) und evtl eben nur der DP Badezimmer wieder auf false gesetzt werden.
                      Gehts auch einfacher? (BTW: "Dummy" ist noch vom Testen drin, normalerweise ist hier der Taster vom ESP8266)!

                      db4.jpg

                      <xml xmlns="http://www.w3.org/1999/xhtml">
                       <variables>
                         <variable type="undefined" id="timeout">timeout</variable>
                       </variables>
                       <block type="on" id="(xmol1QeSd*S%s)d.qG`" x="-583" y="-144">
                         <field name="OID">Meine_Geräte.0.Dummy</field>
                         <field name="CONDITION">true</field>
                         <field name="ACK_CONDITION"></field>
                         <statement name="STATEMENT">
                           <block type="comment" id="MgA8O8iBvhIK;H0w)).`">
                             <field name="COMMENT">Logikauswertung </field>
                             <next>
                               <block type="controls_if" id="G(6}e`MX3/fK@K!-YkaI">
                                 <mutation elseif="1"></mutation>
                                 <value name="IF0">
                                   <block type="logic_operation" id="3LaHOh9F@Ia-h782Uf8L" inline="false">
                                     <field name="OP">OR</field>
                                     <value name="A">
                                       <block type="logic_operation" id="jF!Ze0P/VZfW,uD}?x#K" inline="false">
                                         <field name="OP">AND</field>
                                         <value name="A">
                                           <block type="logic_compare" id="%h!#GJG_KG9a_QRZ}=HB">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="dFj(uabfq0WdA1r@2E^v">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">Meine_Geräte_Zustände.0.Badezimmer</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_boolean" id="Q)xQ{3%+!_g2#Kl.^Mhc">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="logic_operation" id="KzfU@JKg63w:o;QGD-ZY" inline="false">
                                             <field name="OP">AND</field>
                                             <value name="A">
                                               <block type="logic_compare" id="nn{%sFviZFLC`x`H^rMB">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="2#5}n|WR##X%@}=}(,i}">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">Meine_Geräte.0.Bad_Decke</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="get_value" id="Qg}=lhfb5/[1ZeWTN.],">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">Meine_Geräte.0.Bad_Dusche</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_compare" id="hIQ)bY,/w$sq#d/q[KXv">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="Y:cBp6LwQU!155=ghpAx">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">Meine_Geräte.0.Bad_Toilette</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="get_value" id="lJtPCH:O,M(50qiLl60t">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">Meine_Geräte.0.Bad_Dusche</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="logic_operation" id="[r*aR#NBC91xDwJ@;Vjb" inline="false">
                                         <field name="OP">AND</field>
                                         <value name="A">
                                           <block type="logic_compare" id=":n|uMq(hc2P,?!IfnW+*">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id=".^Cad9mF`hxi^m[lsa+]">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">Meine_Geräte_Zustände.0.Badezimmer</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_boolean" id="*Zzd%Jo.*fAJ+]!w2AdK">
                                                 <field name="BOOL">FALSE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="logic_operation" id="mE8WRSkif(BKNn{`ic#m" inline="false">
                                             <field name="OP">AND</field>
                                             <value name="A">
                                               <block type="logic_operation" id="Z37awy@{TS+qd.gd,1k*" inline="false">
                                                 <field name="OP">AND</field>
                                                 <value name="A">
                                                   <block type="logic_compare" id="]ukDM3T_-NYKq#cL#TkG">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="tU:4a$?|;@5:D)Q@a:*0">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">Meine_Geräte.0.Bad_Decke</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="logic_boolean" id="pg`SU?.;:~+TKav={gwU">
                                                         <field name="BOOL">TRUE</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="logic_compare" id=".p0Z623K8h2awg4yA,JG">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="$4iCk3j6MC?w6q5~Mb,|">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">Meine_Geräte.0.Bad_Toilette</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="logic_boolean" id="/(o2D3{Bn3+L9y;KxJj0">
                                                         <field name="BOOL">TRUE</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_compare" id="RS;`3V$P%XAOT^U|;PGB">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="`T~vNSm_zZ9p^Hnl)AR.">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">Meine_Geräte.0.Bad_Dusche</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="logic_boolean" id="eXX~tf!srs`b|_po3hJ1">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="comment" id="b_zq2i^w!b4hFs*cGmPe">
                                     <field name="COMMENT">Wenn zwischendurch Alexa ein Aktor aus oder eingeschaltet hat, dann auf jeden Fall alles vorrangig AUSSCHALTEN!</field>
                                     <next>
                                       <block type="control" id="lH[`4eTj0h4dX`-~Jo:p">
                                         <mutation delay_input="false"></mutation>
                                         <field name="OID">Meine_Geräte_Zustände.0.Badezimmer</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="nR*;?!`4UlA00!/snt#-">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                 <value name="IF1">
                                   <block type="logic_operation" id="2AFX#h$fl{+Epd`M46X9" inline="false">
                                     <field name="OP">AND</field>
                                     <value name="A">
                                       <block type="logic_compare" id="GY[URCWddjm!aH;Y[rSz">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="get_value" id="u$MACYZF5;!I:[caN]4+">
                                             <field name="ATTR">val</field>
                                             <field name="OID">Meine_Geräte.0.Bad_Decke</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="get_value" id="]w_Dc}jQ3+#IuUI5^#a2">
                                             <field name="ATTR">val</field>
                                             <field name="OID">Meine_Geräte.0.Bad_Dusche</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="logic_compare" id="X(mfj^Zo2r5I0_ci7N*G">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="get_value" id="7yat2Odp~Zs0+L`,S!rq">
                                             <field name="ATTR">val</field>
                                             <field name="OID">Meine_Geräte.0.Bad_Toilette</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="get_value" id=".lF[z2|Ud|OLN8S_jvOt">
                                             <field name="ATTR">val</field>
                                             <field name="OID">Meine_Geräte.0.Bad_Dusche</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO1">
                                   <block type="comment" id="Vi$)|4V^7wwWh*R;mAmr">
                                     <field name="COMMENT">Ohne Alexa einfach nur FlipFlop</field>
                                     <next>
                                       <block type="toggle" id="OO?4W7_~IbwFhLG9$(jO">
                                         <mutation delay_input="false"></mutation>
                                         <field name="OID">Meine_Geräte_Zustände.0.Badezimmer</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="timeouts_settimeout" id="hG:lZ=#@;*?wt-k2mjlr">
                                     <field name="NAME">timeout</field>
                                     <field name="DELAY">50</field>
                                     <field name="UNIT">ms</field>
                                     <statement name="STATEMENT">
                                       <block type="comment" id="`8#u7JOJM4`bqC$3sf3j">
                                         <field name="COMMENT">Übergabe an Peripherie</field>
                                         <next>
                                           <block type="controls_if" id="=priJJ`nFW^C{E]L*hdZ">
                                             <mutation elseif="1"></mutation>
                                             <value name="IF0">
                                               <block type="logic_compare" id="~gyz)SfYf~oF~1Snt@A`">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="Y`8)hrKGhfy^/=:aTv)J">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">Meine_Geräte_Zustände.0.Badezimmer</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="logic_boolean" id="SpW6)YbnY;=15#J7A[V2">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="control" id="lg``PS|gB){2RnQEQD!z">
                                                 <mutation delay_input="false"></mutation>
                                                 <field name="OID">Meine_Geräte.0.Bad_Decke</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="o:{MV+(0fquMeBb=hKEL">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="control" id="4;6wEe?_Up#,r?7Oq;fw">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">Meine_Geräte.0.Bad_Dusche</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="logic_boolean" id="^SZGJj`@sGPs_J!dO/S[">
                                                         <field name="BOOL">TRUE</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="=wj%9c04t*c4J3YWe*=r">
                                                         <mutation delay_input="false"></mutation>
                                                         <field name="OID">Meine_Geräte.0.Bad_Toilette</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="logic_boolean" id=":@_OK#wygdOi#7O8ez]J">
                                                             <field name="BOOL">TRUE</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                             <value name="IF1">
                                               <block type="logic_compare" id="^W@lu{U-Ld:eC1S,VMn;">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="w`3PhBlO1dGQ5L~GvpHg">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">Meine_Geräte_Zustände.0.Badezimmer</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="logic_boolean" id="GYCc9|wJ0]s~YUit#{eC">
                                                     <field name="BOOL">FALSE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO1">
                                               <block type="control" id="H[V3M8egf63yQ(6Y.v9E">
                                                 <mutation delay_input="false"></mutation>
                                                 <field name="OID">Meine_Geräte.0.Bad_Decke</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="N2w~9N}.|T7fAYccob{^">
                                                     <field name="BOOL">FALSE</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="control" id="PUVs!WMD![EM,9ZJ6|ri">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">Meine_Geräte.0.Bad_Dusche</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="logic_boolean" id="~MS[ea6e1Zw.i1aOpeEF">
                                                         <field name="BOOL">FALSE</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="sP,NMs1DCeJl%}4d@o?0">
                                                         <mutation delay_input="false"></mutation>
                                                         <field name="OID">Meine_Geräte.0.Bad_Toilette</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="logic_boolean" id="F1y@NDcSU`h00GZ;AA_D">
                                                             <field name="BOOL">FALSE</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      

                      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

                      793

                      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