Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Bewegungsmelder blockly

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Fox1985 last edited by

      Ja genau,

      Bzw vor dem ersten schalten prüft, ob die Lampe bereits eingeschaltet war.

      Gesendet von meinem ONEPLUS A3003 mit Tapatalk

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        Am besten währe es wen du einen neuen zu thread aufmachst und deine scenario mit dem bwm und Schalter Mal deutlich Beschreibstvwas du genau erreichen möchtest 😉

        –-----------------------

        Send from mobile device

        Das schöne ios hat Auto Korrektur zum k****

        Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community

        1 Reply Last reply Reply Quote 0
        • K
          knopers1 last edited by

          @Dutchman:

          zu 1) Der timeout ist nötig wen wieder Bewegung erkannt wurde, also scenario:

          • Der bewegungsmelder erkennt eine Bewegung, Lampen gehen an

          • der bewegungsmilder erkennt keine Bewegung mehrt, timer von 4 Minuten starten

          • wen jetzt innerhalb dieser 4 Minuten wieder eine Bewegung erkannt wird (BWM = wahr) würde die Lampen ohne diesen time-out trotzdem nach 4 Minuten ausgehen `

          Hallo an die Blockly Meister!

          mein BM zeigt kein true und false an, sondern aktualisiert nur den true zustand! (RFLink BM)

          Deshalb kann ich das Script mit dem Timer nicht nutzen!

          Ich müßte irgendwie so vorgehen…

          • Der bewegungsmelder erkennt eine Bewegung, Lampen gehen an

          • Timer starten

          • sobald eine erneute Bewegung erkannt worden ist, diesen Timer stopen und erneut starten...

          • erst sobald der Timer nicht erneut aktualisiert wurde, die Lampen aus schalten.

          Ich kämpfe seit Monaten mit der Steuerung über den BM,(keine Timer eingebaut). Ich lasse das Licht über den BM ein schalten, und schalte es aus, sobald eine bestimmte Zeit abgelaufen ist. Leider funktioniert dies nicht gut. Das Licht geht oft aus, obwohl jemand im Raum ist. Geht aber dann sofort an. Kann mir jemand Helfen eine passende Blockly Schaltung zu entwickeln? Schalte damit das Deko-Licht in der Küche ein,Treppenhaus und paar Lampen im Schlafzimmer ein.

          Ich brauche nur eine Vorlage mit dem Timer, den Rest versuche ich anzupassen…

          Ich habe mich bereits etwas Versucht, leider läuft es nicht wie gewünscht.

           <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="zBkZB8ijuy}8jed3+y8+" x="-437" y="-37"><mutation items="1"></mutation>
              <field name="CONDITION">any</field>
          
              <value name="OID0"><shadow type="field_oid" id="tO[d(C?x:r{3EYzS8*|I"><field name="oid">rflink.0.channels.Eurodomest_2.SWITCH_05</field></shadow></value> 
              <statement name="STATEMENT"><block type="controls_if" id="=~*uGJ2^k@}2pGW8ioG("><mutation elseif="1"></mutation>
                  <value name="IF0"><block type="logic_compare" id="MzmVRpO}C95Ik1~D1n~b"><field name="OP">LT</field>
                      <value name="A"><block type="get_value" id="7;7#~]XTS%8e^(x8/wZS"><field name="ATTR">val</field>
                          <field name="OID">hm-rpc.0.LEQ0240879.1.BRIGHTNESS</field></block></value> 
                      <value name="B"><block type="math_number" id="IoLBjb4QA|i|p{e_|Cy%"><field name="NUM">180</field></block></value></block></value> 
                  <statement name="DO0"><block type="timeouts_cleartimeout" id="YihiGR+F6WhCE^yaUqWi"><field name="NAME">timeout</field>
                      <next><block type="control" id="rfS#FPojQg-yU0e:;dIy"><mutation delay_input="false"></mutation>
                          <field name="OID">sonoff.0.Sonoff-Dimmer1.POWER</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE"><block type="logic_boolean" id="REEAcX?9l/:{F0_qO+K3"><field name="BOOL">TRUE</field></block></value></block></next></block></statement> 
                  <statement name="DO1"><block type="timeouts_cleartimeout" id="f!LTX-V:9_qvP!MI_d}s"><field name="NAME">timeout</field>
                      <next><block type="timeouts_settimeout" id="6w^hCzjF@b}a==Va@.PR"><field name="NAME">timeout</field>
                          <field name="DELAY">1</field>
                          <field name="UNIT">min</field>
                          <statement name="STATEMENT"><block type="control" id="l[g1cNgy^|XxH?ny2o;U"><mutation delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Sonoff-Dimmer1.POWER</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE"><block type="logic_boolean" id="Xc:4/vVhw%cS*ghQY^:w"><field name="BOOL">FALSE</field></block></value></block></statement></block></next></block></statement></block></statement></block></xml> 
          
          1 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators last edited by

            @knopers1:

            mein BM zeigt kein true und false an, sondern aktualisiert nur den true zustand! (RFLink BM)

            Deshalb kann ich das Script mit dem Timer nicht nutzen!

            Ich müßte irgendwie so vorgehen…

            • Der bewegungsmelder erkennt eine Bewegung, Lampen gehen an

            • Timer starten

            • sobald eine erneute Bewegung erkannt worden ist, diesen Timer stopen und erneut starten...

            • erst sobald der Timer nicht erneut aktualisiert wurde, die Lampen aus schalten.

            Ich kämpfe seit Monaten mit der Steuerung über den BM,(keine Timer eingebaut). Ich lasse das Licht über den BM ein schalten, und schalte es aus, sobald eine bestimmte Zeit abgelaufen ist. Leider funktioniert dies nicht gut. Das Licht geht oft aus, obwohl jemand im Raum ist. Geht aber dann sofort an. Kann mir jemand Helfen eine passende Blockly Schaltung zu entwickeln? Schalte damit das Deko-Licht in der Küche ein,Treppenhaus und paar Lampen im Schlafzimmer ein.

            Ich brauche nur eine Vorlage mit dem Timer, den Rest versuche ich anzupassen…

            Ich habe mich bereits etwas Versucht, leider läuft es nicht `

            Du hast einen sonst falls ohne Bedingung definiert er wird also niemals in den zweiten stop timer kommen wen der brightniss höher ist als in der ersten abfrage definiert.

            Das erklärt auch warum er immer nach einer minute aus und sofort wieder an geht.

            Also anstatt sonst falls den sonst Baustein nehmen:

            979_screen_shot_2018-05-01_at_10.24.26.png

            Zum vergleich dein block hier, da fehlt was 🙂

            979_screen_shot_2018-05-01_at_10.27.16.png

            1 Reply Last reply Reply Quote 0
            • K
              knopers1 last edited by

              Danke Dutchman,

              die Lampen gehen mit Ein, gehen aber nicht aus! Hast Du eine Idee weshalb?

               <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="zBkZB8ijuy}8jed3+y8+" x="-437" y="-37"><mutation items="1"></mutation>
                  <field name="CONDITION">any</field>
              
                  <value name="OID0"><shadow type="field_oid" id="tO[d(C?x:r{3EYzS8*|I"><field name="oid">rflink.0.channels.Eurodomest_2.SWITCH_05</field></shadow></value> 
                  <statement name="STATEMENT"><block type="controls_if" id="=~*uGJ2^k@}2pGW8ioG("><mutation else="1"></mutation>
                      <value name="IF0"><block type="logic_compare" id="MzmVRpO}C95Ik1~D1n~b"><field name="OP">LT</field>
                          <value name="A"><block type="get_value" id="7;7#~]XTS%8e^(x8/wZS"><field name="ATTR">val</field>
                              <field name="OID">hm-rpc.0.LEQ0240879.1.BRIGHTNESS</field></block></value> 
                          <value name="B"><block type="math_number" id="IoLBjb4QA|i|p{e_|Cy%"><field name="NUM">200</field></block></value></block></value> 
                      <statement name="DO0"><block type="timeouts_cleartimeout" id="YihiGR+F6WhCE^yaUqWi"><field name="NAME">timeout</field>
                          <next><block type="control" id="rfS#FPojQg-yU0e:;dIy"><mutation delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Sonoff-Dimmer1.POWER</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE"><block type="logic_boolean" id="REEAcX?9l/:{F0_qO+K3"><field name="BOOL">TRUE</field></block></value></block></next></block></statement> 
                      <statement name="ELSE"><block type="timeouts_cleartimeout" id="f!LTX-V:9_qvP!MI_d}s"><field name="NAME">timeout</field>
                          <next><block type="timeouts_settimeout" id="6w^hCzjF@b}a==Va@.PR"><field name="NAME">timeout</field>
                              <field name="DELAY">1</field>
                              <field name="UNIT">min</field>
                              <statement name="STATEMENT"><block type="control" id="l[g1cNgy^|XxH?ny2o;U"><mutation delay_input="false"></mutation>
                                  <field name="OID">sonoff.0.Sonoff-Dimmer1.POWER</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE"><block type="logic_boolean" id="Xc:4/vVhw%cS*ghQY^:w"><field name="BOOL">FALSE</field></block></value></block></statement></block></next></block></statement></block></statement></block></xml> 
              
              1 Reply Last reply Reply Quote 0
              • Dutchman
                Dutchman Developer Most Active Administrators last edited by

                Poste mal Screenshot bitte der Export liest sich schwer auf tapatalk

                –-----------------------

                Send from mobile device

                Das schöne ios hat Auto Korrektur zum k****

                Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community

                1 Reply Last reply Reply Quote 0
                • K
                  knopers1 last edited by

                  ok.
                  1526_unbenannt1.png

                  1 Reply Last reply Reply Quote 0
                  • Dutchman
                    Dutchman Developer Most Active Administrators last edited by

                    Baue Mal debug Blöcke ein vor der falls Abfrage, nach der ersten und nach der zweiten Mal schauen was im Log passiert

                    –-----------------------

                    Send from mobile device

                    Das schöne ios hat Auto Korrektur zum k****

                    Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community

                    1 Reply Last reply Reply Quote 0
                    • rantanplan
                      rantanplan last edited by

                      Hängt der BM im Bereich der Lampe?

                      Wenn ja und die eingeschaltet ist, wird wahrscheinlich BRIGHTNESS nicht <200

                      1 Reply Last reply Reply Quote 0
                      • K
                        knopers1 last edited by

                        hmm,

                        Brightnes ist momentan 196! Lampe ist zum Test woanders, und das Einschalten der Lampe beeinflust nicht Brightnes.

                        Wenn der BM auslösst, kommt im Log:

                        javascript.0 2018-05-01 11:33:21.504 info script.js.common.testBM: 2

                        javascript.0 2018-05-01 11:33:21.503 info script.js.common.testBM: 1

                        Das Licht geht ein, schaltet sich aber nicht aus! Ist das Blockly überhaupt korrekt zum AUS Schalten? Was ist da der Trigger? Der Timer von einer min. ???

                         <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="zBkZB8ijuy}8jed3+y8+" x="-437" y="-37"><mutation items="1"></mutation>
                            <field name="CONDITION">any</field>
                        
                            <value name="OID0"><shadow type="field_oid" id="tO[d(C?x:r{3EYzS8*|I"><field name="oid">rflink.0.channels.Eurodomest_2.SWITCH_05</field></shadow></value> 
                            <statement name="STATEMENT"><block type="debug" id="UYWy~9fb1C8F=++V?G)_"><field name="Severity">log</field>
                                <value name="TEXT"><shadow type="text" id="XNYH^r(Ru~24vhOLTwAq"><field name="TEXT">1</field></shadow></value> 
                                <next><block type="controls_if" id="=~*uGJ2^k@}2pGW8ioG("><mutation else="1"></mutation>
                                    <value name="IF0"><block type="logic_compare" id="MzmVRpO}C95Ik1~D1n~b"><field name="OP">LT</field>
                                        <value name="A"><block type="get_value" id="7;7#~]XTS%8e^(x8/wZS"><field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.0.LEQ0240879.1.BRIGHTNESS</field></block></value> 
                                        <value name="B"><block type="math_number" id="IoLBjb4QA|i|p{e_|Cy%"><field name="NUM">200</field></block></value></block></value> 
                                    <statement name="DO0"><block type="debug" id="CivfHpdM~@.)pF0Ba`bF"><field name="Severity">log</field>
                                        <value name="TEXT"><shadow type="text" id="{glbtY/i:uXZJt@bztbh"><field name="TEXT">2</field></shadow></value> 
                                        <next><block type="timeouts_cleartimeout" id="YihiGR+F6WhCE^yaUqWi"><field name="NAME">timeout</field>
                                            <next><block type="control" id="rfS#FPojQg-yU0e:;dIy"><mutation delay_input="false"></mutation>
                                                <field name="OID">sonoff.0.Sonoff-Dimmer1.POWER</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE"><block type="logic_boolean" id="REEAcX?9l/:{F0_qO+K3"><field name="BOOL">TRUE</field></block></value> 
                                                <next><block type="control" id=")3M*.KOZTKdD/[)xwP]M"><mutation delay_input="false"></mutation>
                                                    <field name="OID">sonoff.0.Sonoff-Dimmer1.Dimmer</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE"><block type="math_number" id="rE#D*=,;*B6g3|stV)=}"><field name="NUM">100</field></block></value></block></next></block></next></block></next></block></statement> 
                                    <statement name="ELSE"><block type="debug" id="(l;K]W*tQemk3hv%!Bi]"><field name="Severity">log</field>
                                        <value name="TEXT"><shadow type="text" id=";*~GDy=l-Ea:u+eSj}dP"><field name="TEXT">3</field></shadow></value> 
                                        <next><block type="timeouts_cleartimeout" id="f!LTX-V:9_qvP!MI_d}s"><field name="NAME">timeout</field>
                                            <next><block type="timeouts_settimeout" id="6w^hCzjF@b}a==Va@.PR"><field name="NAME">timeout</field>
                                                <field name="DELAY">1</field>
                                                <field name="UNIT">min</field>
                                                <statement name="STATEMENT"><block type="control" id="l[g1cNgy^|XxH?ny2o;U"><mutation delay_input="false"></mutation>
                                                    <field name="OID">sonoff.0.Sonoff-Dimmer1.POWER</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE"><block type="logic_boolean" id="Xc:4/vVhw%cS*ghQY^:w"><field name="BOOL">FALSE</field></block></value></block></statement></block></next></block></next></block></statement></block></next></block></statement></block></xml> 
                        

                        1526_unbenannt1.png

                        1 Reply Last reply Reply Quote 0
                        • Dutchman
                          Dutchman Developer Most Active Administrators last edited by

                          Oh man ich Depp der bwm von dir Triggert ja nicht zum auschalten….

                          Lass den ersten Block so wie er ist, nimm den sonst Weck und hänge das auschalten einfach unter den falls Block...

                          Dan geht die Lampe nur an wen brigthness < xxx und startet der off time Out.

                          Bei der nästen Bewegung resetet sich der time-out


                          Send from mobile device

                          Das schöne ios hat Auto Korrektur zum k****

                          Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community

                          1 Reply Last reply Reply Quote 0
                          • K
                            knopers1 last edited by

                            Geil, es geht! Danke vielmals! Jetzt sind die BM erst etwas Wert. Das Licht geht jetzt erst aus, wenn die Person die Küche oder das Treppenhaus verlassen hat!

                             <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="zBkZB8ijuy}8jed3+y8+" x="-437" y="-37"><mutation items="1"></mutation>
                                <field name="CONDITION">any</field>
                            
                                <value name="OID0"><shadow type="field_oid" id="tO[d(C?x:r{3EYzS8*|I"><field name="oid">rflink.0.channels.Eurodomest_2.SWITCH_05</field></shadow></value> 
                                <statement name="STATEMENT"><block type="debug" id="UYWy~9fb1C8F=++V?G)_"><field name="Severity">log</field>
                                    <value name="TEXT"><shadow type="text" id="XNYH^r(Ru~24vhOLTwAq"><field name="TEXT">Bewegung Küche erkannt.</field></shadow></value> 
                                    <next><block type="controls_if" id="=~*uGJ2^k@}2pGW8ioG("><value name="IF0"><block type="logic_compare" id="MzmVRpO}C95Ik1~D1n~b"><field name="OP">LT</field>
                                            <value name="A"><block type="get_value" id="7;7#~]XTS%8e^(x8/wZS"><field name="ATTR">val</field>
                                                <field name="OID">hm-rpc.0.LEQ0240879.1.BRIGHTNESS</field></block></value> 
                                            <value name="B"><block type="math_number" id="IoLBjb4QA|i|p{e_|Cy%"><field name="NUM">200</field></block></value></block></value> 
                                        <statement name="DO0"><block type="debug" id="CivfHpdM~@.)pF0Ba`bF"><field name="Severity">log</field>
                                            <value name="TEXT"><shadow type="text" id="{glbtY/i:uXZJt@bztbh"><field name="TEXT">Lampe Einschalten</field></shadow></value> 
                                            <next><block type="timeouts_cleartimeout" id="YihiGR+F6WhCE^yaUqWi"><field name="NAME">timeout</field>
                                                <next><block type="control" id="rfS#FPojQg-yU0e:;dIy"><mutation delay_input="false"></mutation>
                                                    <field name="OID">sonoff.0.Sonoff-Dimmer1.POWER</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE"><block type="logic_boolean" id="REEAcX?9l/:{F0_qO+K3"><field name="BOOL">TRUE</field></block></value> 
                                                    <next><block type="control" id=")3M*.KOZTKdD/[)xwP]M"><mutation delay_input="false"></mutation>
                                                        <field name="OID">sonoff.0.Sonoff-Dimmer1.Dimmer</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE"><block type="math_number" id="rE#D*=,;*B6g3|stV)=}"><field name="NUM">100</field></block></value> 
                                                        <next><block type="debug" id="(l;K]W*tQemk3hv%!Bi]"><field name="Severity">log</field>
                                                            <value name="TEXT"><shadow type="text" id=";*~GDy=l-Ea:u+eSj}dP"><field name="TEXT">3</field></shadow></value> 
                                                            <next><block type="timeouts_cleartimeout" id="f!LTX-V:9_qvP!MI_d}s"><field name="NAME">timeout</field>
                                                                <next><block type="timeouts_settimeout" id="6w^hCzjF@b}a==Va@.PR"><field name="NAME">timeout</field>
                                                                    <field name="DELAY">20</field>
                                                                    <field name="UNIT">sec</field>
                                                                    <statement name="STATEMENT"><block type="control" id="l[g1cNgy^|XxH?ny2o;U"><mutation delay_input="false"></mutation>
                                                                        <field name="OID">sonoff.0.Sonoff-Dimmer1.POWER</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE"><block type="logic_boolean" id="Xc:4/vVhw%cS*ghQY^:w"><field name="BOOL">FALSE</field></block></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block></xml> 
                            

                            1526_unbenannt.png

                            1 Reply Last reply Reply Quote 0
                            • Dutchman
                              Dutchman Developer Most Active Administrators last edited by

                              Na super, der zweite Stop timeout und time Out zum auschalten sollte aber unter den gesamten falls Block hängen.

                              Jetzt bleibt die Lampe nicht an wenn Bewegung erkannt und Lichtstärke >200! 🙂

                              –-----------------------

                              Send from mobile device

                              Das schöne ios hat Auto Korrektur zum k****

                              Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community

                              1 Reply Last reply Reply Quote 0
                              • K
                                knopers1 last edited by

                                Danke für deine Hilfe!

                                Ist es so i.O?

                                 <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="zBkZB8ijuy}8jed3+y8+" x="-437" y="-37"><mutation items="1"></mutation>
                                    <field name="CONDITION">any</field>
                                
                                    <value name="OID0"><shadow type="field_oid" id="tO[d(C?x:r{3EYzS8*|I"><field name="oid">rflink.0.channels.Eurodomest_2.SWITCH_05</field></shadow></value> 
                                    <statement name="STATEMENT"><block type="debug" id="UYWy~9fb1C8F=++V?G)_"><field name="Severity">log</field>
                                        <value name="TEXT"><shadow type="text" id="XNYH^r(Ru~24vhOLTwAq"><field name="TEXT">Bewegung Küche erkannt.</field></shadow></value> 
                                        <next><block type="controls_if" id="=~*uGJ2^k@}2pGW8ioG("><value name="IF0"><block type="logic_compare" id="MzmVRpO}C95Ik1~D1n~b"><field name="OP">LT</field>
                                                <value name="A"><block type="get_value" id="7;7#~]XTS%8e^(x8/wZS"><field name="ATTR">val</field>
                                                    <field name="OID">hm-rpc.0.LEQ0240879.1.BRIGHTNESS</field></block></value> 
                                                <value name="B"><block type="math_number" id="IoLBjb4QA|i|p{e_|Cy%"><field name="NUM">200</field></block></value></block></value> 
                                            <statement name="DO0"><block type="debug" id="CivfHpdM~@.)pF0Ba`bF"><field name="Severity">log</field>
                                                <value name="TEXT"><shadow type="text" id="{glbtY/i:uXZJt@bztbh"><field name="TEXT">Lampe Einschalten</field></shadow></value> 
                                                <next><block type="timeouts_cleartimeout" id="YihiGR+F6WhCE^yaUqWi"><field name="NAME">timeout</field>
                                                    <next><block type="control" id="rfS#FPojQg-yU0e:;dIy"><mutation delay_input="false"></mutation>
                                                        <field name="OID">sonoff.0.Sonoff-Dimmer1.POWER</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE"><block type="logic_boolean" id="REEAcX?9l/:{F0_qO+K3"><field name="BOOL">TRUE</field></block></value> 
                                                        <next><block type="control" id=")3M*.KOZTKdD/[)xwP]M"><mutation delay_input="false"></mutation>
                                                            <field name="OID">sonoff.0.Sonoff-Dimmer1.Dimmer</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE"><block type="math_number" id="rE#D*=,;*B6g3|stV)=}"><field name="NUM">100</field></block></value> 
                                                            <next><block type="debug" id="(l;K]W*tQemk3hv%!Bi]"><field name="Severity">log</field>
                                                                <value name="TEXT"><shadow type="text" id=";*~GDy=l-Ea:u+eSj}dP"><field name="TEXT">3</field></shadow></value> 
                                                                <next><block type="timeouts_settimeout" id="6w^hCzjF@b}a==Va@.PR"><field name="NAME">timeout</field>
                                                                    <field name="DELAY">20</field>
                                                                    <field name="UNIT">sec</field>
                                                                    <statement name="STATEMENT"><block type="control" id="l[g1cNgy^|XxH?ny2o;U"><mutation delay_input="false"></mutation>
                                                                        <field name="OID">sonoff.0.Sonoff-Dimmer1.POWER</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE"><block type="logic_boolean" id="Xc:4/vVhw%cS*ghQY^:w"><field name="BOOL">FALSE</field></block></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement> 
                                            <next><block type="timeouts_cleartimeout" id="f!LTX-V:9_qvP!MI_d}s"><field name="NAME">timeout</field></block></next></block></next></block></statement></block></xml> 
                                

                                1526_unbenannt.png

                                1 Reply Last reply Reply Quote 0
                                • Dutchman
                                  Dutchman Developer Most Active Administrators last edited by

                                  Fast, der Stop timeout ist richtig aber das ausführen muss da drunter !

                                  –-----------------------

                                  Send from mobile device

                                  Das schöne ios hat Auto Korrektur zum k****

                                  Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    knopers1 last edited by

                                    Du meinst es sicherlich so oder?
                                    1526_unbenannt.png

                                    1 Reply Last reply Reply Quote 0
                                    • Dutchman
                                      Dutchman Developer Most Active Administrators last edited by

                                      @knopers1:

                                      Du meinst es sicherlich so oder? `

                                      wie mein vadder immer sagte : Grüüüüüünnnnaaauuuuuu :mrgreen:

                                      damit wird dieser letzte Baustein jetzt ausserhalb deiner IF immer getigert und resettet den timer wie es sein soll.

                                      Nachteil jetzt, dieses schalte Lampe aus commando wird immer gesendet, also auch wen die Lampe nicht an ist und Bewegung erkannt wird.

                                      Das könnte man noch mit ner IF-Abfragen

                                      ~Dutch

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        knopers1 last edited by

                                        ja :mrgreen: , habe noch die IF Abfrage der Lampe dazu gebastelt. Danke Dir, jetzt zumindest geht mir das Licht nicht aus/an, wenn ich in der Küche

                                        am Werkeln bin. Dies ging mir schon so ziemlich auf den Sack!

                                        G 1 Reply Last reply Reply Quote 0
                                        • L
                                          ltsalvatore last edited by

                                          hey leute,

                                          ich würde auch gerne einen bewegungsmelder für das einschalten der leds in der küche benutzen;

                                          welche hardware habt ihr bei euch in nutzung?

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            Flauschi last edited by

                                            Xiaomi Bewegungsmelder und/oder HM-Sen-MDIR-WM55

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            501
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly
                                            15
                                            117
                                            25795
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo