Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Hilfe bei einem Skript

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @Miokoeln last edited by

      @miokoeln sagte: Meross= 0-garagenDoor = Garagentor ist geschlossen
      Bosch Fensterkontakt= All Open count = Garagentor ist geöffnet

      Also wie Endlagen-Schalter?
      "0-garagenDoor" = wahr: geschlossen?
      "All Open count" = wahr: offen?
      Beide = false: Zwischenstellung / in Bewegung?

      Es können also nicht beide gleichzeitig wahr sein?

      M 1 Reply Last reply Reply Quote 0
      • M
        Miokoeln @paul53 last edited by

        @paul53
        "0-garagenDoor" = wahr: geschlossen?
        "All Open count" = wahr: offen?
        Beide = false: Zwischenstellung / in Bewegung?
        genau

        paul53 1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @Miokoeln last edited by

          @miokoeln sagte: genau

          In Deiner ersten Abfrage (Farbe rot) werden beide Schalter auf wahr geprüft?

          M 1 Reply Last reply Reply Quote 0
          • M
            Miokoeln @paul53 last edited by

            @paul53 Das wir ein Fehler sein. Seit gestern macht das Script auch nichts mehr. Hab mich sicher verklickt. Sorry bin noch sehr neu aber lehrfähig 😉

            paul53 1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @Miokoeln last edited by paul53

              @miokoeln
              Wann soll rot, wann aus (oder Nachtlicht?) und wann die zeitliche Abfolge sein?

              M 2 Replies Last reply Reply Quote 0
              • M
                Miokoeln @paul53 last edited by

                @paul53
                Rot bei Öffnung
                Grün wenn Tor oben ist.
                Weiß nachdem das Tor oben ist danach kommen die Spots
                Rot bei Schließung

                Spots zwischen Sonnenuntergang und Sonnenaufgang.

                Hammer du bist echt klasse.
                Danke für deine Hilfe

                1 Reply Last reply Reply Quote 0
                • M
                  Miokoeln @paul53 last edited by

                  @paul53 so soll es aussehen:
                  https://youtu.be/M8xCgQUihd8

                  paul53 1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @Miokoeln last edited by paul53

                    @miokoeln
                    Versuche es mal so:

                    Blockly_temp.JPG

                    <xml xmlns="https://developers.google.com/blockly/xml">
                     <variables>
                       <variable id="o_[g^[@LJ)qp1=k8AQE2">geschlossen</variable>
                       <variable id="`mgKAe:N}B}P`.ggEx)r">offen</variable>
                     </variables>
                     <block type="variables_set" id="P(^f`H91mcxyB@8lqo3D" x="-1012" y="-662">
                       <field name="VAR" id="o_[g^[@LJ)qp1=k8AQE2">geschlossen</field>
                       <value name="VALUE">
                         <block type="get_value" id="gLe?#Z@XRDEj$lX+XppL">
                           <field name="ATTR">val</field>
                           <field name="OID">meross.0.2103163135837436101148e1e962858f.0-garageDoor</field>
                         </block>
                       </value>
                       <next>
                         <block type="on_ext" id="A!)W?v,:5*bwI2+^q)N7">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                           <field name="CONDITION">ne</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="UMnETXt:fKEhj.3~k,[(">
                               <field name="oid">bshb.0.openDoorsAndWindows.all.openCount</field>
                             </shadow>
                           </value>
                           <value name="OID1">
                             <shadow type="field_oid" id="inhCpVq=Q+r/mmLRMP:3">
                               <field name="oid">meross.0.2103163135837436101148e1e962858f.0-garageDoor</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="variables_set" id="#]6b@B~}:2LYqTPiZp$Q">
                               <field name="VAR" id="o_[g^[@LJ)qp1=k8AQE2">geschlossen</field>
                               <value name="VALUE">
                                 <block type="get_value" id="_@9e|MxOftEo|7p[r(bk">
                                   <field name="ATTR">val</field>
                                   <field name="OID">meross.0.2103163135837436101148e1e962858f.0-garageDoor</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id="t8-vee:XxNF]L!7aQxoy">
                                   <field name="VAR" id="`mgKAe:N}B}P`.ggEx)r">offen</field>
                                   <value name="VALUE">
                                     <block type="get_value" id="Ao5Z}PxiYOq13H8C;|]">
                                       <field name="ATTR">val</field>
                                       <field name="OID">bshb.0.openDoorsAndWindows.all.openCount</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id="RIPtfY~oq3y(%+v5)pZk">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">wled.0.483fda1f760b.seg.0.bri</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="~]wEzg76@I/q~L1@VAz[">
                                           <field name="NUM">255</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="controls_if" id=".}Cg8b:JmpcFTqmt^wJ2">
                                           <value name="IF0">
                                             <block type="logic_operation" id="J?$,Om}:U6CmQ0|-if;#">
                                               <field name="OP">AND</field>
                                               <value name="A">
                                                 <block type="logic_negate" id="t75yG|p]pYVg~kTq,k{|">
                                                   <value name="BOOL">
                                                     <block type="variables_get" id="(,{qCCMma;;T0l-(OIM$">
                                                       <field name="VAR" id="o_[g^[@LJ)qp1=k8AQE2">geschlossen</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="logic_negate" id="+eiv`,BWB8Q!j[Q,`fZ!">
                                                   <value name="BOOL">
                                                     <block type="variables_get" id="tNUzK`}bi$KdyeCSa}(|">
                                                       <field name="VAR" id="`mgKAe:N}B}P`.ggEx)r">offen</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="control" id="jV:2xZgK%NYR]5TRg+5">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                               <field name="OID">wled.0.483fda1f760b.on</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="leYOKCSrROnPCtg#tvRk">
                                                   <field name="BOOL">TRUE</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="control" id="L|.DzV.SXl/:SK*N|$x">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">wled.0.483fda1f760b.seg.0.col.0_HEX</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="colour_picker" id="5.OBUor:c,2FIMH5qqj)">
                                                       <field name="COLOUR">#ff0000</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="control" id="8xeN8[M^AZIjr092,F{=">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">wled.0.483fda1f760b.seg.0.sx</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="math_number" id="*9Z9k/W~1=9QCx(Hvmp_">
                                                           <field name="NUM">120</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="control" id="Sb8y7O}:3XXxIEutMw!7">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">wled.0.483fda1f760b.seg.0.fx</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="math_number" id="NtTQ^s@tD^M3!!GeP.Y!">
                                                               <field name="NUM">60</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="control" id="dTsh8L$I(hC#@Nn7*K5">
                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                               <field name="OID">wled.0.483fda1f760b.seg.0.ix</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="math_number" id="(bD?v96D)g|ZTGv$4$6">
                                                                   <field name="NUM">240</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="controls_if" id="Vjsm^Peer)Ci3!N+Rg?">
                                               <value name="IF0">
                                                 <block type="variables_get" id="VI4Bb@fNWfipt*)/H~rN">
                                                   <field name="VAR" id="`mgKAe:N}B}P`.ggEx)r">offen</field>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="control" id="a^(K+XmmS.6{z[x)P$H">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">wled.0.483fda1f760b.seg.0.col.0_HEX</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="colour_picker" id="a|Xd9a,+wHWVSiDIcZQl">
                                                       <field name="COLOUR">#33ff33</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="control" id=":GzpeOYCB2J]oH|Rmnfi">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">wled.0.483fda1f760b.seg.0.fx</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="math_number" id="g9|K@K40@%b1r3,N.]b1">
                                                           <field name="NUM">0</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="control" id="t:bq{.vA!#.V|9/or*J">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">wled.0.483fda1f760b.on</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="logic_boolean" id=".7lJO.Y|qes|pxU.JZ$x">
                                                               <field name="BOOL">TRUE</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="timeouts_wait" id="mgPAq=$Lye$4q8dRX%:9">
                                                               <field name="DELAY">1100</field>
                                                               <field name="UNIT">ms</field>
                                                               <next>
                                                                 <block type="control" id="=OWt|S|Vx$9C3OH5LnI">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                   <field name="OID">wled.0.483fda1f760b.seg.0.col.0_HEX</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="colour_picker" id="wF0kt1v%6*6;vT.(nhH^">
                                                                       <field name="COLOUR">#ffffff</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="control" id="zS{J)aSZlwu4h{Rb^5t%">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                       <field name="OID">wled.0.483fda1f760b.seg.0.sx</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="math_number" id="k}ZL4+NTJAMp0y6wxlHS">
                                                                           <field name="NUM">215</field>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="control" id="{vv5DZQ-dic?/_*k7jqM">
                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                           <field name="OID">wled.0.483fda1f760b.seg.0.fx</field>
                                                                           <field name="WITH_DELAY">FALSE</field>
                                                                           <value name="VALUE">
                                                                             <block type="math_number" id="3Q)POWY*7zpkfoBc;NWj">
                                                                               <field name="NUM">60</field>
                                                                             </block>
                                                                           </value>
                                                                           <next>
                                                                             <block type="timeouts_wait" id="$,0.OOVP=Wsw66K.tcy">
                                                                               <field name="DELAY">1100</field>
                                                                               <field name="UNIT">ms</field>
                                                                               <next>
                                                                                 <block type="control" id="If;s4o^,Sp:G^@luy5">
                                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                   <field name="OID">wled.0.483fda1f760b.on</field>
                                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                                   <value name="VALUE">
                                                                                     <block type="logic_boolean" id="q6.j$PFPj9H{Y}=Mhf9u">
                                                                                       <field name="BOOL">FALSE</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <next>
                                                                                     <block type="timeouts_wait" id="xT%AfhFz7!PXJOg9AP">
                                                                                       <field name="DELAY">1500</field>
                                                                                       <field name="UNIT">ms</field>
                                                                                       <next>
                                                                                         <block type="control" id="KJa:doxU@uo**WW6vrsR">
                                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                           <field name="OID">wled.0.483fda1f760b.on</field>
                                                                                           <field name="WITH_DELAY">FALSE</field>
                                                                                           <value name="VALUE">
                                                                                             <block type="logic_boolean" id="EM?0zJubqjv#[!6ImWtB">
                                                                                               <field name="BOOL">TRUE</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <next>
                                                                                             <block type="control" id="z@(ZP]rCe2G8j]=DtX8N">
                                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                               <field name="OID">wled.0.483fda1f760b.seg.0.fx</field>
                                                                                               <field name="WITH_DELAY">FALSE</field>
                                                                                               <value name="VALUE">
                                                                                                 <block type="math_number" id="%rQSWaK:Sxyov6_@c">
                                                                                                   <field name="NUM">85</field>
                                                                                                 </block>
                                                                                               </value>
                                                                                               <next>
                                                                                                 <block type="control" id="1VMyaT=-Cn9e+.e}a9#">
                                                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                   <field name="OID">wled.0.483fda1f760b.seg.0.ix</field>
                                                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                                                   <value name="VALUE">
                                                                                                     <block type="math_number" id="m`mj-gryZ)I:NyG?IMg8">
                                                                                                       <field name="NUM">45</field>
                                                                                                     </block>
                                                                                                   </value>
                                                                                                 </block>
                                                                                               </next>
                                                                                             </block>
                                                                                           </next>
                                                                                         </block>
                                                                                       </next>
                                                                                     </block>
                                                                                   </next>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="controls_if" id="_L544)G0~KwLcjIy5^17">
                                                   <value name="IF0">
                                                     <block type="variables_get" id="OAaniJ2`AT/E{6$I6cp8">
                                                       <field name="VAR" id="o_[g^[@LJ)qp1=k8AQE2">geschlossen</field>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="controls_if" id="GEBng,3LjBVDkIW5Ga^X">
                                                       <mutation else="1"></mutation>
                                                       <value name="IF0">
                                                         <block type="time_compare_ex" id="?XF46(tCar1%-Z^SayaO">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                           <field name="USE_ACTUAL_TIME">TRUE</field>
                                                           <field name="OPTION">between</field>
                                                           <value name="START_TIME">
                                                             <shadow type="text" id="/$~a`;/HJs8I-VzMdna*">
                                                               <field name="TEXT">12:00</field>
                                                             </shadow>
                                                             <block type="time_astro" id="@7+mR2fZNXH~$6=Ver-2">
                                                               <field name="TYPE">sunrise</field>
                                                               <field name="OFFSET">0</field>
                                                             </block>
                                                           </value>
                                                           <value name="END_TIME">
                                                             <shadow type="text" id="(;bE(uE-2g$rk24_f]z_">
                                                               <field name="TEXT">18:00</field>
                                                             </shadow>
                                                             <block type="time_astro" id="t)#5;`afn4DjB%IREdI%">
                                                               <field name="TYPE">sunset</field>
                                                               <field name="OFFSET">0</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="control" id="|n$#]5t;)qGk=TM9cQj">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">wled.0.483fda1f760b.on</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="logic_boolean" id="I,CcyVa,T*@^8f,P:^Ha">
                                                               <field name="BOOL">FALSE</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                       <statement name="ELSE">
                                                         <block type="procedures_callnoreturn" id="gn~^BB13_1X4;e|yB,#z">
                                                           <mutation name="nachtlicht"></mutation>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                     <block type="procedures_defnoreturn" id="Ct_=C;I]NhPMhsN5Wt#$" x="-213" y="-687">
                       <field name="NAME">nachtlicht</field>
                       <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                       <statement name="STACK">
                         <block type="comment" id="X_KifM+(gW_a)e+8okbC">
                           <field name="COMMENT">Nachtlicht einschalten</field>
                           <next>
                             <block type="control" id="xd_tsU8}4{aJ?tM,tNSU">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">wled.0.483fda1f760b.on</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="%OJn,.akGx$V1sJ[f=|^">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="email" id="httG8c$}ZV]pW}q0obX">
                                   <field name="INSTANCE"></field>
                                   <field name="IS_HTML">FALSE</field>
                                   <field name="LOG"></field>
                                   <value name="TO">
                                     <shadow type="text" id="e=xk[ZT}$P+V|7k^-wM|">
                                       <field name="TEXT">mario.bittner@icloud.com</field>
                                     </shadow>
                                   </value>
                                   <value name="TEXT">
                                     <shadow type="text" id="S?6SJ#;(4vpyBv7X,/a">
                                       <field name="TEXT"></field>
                                     </shadow>
                                   </value>
                                   <value name="SUBJECT">
                                     <shadow type="text" id="a;Ox)Us}@K;C0^JueQY}">
                                       <field name="TEXT">Garagenlicht eingeschaltet</field>
                                     </shadow>
                                   </value>
                                   <next>
                                     <block type="control" id="D3)wp2GlU?DFDiQ/=*J[">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">wled.0.483fda1f760b.bri</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="le1[^)H@ptDg#$@*.?R.">
                                           <field name="NUM">255</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id="v1wQzn#G)oHvK[DE-bFP">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">wled.0.483fda1f760b.seg.0.col.0</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="text" id="udvA[PnJ93;SYO4U49+#">
                                               <field name="TEXT">255,226,202,0</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="control" id="s{.uN-P~AwkIx^joP3zI">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                               <field name="OID">wled.0.483fda1f760b.seg.0.ix</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="math_number" id="!qAovQ9m._LBj*LG)k^q">
                                                   <field name="NUM">45</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="control" id="YLd-?~YufpS98GOW/~UQ">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">wled.0.483fda1f760b.seg.0.fx</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="math_number" id="rFJfh)31@r[:0rt!vE84">
                                                       <field name="NUM">85</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                     <block type="astro" id="Q]3K{8C8qW(aJ$Zk9?`q" x="-212" y="-163">
                       <field name="TYPE">sunset</field>
                       <field name="OFFSET">0</field>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="NM*Q,.8vD`:n)B=VCxh#">
                           <value name="IF0">
                             <block type="variables_get" id="(}/6lAc}Wcrxg-v:xVT6">
                               <field name="VAR" id="o_[g^[@LJ)qp1=k8AQE2">geschlossen</field>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="procedures_callnoreturn" id="jnb?$;Tcp3ptmVOiS#kt">
                               <mutation name="nachtlicht"></mutation>
                             </block>
                           </statement>
                         </block>
                       </statement>
                       <next>
                         <block type="astro" id="w-fZ3kBtV1e]!P[h,nmY">
                           <field name="TYPE">sunrise</field>
                           <field name="OFFSET">0</field>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="P=jW`-5OoZa9tug]C(ct">
                               <value name="IF0">
                                 <block type="variables_get" id="=i|9I972/:)E6OCI`UDa">
                                   <field name="VAR" id="o_[g^[@LJ)qp1=k8AQE2">geschlossen</field>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="control" id=";6ao#gg,CdyOA1qfQg">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">wled.0.483fda1f760b.on</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="^LPo:1Q.q2C3~V@|*xtE">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="email" id="z1{F[JiJN/3!l,i$L,_o">
                                       <field name="INSTANCE"></field>
                                       <field name="IS_HTML">FALSE</field>
                                       <field name="LOG"></field>
                                       <value name="TO">
                                         <shadow type="text" id="~8q[xiL5$kpD6[sZxgHV">
                                           <field name="TEXT">mario.bittner@icloud.com</field>
                                         </shadow>
                                       </value>
                                       <value name="TEXT">
                                         <shadow type="text" id="J%(~zHj_br;*u].^91]!">
                                           <field name="TEXT"></field>
                                         </shadow>
                                       </value>
                                       <value name="SUBJECT">
                                         <shadow type="text" id="Z6*(t?K29V@gs~L;Nn}s">
                                           <field name="TEXT">Garagenlicht ausgeschaltet</field>
                                         </shadow>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                    </xml>
                    

                    Die Ausgaben an die WLED-Datenpunkte habe ich übernommen, denn davon habe ich keine Ahnung.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Miokoeln @paul53 last edited by

                      @paul53 Mach mich vielen Dank ich melde mich morgen mal mit dem Ergebnis

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Miokoeln @Miokoeln last edited by

                        @paul53 Hab jetzt noch einmal überprüft. Da jetzt nichts kommt.
                        Hatte mich vertan. Könntest du nochmals anpassen?

                        "0-garagenDoor" = flase: geschlossen bei true: geht es auf und bleibt offen
                        "All Open count" = 1: geschlossen 0: geht es auf und bleibt offen

                        paul53 1 Reply Last reply Reply Quote 0
                        • paul53
                          paul53 @Miokoeln last edited by paul53

                          @miokoeln sagte:
                          "0-garagenDoor" = flase: geschlossen bei true: geht es auf und bleibt offen
                          "All Open count" = 1: geschlossen 0: geht es auf und bleibt offen

                          Das würde bedeuten, dass beide Kontakte den Zustand "geschlossen" signalisieren?

                          Reagieren beide Kontakte "falsch herum", muss man nur negieren:

                          Bild_2021-09-18_124217.png

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            Miokoeln @paul53 last edited by

                            @paul53 Alles Klar gehe es durch. Nochmals vielen Dank für deine Hilfe

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            872
                            Online

                            32.0k
                            Users

                            80.4k
                            Topics

                            1.3m
                            Posts

                            5
                            31
                            1294
                            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