Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Lidel Bewegungsmelder zum laufen bekommen mit Phillips hue

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Lidel Bewegungsmelder zum laufen bekommen mit Phillips hue

    This topic has been deleted. Only users with topic management privileges can see it.
    • Horst Böttcher
      Horst Böttcher last edited by

      Hallo ich habe mir Bewegungsmelder gekauft und sie mit dem Zigbee adapter eingebunden

      Was will ich versuchen
      Wenn jemand die Küche betritt soll das licht an gehen und wenn keiner mehr drin ist wieder aus
      Screenshot 2020-12-05 182303.png

      Welcher datenpunkt könnte zum schalten genutzt werden

        <variables>
          <variable id="|hPzlpPvZ`a$hopwolE|">value</variable>
        </variables>
        <block type="on" id="1|@4iLNFlHP|^SIzIKZF" x="13" y="112">
          <field name="OID">zigbee.0.bc33acfffe11e860.occupancy</field>
          <field name="CONDITION">any</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="controls_if" id="3|U;];;51Jj,U3uB,2wK">
              <value name="IF0">
                <block type="variables_get" id="9w]=RmYP%8a3EXUV4xqc">
                  <field name="VAR" id="|hPzlpPvZ`a$hopwolE|">value</field>
                </block>
              </value>
              <statement name="DO0">
                <block type="control" id="b11~t5S_tAAe-X~nbeOM">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                  <field name="OID">hue-extended.0.lights.002-küche.action.on</field>
                  <field name="WITH_DELAY">TRUE</field>
                  <field name="DELAY_MS">0</field>
                  <field name="UNIT">ms</field>
                  <field name="CLEAR_RUNNING">TRUE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="KcrzUls}`J]NYb8.C0F.">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="1*3u6NR1]%f@xvQ`hss}">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">hue-extended.0.lights.002-küche.action.level</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="cA{:xdph[yIbRyojW/U/">
                          <field name="NUM">100</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="IuZ%XF?T4(6q!Nc]z#@z">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                          <field name="OID">hue-extended.0.lights.002-küche.action.on</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">5</field>
                          <field name="UNIT">min</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="U?2J/V+XJCEs^x!(2a?b">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      
      paul53 2 Replies Last reply Reply Quote 0
      • paul53
        paul53 @Horst Böttcher last edited by

        @Horst-Böttcher sagte:

        Welcher datenpunkt könnte zum schalten genutzt werden

        Dem Namen nach "zigbee.0.bc33acfffe11e860.occupancy".
        Der Export ist unvollständig: Es fehlt der Anfang.

        Horst Böttcher 1 Reply Last reply Reply Quote 0
        • Horst Böttcher
          Horst Böttcher @paul53 last edited by

          @paul53 sagte in Lidel Bewegungsmelder zum laufen bekommen mit Phillips hue:

          dem Namen nach "zigbee.0.bc33acfffe11e860.occupancy".

          ähh das ist alles
          Siehe IMG oben

          1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @Horst Böttcher last edited by paul53

            @Horst-Böttcher sagte:

            Wenn jemand die Küche betritt soll das licht an gehen und wenn keiner mehr drin ist wieder aus

            Wenn erst ausgeschaltet werden soll, nachdem die Küche verlassen wurde, muss mit "wurde geändert" getriggert und in der Auswertung verzweigt werden.

            <xml xmlns="https://developers.google.com/blockly/xml">
             <variables>
               <variable id="|hPzlpPvZ`a$hopwolE|">value</variable>
             </variables>
             <block type="on" id="1|@4iLNFlHP|^SIzIKZF" x="13" y="112">
               <field name="OID">zigbee.0.bc33acfffe11e860.occupancy</field>
               <field name="CONDITION">ne</field>
               <field name="ACK_CONDITION"></field>
               <statement name="STATEMENT">
                 <block type="controls_if" id="3|U;];;51Jj,U3uB,2wK">
                   <mutation else="1"></mutation>
                   <value name="IF0">
                     <block type="variables_get" id="9w]=RmYP%8a3EXUV4xqc">
                       <field name="VAR" id="|hPzlpPvZ`a$hopwolE|">value</field>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="control" id="b11~t5S_tAAe-X~nbeOM">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                       <field name="OID">hue-extended.0.lights.002-küche.action.on</field>
                       <field name="WITH_DELAY">TRUE</field>
                       <field name="DELAY_MS">0</field>
                       <field name="UNIT">ms</field>
                       <field name="CLEAR_RUNNING">TRUE</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="KcrzUls}`J]NYb8.C0F.">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                       <next>
                         <block type="control" id="1*3u6NR1]%f@xvQ`hss}">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">hue-extended.0.lights.002-küche.action.level</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="math_number" id="cA{:xdph[yIbRyojW/U/">
                               <field name="NUM">100</field>
                             </block>
                           </value>
                         </block>
                       </next>
                     </block>
                   </statement>
                   <statement name="ELSE">
                     <block type="control" id="IuZ%XF?T4(6q!Nc]z#@z">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                       <field name="OID">hue-extended.0.lights.002-küche.action.on</field>
                       <field name="WITH_DELAY">TRUE</field>
                       <field name="DELAY_MS">5</field>
                       <field name="UNIT">min</field>
                       <field name="CLEAR_RUNNING">TRUE</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="U?2J/V+XJCEs^x!(2a?b">
                           <field name="BOOL">FALSE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
             </block>
            </xml>
            

            Horst Böttcher 1 Reply Last reply Reply Quote 0
            • Horst Böttcher
              Horst Böttcher @paul53 last edited by

              @paul53 ok ich werde es mal probieren

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

              Support us

              ioBroker
              Community Adapters
              Donate

              669
              Online

              32.0k
              Users

              80.4k
              Topics

              1.3m
              Posts

              2
              5
              261
              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