Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. [gelöst] Bewegungsmelder Lichtsteuerung

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.6k

[gelöst] Bewegungsmelder Lichtsteuerung

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
javascriptblockly
88 Beiträge 6 Kommentatoren 4.7k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Uli977U Uli977

    @paul53 sagte in Bewegungsmelder Lichtsteuerung:

    Licht am Schalter aus --> Ausgangsstellung

    Aber dies ist doch nicht die Ausgangsstellung. Wenn der HM Schalteraktor aus ist, geht das Licht doch gar nicht erst an weil die Hue keinen Strom bekommen.

    Uli977U Offline
    Uli977U Offline
    Uli977
    schrieb am zuletzt editiert von
    #78

    @paul53 komisch, geht doch??? Verstehe ich nicht...

    1 Antwort Letzte Antwort
    0
    • Uli977U Uli977

      @paul53 sagte in Bewegungsmelder Lichtsteuerung:

      Licht am Schalter aus --> Ausgangsstellung

      Aber dies ist doch nicht die Ausgangsstellung. Wenn der HM Schalteraktor aus ist, geht das Licht doch gar nicht erst an weil die Hue keinen Strom bekommen.

      paul53P Offline
      paul53P Offline
      paul53
      schrieb am zuletzt editiert von
      #79

      @Uli977 sagte in Bewegungsmelder Lichtsteuerung:

      Wenn der HM Schalteraktor aus ist, geht das Licht doch gar nicht erst an weil die Hue keinen Strom bekommen.

      Wozu ist wohl das Script da ? Der Datenpunkt STATE wird im Script geschrieben. Hier noch ein Export mit kleiner Korrektur bei Einschalten (Berücksichtigung der Helligkeit):

      <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">
                     <mutation else="1"></mutation>
                     <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>
                             <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="logic_boolean" id="juYFHP!T,y|+urphQkdZ">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </statement>
                     <statement name="ELSE">
                       <block type="control" id="2WlZ{/]*#}bNj^^6g:mO">
                         <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="7`V+%1^I)gZoeWFQodxH">
                             <field name="BOOL">FALSE</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                   </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 Antwort Letzte Antwort
      0
      • Uli977U Uli977

        @paul53 sagte in Bewegungsmelder Lichtsteuerung:

        Licht am Schalter aus --> Ausgangsstellung

        Aber dies ist doch nicht die Ausgangsstellung. Wenn der HM Schalteraktor aus ist, geht das Licht doch gar nicht erst an weil die Hue keinen Strom bekommen.

        dslraserD Offline
        dslraserD Offline
        dslraser
        Forum Testing Most Active
        schrieb am zuletzt editiert von
        #80

        @Uli977 sagte in Bewegungsmelder Lichtsteuerung:

        Wenn der HM Schalteraktor aus ist, geht das Licht doch gar nicht erst an weil die Hue keinen Strom bekommen

        ??? Dein PM schaltet doch den Schalter ein und somit haben die HUE doch Strom...

        1 Antwort Letzte Antwort
        0
        • paul53P paul53

          @Uli977 sagte in Bewegungsmelder Lichtsteuerung:

          Wenn der HM Schalteraktor aus ist, geht das Licht doch gar nicht erst an weil die Hue keinen Strom bekommen.

          Wozu ist wohl das Script da ? Der Datenpunkt STATE wird im Script geschrieben. Hier noch ein Export mit kleiner Korrektur bei Einschalten (Berücksichtigung der Helligkeit):

          <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">
                         <mutation else="1"></mutation>
                         <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>
                                 <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="logic_boolean" id="juYFHP!T,y|+urphQkdZ">
                                         <field name="BOOL">TRUE</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                         <statement name="ELSE">
                           <block type="control" id="2WlZ{/]*#}bNj^^6g:mO">
                             <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="7`V+%1^I)gZoeWFQodxH">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </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>
          

          Uli977U Offline
          Uli977U Offline
          Uli977
          schrieb am zuletzt editiert von
          #81

          @paul53 Sensationell! Danke Euch allen!

          Wäre es viel Aufwand das umzustellen, statt aus/ein nur ein um auf 100% zu kommen?

          paul53P dslraserD 2 Antworten Letzte Antwort
          0
          • Uli977U Uli977

            @paul53 Sensationell! Danke Euch allen!

            Wäre es viel Aufwand das umzustellen, statt aus/ein nur ein um auf 100% zu kommen?

            paul53P Offline
            paul53P Offline
            paul53
            schrieb am zuletzt editiert von
            #82

            @Uli977 sagte:

            statt aus/ein nur ein um auf 100% zu kommen?

            Durch den BWM ist bereits ein. Wie soll man feststellen, dass "zusätzlich ein" gewünscht wird (es gibt nur den einen Datenpunkt STATE).

            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 1 Antwort Letzte Antwort
            0
            • mickymM Online
              mickymM Online
              mickym
              Most Active
              schrieb am zuletzt editiert von mickym
              #83

              Das ist ja eigentlich keine Frage der Technik - sonder der Logik.

              1. Der BWM schaltet in jedem Fall immer korrekt aus - egal ob mit Schalter ein geschaltet wurde.
              2. Der BWM schaltet zeitabhängig entweder gar nicht, 100% oder 20%.
              3. Warum machst Du den Lichtschalter dann nicht komplett logisch und lässt dann das System steuern - in
                dem Du ihn als Toggle nutzt.
                Also wird bei Lichtschalter immer auf 100% geschaltet egal ob das Licht vorher durch den BWM aus oder eingeschaltet ist.
                Der BWM schaltet das Licht dann nach einer gewissen Zeit aus oder Du programmierst, wenn er innerhalb einer bestimmten Zeit erneut gedrückt wird, dass ausgeschaltet wird.
                Letztlich musst Du egal wie Deine Logik um den Lichtschalter bauen. ;)

              Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

              1 Antwort Letzte Antwort
              0
              • Uli977U Uli977

                @paul53 Sensationell! Danke Euch allen!

                Wäre es viel Aufwand das umzustellen, statt aus/ein nur ein um auf 100% zu kommen?

                dslraserD Offline
                dslraserD Offline
                dslraser
                Forum Testing Most Active
                schrieb am zuletzt editiert von
                #84

                @Uli977 sagte in Bewegungsmelder Lichtsteuerung:

                statt aus/ein nur ein um auf 100% zu

                Wo ist eigentlich der Schalter ? Innen im Raum, da wo der BWM ist, oder ausserhalb vom Raum ?

                Uli977U 1 Antwort Letzte Antwort
                0
                • paul53P paul53

                  @Uli977 sagte:

                  statt aus/ein nur ein um auf 100% zu kommen?

                  Durch den BWM ist bereits ein. Wie soll man feststellen, dass "zusätzlich ein" gewünscht wird (es gibt nur den einen Datenpunkt STATE).

                  dslraserD Offline
                  dslraserD Offline
                  dslraser
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von
                  #85

                  @paul53 sagte in Bewegungsmelder Lichtsteuerung:

                  Durch den BWM ist bereits ein. Wie soll man feststellen, dass "zusätzlich ein" gewünscht wird (es gibt nur den einen Datenpunkt STATE).

                  Aber wird denn nicht, wenn man am Schalter erneut ein schaltet(manuell einschalten am Schalter, obwohl schon ein) ein neuer Zeitstempel des letzten Einschaltbefehls gesendet ?

                  1 Antwort Letzte Antwort
                  0
                  • dslraserD dslraser

                    @Uli977 sagte in Bewegungsmelder Lichtsteuerung:

                    statt aus/ein nur ein um auf 100% zu

                    Wo ist eigentlich der Schalter ? Innen im Raum, da wo der BWM ist, oder ausserhalb vom Raum ?

                    Uli977U Offline
                    Uli977U Offline
                    Uli977
                    schrieb am zuletzt editiert von
                    #86

                    @dslraser Im Raum, direkt an der Tür.

                    1 Antwort Letzte Antwort
                    0
                    • Uli977U Offline
                      Uli977U Offline
                      Uli977
                      schrieb am zuletzt editiert von
                      #87

                      Danke Euch nochmal!

                      1 Antwort Letzte Antwort
                      0
                      • ? Offline
                        ? Offline
                        Ein ehemaliger Benutzer
                        schrieb am zuletzt editiert von
                        #88

                        Darf ich einen Impuls mit einwerfen?

                        Wenn ich vom Deckenlicht ausgehe und den durchgehend aktivierten Lichtschalter an der Wand habe. Könnte ich dann nicht eine Notfall Erkennung einbauen? Ist es möglich zu erkennen, dass ich 3 mal schnell hintereinander den Lichtschalter betätige? Damit trenne ich die Lampe 3 mal schnell vom Strom.
                        Kann man das nicht erfassen und dann in dem Raum einfach die Helligkeit überschreiben?

                        Außerdem denke ich noch an die Apple Watch. Gibt es dafür eine App die zb schalte in allen Räumen das Licht aus ermöglicht?

                        1 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        612

                        Online

                        32.7k

                        Benutzer

                        82.4k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe