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. [gelöst] Bewegungsmelder Lichtsteuerung

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    2
    1
    37

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    7
    1
    106

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    847

[gelöst] Bewegungsmelder Lichtsteuerung

Scheduled Pinned Locked Moved Skripten / Logik
javascriptblockly
88 Posts 6 Posters 4.7k Views 5 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.
  • paul53P paul53

    @Uli977 sagte:

    Definitiv..... die Präsenzerkennung wird nicht abgeschaltet....

    Hast Du die Bedingung wieder auf falls nicht bewegung geändert ? Das ist unbedingt notwendig !

    Uli977U Offline
    Uli977U Offline
    Uli977
    wrote on last edited by
    #50

    @paul53
    Es könnte an der Reichweite des HMIP Netzes liegen.
    Aber die Bewegung erkennt er komischerweise ohne Probleme.
    Habe jetzt mal einen HMIP Zwischenstecker mit in das Zimmer gebracht wo der MHIP Präsenzmelder ist (Dachboden). Den Zwischenstecker habe ich direkt an der Tür platziert.
    Bislang aber immer noch Kommunikationsstörungen.

    1 Reply Last reply
    0
    • paul53P paul53

      @Uli977 sagte:

      Definitiv..... die Präsenzerkennung wird nicht abgeschaltet....

      Hast Du die Bedingung wieder auf falls nicht bewegung geändert ? Das ist unbedingt notwendig !

      Uli977U Offline
      Uli977U Offline
      Uli977
      wrote on last edited by
      #51

      @paul53

      rpc2 ist der HMIP Präsenzmelder

      rpc1 ist der HM Schalteraktor

      e4a3a419-88f0-46d7-a57f-b13bf2d7f807-image.png

      dslraserD 1 Reply Last reply
      0
      • Uli977U Uli977

        @paul53

        rpc2 ist der HMIP Präsenzmelder

        rpc1 ist der HM Schalteraktor

        e4a3a419-88f0-46d7-a57f-b13bf2d7f807-image.png

        dslraserD Offline
        dslraserD Offline
        dslraser
        Forum Testing Most Active
        wrote on last edited by
        #52

        @Uli977
        erstaunlich, ich habe sogar einen in der Garage und einen weit weg im Keller mit Stahlbetondecke dazwischen und das ohne Zwischenstecker und die kann ich trotzdem deaktivieren. Lassen die sich denn über die CCU schalten ?

        Uli977U 1 Reply Last reply
        0
        • dslraserD dslraser

          @Uli977
          erstaunlich, ich habe sogar einen in der Garage und einen weit weg im Keller mit Stahlbetondecke dazwischen und das ohne Zwischenstecker und die kann ich trotzdem deaktivieren. Lassen die sich denn über die CCU schalten ?

          Uli977U Offline
          Uli977U Offline
          Uli977
          wrote on last edited by
          #53

          @dslraser auch nicht immer. Auch da kommen öfter Kommunikationsstörungen.

          dslraserD 1 Reply Last reply
          0
          • Uli977U Uli977

            @dslraser auch nicht immer. Auch da kommen öfter Kommunikationsstörungen.

            dslraserD Offline
            dslraserD Offline
            dslraser
            Forum Testing Most Active
            wrote on last edited by
            #54

            @Uli977
            hm...vielleicht dann tatsächlich die Zwischensteckerlösung (können ja auch mehrere sein), oder eine bessere Antenne verwenden ?
            Die Haken sind aber drinn beim Zwischenstecker?

            Screenshot_20200302-155755_Chrome.jpg

            Uli977U 1 Reply Last reply
            0
            • dslraserD dslraser

              @Uli977
              hm...vielleicht dann tatsächlich die Zwischensteckerlösung (können ja auch mehrere sein), oder eine bessere Antenne verwenden ?
              Die Haken sind aber drinn beim Zwischenstecker?

              Screenshot_20200302-155755_Chrome.jpg

              Uli977U Offline
              Uli977U Offline
              Uli977
              wrote on last edited by
              #55

              @dslraser

              Bei Gerät dient als Router war bisher kein Haken drin, bei Routing aktiv wohl

              dslraserD 1 Reply Last reply
              0
              • Uli977U Uli977

                @dslraser

                Bei Gerät dient als Router war bisher kein Haken drin, bei Routing aktiv wohl

                dslraserD Offline
                dslraserD Offline
                dslraser
                Forum Testing Most Active
                wrote on last edited by
                #56

                @Uli977

                Screenshot_20200302-162132_Chrome.jpg

                Screenshot_20200302-162216_Chrome.jpg

                Uli977U 1 Reply Last reply
                0
                • dslraserD dslraser

                  @Uli977

                  Screenshot_20200302-162132_Chrome.jpg

                  Screenshot_20200302-162216_Chrome.jpg

                  Uli977U Offline
                  Uli977U Offline
                  Uli977
                  wrote on last edited by
                  #57

                  @dslraser Ja, habe ich auch gerade gelesen. Ich habe es so eingestellt und teste jetzt mal.
                  Zumindest aus der CCU heraus ging es schon einmal ohne Kommunikationsprobleme.
                  Nun teste ich mal das Skript.

                  dslraserD 1 Reply Last reply
                  0
                  • Uli977U Uli977

                    @dslraser Ja, habe ich auch gerade gelesen. Ich habe es so eingestellt und teste jetzt mal.
                    Zumindest aus der CCU heraus ging es schon einmal ohne Kommunikationsprobleme.
                    Nun teste ich mal das Skript.

                    dslraserD Offline
                    dslraserD Offline
                    dslraser
                    Forum Testing Most Active
                    wrote on last edited by dslraser
                    #58

                    @Uli977
                    schau auch mal bei Deinem Schalter und Präsenzmelder nach der Option.

                    also nach Routing aktiv

                    Uli977U 1 Reply Last reply
                    0
                    • dslraserD dslraser

                      @Uli977
                      schau auch mal bei Deinem Schalter und Präsenzmelder nach der Option.

                      also nach Routing aktiv

                      Uli977U Offline
                      Uli977U Offline
                      Uli977
                      wrote on last edited by Uli977
                      #59

                      @dslraser
                      Also, Kommunikationsstörungen habe ich nicht mehr, aber die Präsenzerkennung_Active schaltet sich trotz alledem nicht ab.

                      Beim HMIP Präsenzmelder ist das Routing aktiv, beim HM Schalteraktor, dieser hat die Funktion nicht.

                      <xml xmlns="http://www.w3.org/1999/xhtml">
                       <variables>
                         <variable type="undefined" id="timeout3">timeout3</variable>
                         <variable type="" id="%x|o%|Fp:M#Prl~?i8Ml">Bewegung</variable>
                         <variable type="" id=":b!]mT(G8+2qJr28xm4P">level</variable>
                         <variable type="undefined" id="timeout4">timeout4</variable>
                         <variable type="undefined" id="timeout">timeout</variable>
                       </variables>
                       <block type="on_ext" id="nikZ%BgFPf|9Kg{BsjTB" x="38" y="762">
                         <mutation items="1"></mutation>
                         <field name="CONDITION">ne</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="#Qnk{`4feYeZ{YNSs}cl">
                             <field name="oid">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_STATE</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="Vj*8G=nXz|+98+[-T/CN">
                             <mutation else="1"></mutation>
                             <value name="IF0">
                               <block type="logic_compare" id="pRasV2!_xx`UG]In`=9t">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="bFemW@N~VwrX~]W2(*Wt">
                                     <field name="ATTR">val</field>
                                     <field name="OID">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_STATE</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_boolean" id="FU*@3onbse=~UQNpCh~V">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="timeouts_cleartimeout" id="A1F#~0(/W|Y76xeYSPLy">
                                 <field name="NAME">timeout3</field>
                                 <next>
                                   <block type="controls_if" id=":JQG`zC+DFr.jwkO7x6F">
                                     <value name="IF0">
                                       <block type="logic_compare" id="6v=;y+x}?oPwMFPHhu9*">
                                         <field name="OP">LT</field>
                                         <value name="A">
                                           <block type="get_value" id="Anwg(*o:YispG%kt1M`p">
                                             <field name="ATTR">val</field>
                                             <field name="OID">hm-rpc.2.000C1A498E0782.1.ILLUMINATION</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="XQX+$./QxhYDIZc]UB#*">
                                             <field name="NUM">500</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="controls_if" id="$cn5;0DVEJ2X_oWZJ1Af">
                                         <mutation else="1"></mutation>
                                         <value name="IF0">
                                           <block type="time_compare" id="(15Gqrq!XXYcM.UBh$c!">
                                             <mutation end_time="true"></mutation>
                                             <field name="OPTION">between</field>
                                             <field name="START_TIME">06:00</field>
                                             <field name="END_TIME">08:30</field>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="comment" id="Iduv3M*f4%f{=1mQ!mM@">
                                             <field name="COMMENT">Lichtstärke Tag</field>
                                             <next>
                                               <block type="variables_set" id="h,DIGSG(rB3)~?Y.c{0f">
                                                 <field name="VAR" id=":b!]mT(G8+2qJr28xm4P" variabletype="">level</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="ZjR+dU4etUp_B;o[?!%}">
                                                     <field name="NUM">100</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                         <statement name="ELSE">
                                           <block type="comment" id="A*gg/}M2o#f,=pDJDThr">
                                             <field name="COMMENT">Lichtstärke Abend/Nacht</field>
                                             <next>
                                               <block type="variables_set" id="vOFm.?)N;Y``_aI1N$cL">
                                                 <field name="VAR" id=":b!]mT(G8+2qJr28xm4P" variabletype="">level</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="3wQR3WE9t~L`D7pYHquZ">
                                                     <field name="NUM">20</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="control" id="FHDHE3IO:Pr-Wy07)5q)">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">hm-rpc.1.KEQ0198945.1.STATE</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="logic_boolean" id="IC{]w7:vUZ5r}YPO$#~I">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="control" id="z!~ehFVPxx@j1cp}=tjr">
                                                 <mutation delay_input="true"></mutation>
                                                 <field name="OID">hue.0.Philips_hue.KiZi_Philipp.level</field>
                                                 <field name="WITH_DELAY">TRUE</field>
                                                 <field name="DELAY_MS">1000</field>
                                                 <field name="UNIT">ms</field>
                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="sVYz{3[=JHHYlF|0g(pD">
                                                     <field name="VAR" id=":b!]mT(G8+2qJr28xm4P" variabletype="">level</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="variables_set" id="Yl:Ju,gXjk|8d1ZA;zyE">
                                         <field name="VAR" id="%x|o%|Fp:M#Prl~?i8Ml" variabletype="">Bewegung</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="An)Mg0~Blb|hLXW38,CE">
                                             <field name="BOOL">TRUE</field>
                                           </block>
                                         </value>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                             <statement name="ELSE">
                               <block type="timeouts_settimeout" id="XBe@QksGZ$gj,8eqzn3(">
                                 <field name="NAME">timeout3</field>
                                 <field name="DELAY">15</field>
                                 <field name="UNIT">sec</field>
                                 <statement name="STATEMENT">
                                   <block type="control" id="]7x7lJsd6`fSp~0Vbe#+">
                                     <mutation delay_input="false"></mutation>
                                     <field name="OID">hm-rpc.1.KEQ0198945.1.STATE</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="logic_boolean" id="$7Kq7hw:w$fBcs?$?V{Q">
                                         <field name="BOOL">FALSE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                               </block>
                             </statement>
                           </block>
                         </statement>
                         <next>
                           <block type="comment" id="}j`H|~ZX5l*~s$-e{Jpr">
                             <field name="COMMENT">Lichtschalter STATE - Präsenzerkennung deaktivieren</field>
                             <next>
                               <block type="on_ext" id="0YckWxWOAXvx#d$T=3=F">
                                 <mutation items="1"></mutation>
                                 <field name="CONDITION">ne</field>
                                 <field name="ACK_CONDITION"></field>
                                 <value name="OID0">
                                   <shadow type="field_oid" id="j+^!J~H^7kVXXdyse)uw">
                                     <field name="oid">hm-rpc.1.KEQ0198945.1.STATE</field>
                                   </shadow>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="controls_if" id="XmE84*TqHwcIsM#],$$-">
                                     <mutation else="1"></mutation>
                                     <value name="IF0">
                                       <block type="on_source" id="+jjLSUNu7%,rPg]v8A*z">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="controls_if" id="qYNT}4ZYI/V:70-So/k,">
                                         <value name="IF0">
                                           <block type="logic_negate" id="@M,NzPK,f{3Ij#,2-T8E">
                                             <value name="BOOL">
                                               <block type="variables_get" id="Yv_unFJ|6w.Sur~-bRrY">
                                                 <field name="VAR" id="%x|o%|Fp:M#Prl~?i8Ml" variabletype="">Bewegung</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="dj!;+a=},Y@EWVNk-jy$">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">hue.0.Philips_hue.1OG_Lampe_Flur.level</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="Z,qpq;3BZD7^b{D/_XW|">
                                                 <field name="NUM">100</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="control" id="x/W!%@_EoGtrh5Pr(w%e">
                                                 <mutation delay_input="false"></mutation>
                                                 <field name="OID">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_ACTIVE</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="u9Y[FxT^?;niMp_7FiEx">
                                                     <field name="BOOL">FALSE</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="timeouts_settimeout" id="OeNwobeH%s)PP`u[,Hk7">
                                                     <field name="NAME">timeout</field>
                                                     <field name="DELAY">2</field>
                                                     <field name="UNIT">sec</field>
                                                     <statement name="STATEMENT">
                                                       <block type="timeouts_cleartimeout" id="}w10KMOUUYX|7naY^W8Y">
                                                         <field name="NAME">timeout3</field>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                       </block>
                                     </statement>
                                     <statement name="ELSE">
                                       <block type="timeouts_cleartimeout" id="kt3TA$oqO0aE8DOCVGGw">
                                         <field name="NAME">timeout3</field>
                                         <next>
                                           <block type="variables_set" id="Yzj##G79SFj1s*c9,#R^">
                                             <field name="VAR" id="%x|o%|Fp:M#Prl~?i8Ml" variabletype="">Bewegung</field>
                                             <value name="VALUE">
                                               <block type="logic_boolean" id="n:wJltQ8v)D,eQ%;s#c^">
                                                 <field name="BOOL">FALSE</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="control" id="v?6p##dZ0oUt@1%vq#Zz">
                                                 <mutation delay_input="false"></mutation>
                                                 <field name="OID">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_ACTIVE</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="|aCz)wgGX_Xi@kuW(slx">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="comment" id="aTc1JTq|9/Jrs~vuHx5R">
                                     <field name="COMMENT">Wenn Philipp nachts aus Bett, Licht Flur1OG an</field>
                                     <next>
                                       <block type="on_ext" id="pJfk4=7-%FqF,4U46{E}">
                                         <mutation items="1"></mutation>
                                         <field name="CONDITION">ne</field>
                                         <field name="ACK_CONDITION"></field>
                                         <value name="OID0">
                                           <shadow type="field_oid" id="~/m%9Z(|e6STG6Dt.^u9">
                                             <field name="oid">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_STATE</field>
                                           </shadow>
                                         </value>
                                         <statement name="STATEMENT">
                                           <block type="controls_if" id="=_Nqbi5s]|XIDWiD2-m%">
                                             <value name="IF0">
                                               <block type="logic_operation" id="RzgH+_j+/D~vl:KK[zjZ" inline="false">
                                                 <field name="OP">AND</field>
                                                 <value name="A">
                                                   <block type="logic_compare" id="N$YNKOU:/7n9CAaBr9Ya">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="QIM*~yM?ex4}XQE0q+=+">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_STATE</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="logic_boolean" id="Xwq1:2FEPV~VU}B[k$2X">
                                                         <field name="BOOL">TRUE</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="time_compare" id="iMMOKoakw%i($!u(1S{?">
                                                     <mutation end_time="true"></mutation>
                                                     <field name="OPTION">between</field>
                                                     <field name="START_TIME">21:00</field>
                                                     <field name="END_TIME">06:00</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="control" id="8ec-$c,@FEg+b`y1EVc]">
                                                 <mutation delay_input="false"></mutation>
                                                 <field name="OID">hue.0.Philips_hue.1OG_Lampe_Flur.level</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="fNZ]@rh?B(8%u?Z.X2^6">
                                                     <field name="NUM">100</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="timeouts_settimeout" id=",bY/b2jdK6dK8P+^KF:J">
                                                     <field name="NAME">timeout4</field>
                                                     <field name="DELAY">2</field>
                                                     <field name="UNIT">min</field>
                                                     <statement name="STATEMENT">
                                                       <block type="control" id="WWmWI(]#W8hnFxcar,UU">
                                                         <mutation delay_input="false"></mutation>
                                                         <field name="OID">hue.0.Philips_hue.1OG_Lampe_Flur.level</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id="}P`qS{uelIUG$?7ZW*7@">
                                                             <field name="NUM">0</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                      </xml>
                      

                      Hier nochmal das Skript, falls jemand einen Hinweis geben kann warum es nicht geht.

                      Stimmt vielleicht hier etwas mit den Zeiten nicht. Vielleicht das sich etwas überlagert oder so.

                      95d07d26-0e8b-4e0e-8aa4-664f05170eb6-image.png

                      Wenn ich die Präsenzerkennung hier ausschalte, dann geht es ohne Probleme.

                      ceb355e5-d6aa-4f8a-9b68-8433b0d64855-image.png

                      paul53P 1 Reply Last reply
                      0
                      • Uli977U Uli977

                        @dslraser
                        Also, Kommunikationsstörungen habe ich nicht mehr, aber die Präsenzerkennung_Active schaltet sich trotz alledem nicht ab.

                        Beim HMIP Präsenzmelder ist das Routing aktiv, beim HM Schalteraktor, dieser hat die Funktion nicht.

                        <xml xmlns="http://www.w3.org/1999/xhtml">
                         <variables>
                           <variable type="undefined" id="timeout3">timeout3</variable>
                           <variable type="" id="%x|o%|Fp:M#Prl~?i8Ml">Bewegung</variable>
                           <variable type="" id=":b!]mT(G8+2qJr28xm4P">level</variable>
                           <variable type="undefined" id="timeout4">timeout4</variable>
                           <variable type="undefined" id="timeout">timeout</variable>
                         </variables>
                         <block type="on_ext" id="nikZ%BgFPf|9Kg{BsjTB" x="38" y="762">
                           <mutation items="1"></mutation>
                           <field name="CONDITION">ne</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="#Qnk{`4feYeZ{YNSs}cl">
                               <field name="oid">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_STATE</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="Vj*8G=nXz|+98+[-T/CN">
                               <mutation else="1"></mutation>
                               <value name="IF0">
                                 <block type="logic_compare" id="pRasV2!_xx`UG]In`=9t">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="get_value" id="bFemW@N~VwrX~]W2(*Wt">
                                       <field name="ATTR">val</field>
                                       <field name="OID">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_STATE</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_boolean" id="FU*@3onbse=~UQNpCh~V">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="timeouts_cleartimeout" id="A1F#~0(/W|Y76xeYSPLy">
                                   <field name="NAME">timeout3</field>
                                   <next>
                                     <block type="controls_if" id=":JQG`zC+DFr.jwkO7x6F">
                                       <value name="IF0">
                                         <block type="logic_compare" id="6v=;y+x}?oPwMFPHhu9*">
                                           <field name="OP">LT</field>
                                           <value name="A">
                                             <block type="get_value" id="Anwg(*o:YispG%kt1M`p">
                                               <field name="ATTR">val</field>
                                               <field name="OID">hm-rpc.2.000C1A498E0782.1.ILLUMINATION</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="XQX+$./QxhYDIZc]UB#*">
                                               <field name="NUM">500</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="controls_if" id="$cn5;0DVEJ2X_oWZJ1Af">
                                           <mutation else="1"></mutation>
                                           <value name="IF0">
                                             <block type="time_compare" id="(15Gqrq!XXYcM.UBh$c!">
                                               <mutation end_time="true"></mutation>
                                               <field name="OPTION">between</field>
                                               <field name="START_TIME">06:00</field>
                                               <field name="END_TIME">08:30</field>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="comment" id="Iduv3M*f4%f{=1mQ!mM@">
                                               <field name="COMMENT">Lichtstärke Tag</field>
                                               <next>
                                                 <block type="variables_set" id="h,DIGSG(rB3)~?Y.c{0f">
                                                   <field name="VAR" id=":b!]mT(G8+2qJr28xm4P" variabletype="">level</field>
                                                   <value name="VALUE">
                                                     <block type="math_number" id="ZjR+dU4etUp_B;o[?!%}">
                                                       <field name="NUM">100</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                           <statement name="ELSE">
                                             <block type="comment" id="A*gg/}M2o#f,=pDJDThr">
                                               <field name="COMMENT">Lichtstärke Abend/Nacht</field>
                                               <next>
                                                 <block type="variables_set" id="vOFm.?)N;Y``_aI1N$cL">
                                                   <field name="VAR" id=":b!]mT(G8+2qJr28xm4P" variabletype="">level</field>
                                                   <value name="VALUE">
                                                     <block type="math_number" id="3wQR3WE9t~L`D7pYHquZ">
                                                       <field name="NUM">20</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="control" id="FHDHE3IO:Pr-Wy07)5q)">
                                               <mutation delay_input="false"></mutation>
                                               <field name="OID">hm-rpc.1.KEQ0198945.1.STATE</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="IC{]w7:vUZ5r}YPO$#~I">
                                                   <field name="BOOL">TRUE</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="control" id="z!~ehFVPxx@j1cp}=tjr">
                                                   <mutation delay_input="true"></mutation>
                                                   <field name="OID">hue.0.Philips_hue.KiZi_Philipp.level</field>
                                                   <field name="WITH_DELAY">TRUE</field>
                                                   <field name="DELAY_MS">1000</field>
                                                   <field name="UNIT">ms</field>
                                                   <field name="CLEAR_RUNNING">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="variables_get" id="sVYz{3[=JHHYlF|0g(pD">
                                                       <field name="VAR" id=":b!]mT(G8+2qJr28xm4P" variabletype="">level</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                       <next>
                                         <block type="variables_set" id="Yl:Ju,gXjk|8d1ZA;zyE">
                                           <field name="VAR" id="%x|o%|Fp:M#Prl~?i8Ml" variabletype="">Bewegung</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="An)Mg0~Blb|hLXW38,CE">
                                               <field name="BOOL">TRUE</field>
                                             </block>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <statement name="ELSE">
                                 <block type="timeouts_settimeout" id="XBe@QksGZ$gj,8eqzn3(">
                                   <field name="NAME">timeout3</field>
                                   <field name="DELAY">15</field>
                                   <field name="UNIT">sec</field>
                                   <statement name="STATEMENT">
                                     <block type="control" id="]7x7lJsd6`fSp~0Vbe#+">
                                       <mutation delay_input="false"></mutation>
                                       <field name="OID">hm-rpc.1.KEQ0198945.1.STATE</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="$7Kq7hw:w$fBcs?$?V{Q">
                                           <field name="BOOL">FALSE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                           <next>
                             <block type="comment" id="}j`H|~ZX5l*~s$-e{Jpr">
                               <field name="COMMENT">Lichtschalter STATE - Präsenzerkennung deaktivieren</field>
                               <next>
                                 <block type="on_ext" id="0YckWxWOAXvx#d$T=3=F">
                                   <mutation items="1"></mutation>
                                   <field name="CONDITION">ne</field>
                                   <field name="ACK_CONDITION"></field>
                                   <value name="OID0">
                                     <shadow type="field_oid" id="j+^!J~H^7kVXXdyse)uw">
                                       <field name="oid">hm-rpc.1.KEQ0198945.1.STATE</field>
                                     </shadow>
                                   </value>
                                   <statement name="STATEMENT">
                                     <block type="controls_if" id="XmE84*TqHwcIsM#],$$-">
                                       <mutation else="1"></mutation>
                                       <value name="IF0">
                                         <block type="on_source" id="+jjLSUNu7%,rPg]v8A*z">
                                           <field name="ATTR">state.val</field>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="controls_if" id="qYNT}4ZYI/V:70-So/k,">
                                           <value name="IF0">
                                             <block type="logic_negate" id="@M,NzPK,f{3Ij#,2-T8E">
                                               <value name="BOOL">
                                                 <block type="variables_get" id="Yv_unFJ|6w.Sur~-bRrY">
                                                   <field name="VAR" id="%x|o%|Fp:M#Prl~?i8Ml" variabletype="">Bewegung</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="control" id="dj!;+a=},Y@EWVNk-jy$">
                                               <mutation delay_input="false"></mutation>
                                               <field name="OID">hue.0.Philips_hue.1OG_Lampe_Flur.level</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="math_number" id="Z,qpq;3BZD7^b{D/_XW|">
                                                   <field name="NUM">100</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="control" id="x/W!%@_EoGtrh5Pr(w%e">
                                                   <mutation delay_input="false"></mutation>
                                                   <field name="OID">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_ACTIVE</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="u9Y[FxT^?;niMp_7FiEx">
                                                       <field name="BOOL">FALSE</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="timeouts_settimeout" id="OeNwobeH%s)PP`u[,Hk7">
                                                       <field name="NAME">timeout</field>
                                                       <field name="DELAY">2</field>
                                                       <field name="UNIT">sec</field>
                                                       <statement name="STATEMENT">
                                                         <block type="timeouts_cleartimeout" id="}w10KMOUUYX|7naY^W8Y">
                                                           <field name="NAME">timeout3</field>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                         </block>
                                       </statement>
                                       <statement name="ELSE">
                                         <block type="timeouts_cleartimeout" id="kt3TA$oqO0aE8DOCVGGw">
                                           <field name="NAME">timeout3</field>
                                           <next>
                                             <block type="variables_set" id="Yzj##G79SFj1s*c9,#R^">
                                               <field name="VAR" id="%x|o%|Fp:M#Prl~?i8Ml" variabletype="">Bewegung</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="n:wJltQ8v)D,eQ%;s#c^">
                                                   <field name="BOOL">FALSE</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="control" id="v?6p##dZ0oUt@1%vq#Zz">
                                                   <mutation delay_input="false"></mutation>
                                                   <field name="OID">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_ACTIVE</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="|aCz)wgGX_Xi@kuW(slx">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="comment" id="aTc1JTq|9/Jrs~vuHx5R">
                                       <field name="COMMENT">Wenn Philipp nachts aus Bett, Licht Flur1OG an</field>
                                       <next>
                                         <block type="on_ext" id="pJfk4=7-%FqF,4U46{E}">
                                           <mutation items="1"></mutation>
                                           <field name="CONDITION">ne</field>
                                           <field name="ACK_CONDITION"></field>
                                           <value name="OID0">
                                             <shadow type="field_oid" id="~/m%9Z(|e6STG6Dt.^u9">
                                               <field name="oid">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_STATE</field>
                                             </shadow>
                                           </value>
                                           <statement name="STATEMENT">
                                             <block type="controls_if" id="=_Nqbi5s]|XIDWiD2-m%">
                                               <value name="IF0">
                                                 <block type="logic_operation" id="RzgH+_j+/D~vl:KK[zjZ" inline="false">
                                                   <field name="OP">AND</field>
                                                   <value name="A">
                                                     <block type="logic_compare" id="N$YNKOU:/7n9CAaBr9Ya">
                                                       <field name="OP">EQ</field>
                                                       <value name="A">
                                                         <block type="get_value" id="QIM*~yM?ex4}XQE0q+=+">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_STATE</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_boolean" id="Xwq1:2FEPV~VU}B[k$2X">
                                                           <field name="BOOL">TRUE</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="time_compare" id="iMMOKoakw%i($!u(1S{?">
                                                       <mutation end_time="true"></mutation>
                                                       <field name="OPTION">between</field>
                                                       <field name="START_TIME">21:00</field>
                                                       <field name="END_TIME">06:00</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="control" id="8ec-$c,@FEg+b`y1EVc]">
                                                   <mutation delay_input="false"></mutation>
                                                   <field name="OID">hue.0.Philips_hue.1OG_Lampe_Flur.level</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="math_number" id="fNZ]@rh?B(8%u?Z.X2^6">
                                                       <field name="NUM">100</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="timeouts_settimeout" id=",bY/b2jdK6dK8P+^KF:J">
                                                       <field name="NAME">timeout4</field>
                                                       <field name="DELAY">2</field>
                                                       <field name="UNIT">min</field>
                                                       <statement name="STATEMENT">
                                                         <block type="control" id="WWmWI(]#W8hnFxcar,UU">
                                                           <mutation delay_input="false"></mutation>
                                                           <field name="OID">hue.0.Philips_hue.1OG_Lampe_Flur.level</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="math_number" id="}P`qS{uelIUG$?7ZW*7@">
                                                               <field name="NUM">0</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                        </xml>
                        

                        Hier nochmal das Skript, falls jemand einen Hinweis geben kann warum es nicht geht.

                        Stimmt vielleicht hier etwas mit den Zeiten nicht. Vielleicht das sich etwas überlagert oder so.

                        95d07d26-0e8b-4e0e-8aa4-664f05170eb6-image.png

                        Wenn ich die Präsenzerkennung hier ausschalte, dann geht es ohne Probleme.

                        ceb355e5-d6aa-4f8a-9b68-8433b0d64855-image.png

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

                        @Uli977 sagte:

                        Vielleicht das sich etwas überlagert oder so.

                        Verlängere mal die Zeit von timeout von 2 s auf 14 s.

                        Da ich keine BWM habe, verstehe ich die konfigurierbaren Zeiten nicht. Könntest Du erläutern, wie sich die Einstellungen auswirken. Wenn der BWM selbst schon eine Ausschaltverzögerung von 15 s hat, braucht man sie nicht noch einmal im Script.

                        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

                        dslraserD Uli977U 2 Replies Last reply
                        0
                        • paul53P paul53

                          @Uli977 sagte:

                          Vielleicht das sich etwas überlagert oder so.

                          Verlängere mal die Zeit von timeout von 2 s auf 14 s.

                          Da ich keine BWM habe, verstehe ich die konfigurierbaren Zeiten nicht. Könntest Du erläutern, wie sich die Einstellungen auswirken. Wenn der BWM selbst schon eine Ausschaltverzögerung von 15 s hat, braucht man sie nicht noch einmal im Script.

                          dslraserD Offline
                          dslraserD Offline
                          dslraser
                          Forum Testing Most Active
                          wrote on last edited by dslraser
                          #61

                          @paul53 sagte in Bewegungsmelder Lichtsteuerung:

                          Wenn der BWM selbst schon eine Ausschaltverzögerung von 15 s hat, braucht man sie nicht noch einmal im Script.

                          richtig, die hat der PM selbst. Ich stelle die Ausschaltverzögerung in den BWM/PM ein. Im Blockly braucht man die eigentlich nicht. Es gibt auch noch andere/längere Zeiteinstellungen, wenn man möchte.

                          Uli977U 1 Reply Last reply
                          0
                          • dslraserD dslraser

                            @paul53 sagte in Bewegungsmelder Lichtsteuerung:

                            Wenn der BWM selbst schon eine Ausschaltverzögerung von 15 s hat, braucht man sie nicht noch einmal im Script.

                            richtig, die hat der PM selbst. Ich stelle die Ausschaltverzögerung in den BWM/PM ein. Im Blockly braucht man die eigentlich nicht. Es gibt auch noch andere/längere Zeiteinstellungen, wenn man möchte.

                            Uli977U Offline
                            Uli977U Offline
                            Uli977
                            wrote on last edited by
                            #62

                            @dslraser Kurze Zwischenfrage.
                            Wenn ich den Timeout nur im PM/BWM setze, kann ich ihn dann aus einem Skript heraus stoppen?

                            Normalerweise habe ich im PM/BWM auch eine Minute stehen. Nur zum testen bin cih auf 15sek gegangen.

                            dslraserD 1 Reply Last reply
                            0
                            • Uli977U Uli977

                              @dslraser Kurze Zwischenfrage.
                              Wenn ich den Timeout nur im PM/BWM setze, kann ich ihn dann aus einem Skript heraus stoppen?

                              Normalerweise habe ich im PM/BWM auch eine Minute stehen. Nur zum testen bin cih auf 15sek gegangen.

                              dslraserD Offline
                              dslraserD Offline
                              dslraser
                              Forum Testing Most Active
                              wrote on last edited by dslraser
                              #63

                              @Uli977
                              @paul53

                              Mindestabstand ist konfigurierbar
                              (hie 15 s)
                              Screenshot_20200302-171217_Chrome.jpg

                              Das Ausschalten auch
                              Zeit nach der Bewegung zurück gesetzt wird

                              Screenshot_20200302-171234_Chrome.jpg

                              Gerät

                              Screenshot_20200302-171154_Chrome.jpg

                              1 Reply Last reply
                              0
                              • paul53P paul53

                                @Uli977 sagte:

                                Vielleicht das sich etwas überlagert oder so.

                                Verlängere mal die Zeit von timeout von 2 s auf 14 s.

                                Da ich keine BWM habe, verstehe ich die konfigurierbaren Zeiten nicht. Könntest Du erläutern, wie sich die Einstellungen auswirken. Wenn der BWM selbst schon eine Ausschaltverzögerung von 15 s hat, braucht man sie nicht noch einmal im Script.

                                Uli977U Offline
                                Uli977U Offline
                                Uli977
                                wrote on last edited by
                                #64

                                @paul53 sagte in Bewegungsmelder Lichtsteuerung:

                                Verlängere mal die Zeit von timeout von 2 s auf 14 s.

                                Habe ich gemacht. Aber die Präsenzerkennung ist und bleibt aktiv

                                paul53P 2 Replies Last reply
                                0
                                • Uli977U Offline
                                  Uli977U Offline
                                  Uli977
                                  wrote on last edited by
                                  #65

                                  Hebe jetzt wohl auch wieder diese Meldung bekommen.
                                  7265f9dd-399c-45c2-be27-d79045516c82-image.png

                                  1 Reply Last reply
                                  0
                                  • Uli977U Uli977

                                    @paul53 sagte in Bewegungsmelder Lichtsteuerung:

                                    Verlängere mal die Zeit von timeout von 2 s auf 14 s.

                                    Habe ich gemacht. Aber die Präsenzerkennung ist und bleibt aktiv

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

                                    @Uli977 sagte in Bewegungsmelder Lichtsteuerung:

                                    Aber die Präsenzerkennung ist und bleibt aktiv

                                    Die Helligkeit ändert sich nach Aus- und Wiedereinschalten aber auf 100 % ?

                                    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

                                    Uli977U 1 Reply Last reply
                                    0
                                    • paul53P paul53

                                      @Uli977 sagte in Bewegungsmelder Lichtsteuerung:

                                      Aber die Präsenzerkennung ist und bleibt aktiv

                                      Die Helligkeit ändert sich nach Aus- und Wiedereinschalten aber auf 100 % ?

                                      Uli977U Offline
                                      Uli977U Offline
                                      Uli977
                                      wrote on last edited by Uli977
                                      #67

                                      @paul53 sagte in Bewegungsmelder Lichtsteuerung:

                                      Die Helligkeit ändert sich nach Aus- und Wiedereinschalten aber auf 100 % ?

                                      Ja
                                      Aber ich glaube das macht Philips Hue sowieso wenn sie einmal stromlos waren.

                                      Hsbe gerade mal das hier deaktiviert und das Licht ging nach dem ein udn ausschalten trotzdem auf 100%

                                      e6be7cf6-e4e3-44a3-8a79-50751d755db2-image.png

                                      dslraserD 1 Reply Last reply
                                      0
                                      • Uli977U Uli977

                                        @paul53 sagte in Bewegungsmelder Lichtsteuerung:

                                        Die Helligkeit ändert sich nach Aus- und Wiedereinschalten aber auf 100 % ?

                                        Ja
                                        Aber ich glaube das macht Philips Hue sowieso wenn sie einmal stromlos waren.

                                        Hsbe gerade mal das hier deaktiviert und das Licht ging nach dem ein udn ausschalten trotzdem auf 100%

                                        e6be7cf6-e4e3-44a3-8a79-50751d755db2-image.png

                                        dslraserD Offline
                                        dslraserD Offline
                                        dslraser
                                        Forum Testing Most Active
                                        wrote on last edited by
                                        #68

                                        @Uli977 sagte in Bewegungsmelder Lichtsteuerung:

                                        @paul53 sagte in Bewegungsmelder Lichtsteuerung:

                                        Die Helligkeit ändert sich nach Aus- und Wiedereinschalten aber auf 100 % ?

                                        Ja
                                        Aber ich glaube das macht Philips Hue sowieso wenn sie einmal stromlos waren.

                                        das Verhalten kannst Du selbst einstellen

                                        1 Reply Last reply
                                        0
                                        • Uli977U Uli977

                                          @paul53 sagte in Bewegungsmelder Lichtsteuerung:

                                          Verlängere mal die Zeit von timeout von 2 s auf 14 s.

                                          Habe ich gemacht. Aber die Präsenzerkennung ist und bleibt aktiv

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

                                          @Uli977 sagte:

                                          die Präsenzerkennung ist und bleibt aktiv

                                          Versuche es mal so (ohne Präsenz-Deaktivierung und ohne Ausschaltverzögerung im Script):

                                          Blockly_temp.JPG

                                          <xml xmlns="http://www.w3.org/1999/xhtml">
                                           <variables>
                                             <variable type="" id="%x|o%|Fp:M#Prl~?i8Ml">Bewegung</variable>
                                             <variable type="" id="6]U@hNi:K/0,DH[xTpmJ">manuell</variable>
                                             <variable type="" id=":b!]mT(G8+2qJr28xm4P">level</variable>
                                             <variable type="undefined" id="timeout4">timeout4</variable>
                                           </variables>
                                           <block type="on_ext" id="nikZ%BgFPf|9Kg{BsjTB" x="38" y="762">
                                             <mutation items="1"></mutation>
                                             <field name="CONDITION">ne</field>
                                             <field name="ACK_CONDITION"></field>
                                             <value name="OID0">
                                               <shadow type="field_oid" id="#Qnk{`4feYeZ{YNSs}cl">
                                                 <field name="oid">hm-rpc.2.000C1A498E0782.1.PRESENCE_DETECTION_STATE</field>
                                               </shadow>
                                             </value>
                                             <statement name="STATEMENT">
                                               <block type="controls_if" id="|%/,NUqp5ie7K1ye8)I_">
                                                 <value name="IF0">
                                                   <block type="logic_negate" id="P|Tpo_`R*(IYpbe?,{@_">
                                                     <value name="BOOL">
                                                       <block type="variables_get" id="k=ge!BR#jC!IzV-`KD|T">
                                                         <field name="VAR" id="6]U@hNi:K/0,DH[xTpmJ" variabletype="">manuell</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="variables_set" id="H.-*uR1$U@gNjfCUdx^c">
                                                     <field name="VAR" id="%x|o%|Fp:M#Prl~?i8Ml" variabletype="">Bewegung</field>
                                                     <value name="VALUE">
                                                       <block type="on_source" id="Ll5nzuZ1)+?ggyX0CTiB">
                                                         <field name="ATTR">state.val</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="controls_if" id=":JQG`zC+DFr.jwkO7x6F">
                                                         <value name="IF0">
                                                           <block type="logic_operation" id="@sPdyOc$?A@:e(;*$SpM" inline="false">
                                                             <field name="OP">AND</field>
                                                             <value name="A">
                                                               <block type="variables_get" id="JRdGHI7L$}$|~v7,qADo">
                                                                 <field name="VAR" id="%x|o%|Fp:M#Prl~?i8Ml" variabletype="">Bewegung</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="logic_compare" id="6v=;y+x}?oPwMFPHhu9*">
                                                                 <field name="OP">LT</field>
                                                                 <value name="A">
                                                                   <block type="get_value" id="Anwg(*o:YispG%kt1M`p">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">hm-rpc.2.000C1A498E0782.1.ILLUMINATION</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="math_number" id="XQX+$./QxhYDIZc]UB#*">
                                                                     <field name="NUM">500</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="controls_if" id="$cn5;0DVEJ2X_oWZJ1Af">
                                                             <mutation else="1"></mutation>
                                                             <value name="IF0">
                                                               <block type="time_compare" id="(15Gqrq!XXYcM.UBh$c!">
                                                                 <mutation end_time="true"></mutation>
                                                                 <field name="OPTION">between</field>
                                                                 <field name="START_TIME">06:00</field>
                                                                 <field name="END_TIME">08:30</field>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="comment" id="Iduv3M*f4%f{=1mQ!mM@">
                                                                 <field name="COMMENT">Lichtstärke Tag</field>
                                                                 <next>
                                                                   <block type="variables_set" id="h,DIGSG(rB3)~?Y.c{0f">
                                                                     <field name="VAR" id=":b!]mT(G8+2qJr28xm4P" variabletype="">level</field>
                                                                     <value name="VALUE">
                                                                       <block type="math_number" id="ZjR+dU4etUp_B;o[?!%}">
                                                                         <field name="NUM">100</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                             <statement name="ELSE">
                                                               <block type="comment" id="A*gg/}M2o#f,=pDJDThr">
                                                                 <field name="COMMENT">Lichtstärke Abend/Nacht</field>
                                                                 <next>
                                                                   <block type="variables_set" id="vOFm.?)N;Y``_aI1N$cL">
                                                                     <field name="VAR" id=":b!]mT(G8+2qJr28xm4P" variabletype="">level</field>
                                                                     <value name="VALUE">
                                                                       <block type="math_number" id="3wQR3WE9t~L`D7pYHquZ">
                                                                         <field name="NUM">20</field>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="comment" id="aTc1JTq|9/Jrs~vuHx5R">
                                                                         <field name="COMMENT">Wenn Philipp nachts aus Bett, Licht Flur1OG an</field>
                                                                         <next>
                                                                           <block type="control" id="8ec-$c,@FEg+b`y1EVc]">
                                                                             <mutation delay_input="false"></mutation>
                                                                             <field name="OID">hue.0.Philips_hue.1OG_Lampe_Flur.level</field>
                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                             <value name="VALUE">
                                                                               <block type="math_number" id="fNZ]@rh?B(8%u?Z.X2^6">
                                                                                 <field name="NUM">100</field>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="timeouts_settimeout" id=",bY/b2jdK6dK8P+^KF:J">
                                                                                 <field name="NAME">timeout4</field>
                                                                                 <field name="DELAY">2</field>
                                                                                 <field name="UNIT">min</field>
                                                                                 <statement name="STATEMENT">
                                                                                   <block type="control" id="WWmWI(]#W8hnFxcar,UU">
                                                                                     <mutation delay_input="false"></mutation>
                                                                                     <field name="OID">hue.0.Philips_hue.1OG_Lampe_Flur.level</field>
                                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                                     <value name="VALUE">
                                                                                       <block type="math_number" id="}P`qS{uelIUG$?7ZW*7@">
                                                                                         <field name="NUM">0</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </statement>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                             <next>
                                                               <block type="control" id="z!~ehFVPxx@j1cp}=tjr">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">hue.0.Philips_hue.KiZi_Philipp.level</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">1000</field>
                                                                 <field name="UNIT">ms</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="variables_get" id="sVYz{3[=JHHYlF|0g(pD">
                                                                     <field name="VAR" id=":b!]mT(G8+2qJr28xm4P" variabletype="">level</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </statement>
                                                         <next>
                                                           <block type="control" id="]7x7lJsd6`fSp~0Vbe#+">
                                                             <mutation delay_input="false"></mutation>
                                                             <field name="OID">hm-rpc.1.KEQ0198945.1.STATE</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="??_ctLZR841.f[Og?W].">
                                                                 <field name="VAR" id="%x|o%|Fp:M#Prl~?i8Ml" variabletype="">Bewegung</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="comment" id="}j`H|~ZX5l*~s$-e{Jpr">
                                                 <field name="COMMENT">Lichtschalter STATE</field>
                                                 <next>
                                                   <block type="on_ext" id="0YckWxWOAXvx#d$T=3=F">
                                                     <mutation items="1"></mutation>
                                                     <field name="CONDITION">ne</field>
                                                     <field name="ACK_CONDITION"></field>
                                                     <value name="OID0">
                                                       <shadow type="field_oid" id="j+^!J~H^7kVXXdyse)uw">
                                                         <field name="oid">hm-rpc.1.KEQ0198945.1.STATE</field>
                                                       </shadow>
                                                     </value>
                                                     <statement name="STATEMENT">
                                                       <block type="controls_if" id="XmE84*TqHwcIsM#],$$-">
                                                         <mutation else="1"></mutation>
                                                         <value name="IF0">
                                                           <block type="on_source" id="+jjLSUNu7%,rPg]v8A*z">
                                                             <field name="ATTR">state.val</field>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="controls_if" id="qYNT}4ZYI/V:70-So/k,">
                                                             <value name="IF0">
                                                               <block type="logic_negate" id="@M,NzPK,f{3Ij#,2-T8E">
                                                                 <value name="BOOL">
                                                                   <block type="variables_get" id="Yv_unFJ|6w.Sur~-bRrY">
                                                                     <field name="VAR" id="%x|o%|Fp:M#Prl~?i8Ml" variabletype="">Bewegung</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="variables_set" id="XRo=|+Foy[JH2%[?Fv,#">
                                                                 <field name="VAR" id="6]U@hNi:K/0,DH[xTpmJ" variabletype="">manuell</field>
                                                                 <value name="VALUE">
                                                                   <block type="logic_boolean" id="Ls8!@C3r|~qhx8rzJ}h!">
                                                                     <field name="BOOL">TRUE</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="control" id="dj!;+a=},Y@EWVNk-jy$">
                                                                     <mutation delay_input="false"></mutation>
                                                                     <field name="OID">hue.0.Philips_hue.1OG_Lampe_Flur.level</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="math_number" id="Z,qpq;3BZD7^b{D/_XW|">
                                                                         <field name="NUM">100</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </statement>
                                                         <statement name="ELSE">
                                                           <block type="variables_set" id="Yzj##G79SFj1s*c9,#R^">
                                                             <field name="VAR" id="%x|o%|Fp:M#Prl~?i8Ml" variabletype="">Bewegung</field>
                                                             <value name="VALUE">
                                                               <block type="logic_boolean" id="n:wJltQ8v)D,eQ%;s#c^">
                                                                 <field name="BOOL">FALSE</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="variables_set" id="f:@ccqQ^dxNx3,ppRt~L">
                                                                 <field name="VAR" id="6]U@hNi:K/0,DH[xTpmJ" variabletype="">manuell</field>
                                                                 <value name="VALUE">
                                                                   <block type="logic_boolean" id="`1W,e^zYo[hixs)G^d?j">
                                                                     <field name="BOOL">FALSE</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                          </xml>
                                          

                                          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

                                          Uli977U 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          489

                                          Online

                                          32.8k

                                          Users

                                          82.7k

                                          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