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. Blockly
  5. Mit Xiaomi Aqara Bewegungsmelder Echo Dot starten

NEWS

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

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    8
    1
    154

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

Mit Xiaomi Aqara Bewegungsmelder Echo Dot starten

Scheduled Pinned Locked Moved Blockly
12 Posts 6 Posters 1.5k Views 4 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.
  • haselchenH haselchen

    @plato

    Über Blockly kein Problem .
    Trigger Bewegung vom Bewegungsmelder und dann den entsprechenden Datenpunkt im Alexa Adapter .

    P Offline
    P Offline
    plato
    wrote on last edited by
    #3

    @haselchen
    Danke für die Info. Hast du evtl ein Beispiel Script für mich ?

    haselchenH dslraserD 2 Replies Last reply
    0
    • P plato

      @haselchen
      Danke für die Info. Hast du evtl ein Beispiel Script für mich ?

      haselchenH Offline
      haselchenH Offline
      haselchen
      Most Active
      wrote on last edited by
      #4

      @plato

      Bin noch unterwegs vom Fussball gucken.
      Eventuell können Dir
      @dslraser oder @paul53 schnell nen Blockly aus dem Ärmel schütteln 😊

      Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

      1 Reply Last reply
      0
      • P plato

        @haselchen
        Danke für die Info. Hast du evtl ein Beispiel Script für mich ?

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

        @plato

        Bildschirmfoto 2020-03-11 um 11.26.49.png

        Bei mir ist es ein Präsenzmelder von HMIP.

        <xml xmlns="http://www.w3.org/1999/xhtml">
         <block type="on_ext" id="/XPPZ2Ef{Gp90PhxskTc" x="-337" y="243">
           <mutation items="1"></mutation>
           <field name="CONDITION">ne</field>
           <field name="ACK_CONDITION"></field>
           <value name="OID0">
             <shadow type="field_oid" id="4UPB+Zu~xmksZA(^wyHG">
               <field name="oid">hm-rpc.0.xxx
           </value>
           <statement name="STATEMENT">
             <block type="controls_if" id="r4;C-s:gJHryisv4KGb`">
               <mutation else="1"></mutation>
               <value name="IF0">
                 <block type="on_source" id="~DD%(.c_8OctNk;?4tW,">
                   <field name="ATTR">state.val</field>
                 </block>
               </value>
               <statement name="DO0">
                 <block type="comment" id="g}TuHbtrA6O!-t0!C#q;">
                   <field name="COMMENT">NDR2</field>
                   <next>
                     <block type="control" id="pdP4]j.R]sG|Kbv{UAOu">
                       <mutation delay_input="false"></mutation>
                       <field name="OID">alexa2.0.Echo-Devices.xxx.Player.TuneIn-Station</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="text" id="s,iZ/qZ?P?P|Z_$-J}W[">
                           <field name="TEXT">NDR 2</field>
                         </block>
                       </value>
                     </block>
                   </next>
                 </block>
               </statement>
               <statement name="ELSE">
                 <block type="control" id="ngh%mwu(d(S#=ec1Wvlx">
                   <mutation delay_input="false"></mutation>
                   <field name="OID">alexa2.0.Echo-Devices.xxx.Player.controlPause</field>
                   <field name="WITH_DELAY">FALSE</field>
                   <value name="VALUE">
                     <block type="logic_boolean" id="8,X?-H,Dzv1G,]3ZVC5q">
                       <field name="BOOL">TRUE</field>
                     </block>
                   </value>
                 </block>
               </statement>
             </block>
           </statement>
         </block>
        </xml>
        

        EDIT: Alexa2 Adapter wird für dieses Blockly benötigt (und in meinem Fall hm rpc-Adapter)

        <xml xmlns="http://www.w3.org/1999/xhtml">
         <block type="comment" id="Y)^OQX=4qN@eo%N_SI(_" x="-263" y="13">
           <field name="COMMENT">Trigger auswählen</field>
           <next>
             <block type="on_ext" id="n[L!|Z3-!2M2`/YI1VLc">
               <mutation items="1"></mutation>
               <field name="CONDITION">ne</field>
               <field name="ACK_CONDITION"></field>
               <value name="OID0">
                 <shadow type="field_oid" id="[;8D5{yn~A$[uJ)r,M5U">
                   <field name="oid">default</field>
                 </shadow>
               </value>
               <statement name="STATEMENT">
                 <block type="controls_if" id="r4;C-s:gJHryisv4KGb`">
                   <mutation else="1"></mutation>
                   <value name="IF0">
                     <block type="on_source" id="~DD%(.c_8OctNk;?4tW,">
                       <field name="ATTR">state.val</field>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="comment" id="g}TuHbtrA6O!-t0!C#q;">
                       <field name="COMMENT">NDR2</field>
                       <next>
                         <block type="control" id="pdP4]j.R]sG|Kbv{UAOu">
                           <mutation delay_input="false"></mutation>
                           <field name="OID">alexa2.0.Echo-Devices.xxx.Player.TuneIn-Station</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="text" id="s,iZ/qZ?P?P|Z_$-J}W[">
                               <field name="TEXT">NDR 2</field>
                             </block>
                           </value>
                         </block>
                       </next>
                     </block>
                   </statement>
                   <statement name="ELSE">
                     <block type="control" id="ngh%mwu(d(S#=ec1Wvlx">
                       <mutation delay_input="false"></mutation>
                       <field name="OID">alexa2.0.Echo-Devices.xxx.Player.controlPause</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="8,X?-H,Dzv1G,]3ZVC5q">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
             </block>
           </next>
         </block>
        </xml>
        

        P 1 Reply Last reply
        1
        • dslraserD dslraser

          @plato

          Bildschirmfoto 2020-03-11 um 11.26.49.png

          Bei mir ist es ein Präsenzmelder von HMIP.

          <xml xmlns="http://www.w3.org/1999/xhtml">
           <block type="on_ext" id="/XPPZ2Ef{Gp90PhxskTc" x="-337" y="243">
             <mutation items="1"></mutation>
             <field name="CONDITION">ne</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id="4UPB+Zu~xmksZA(^wyHG">
                 <field name="oid">hm-rpc.0.xxx
             </value>
             <statement name="STATEMENT">
               <block type="controls_if" id="r4;C-s:gJHryisv4KGb`">
                 <mutation else="1"></mutation>
                 <value name="IF0">
                   <block type="on_source" id="~DD%(.c_8OctNk;?4tW,">
                     <field name="ATTR">state.val</field>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="comment" id="g}TuHbtrA6O!-t0!C#q;">
                     <field name="COMMENT">NDR2</field>
                     <next>
                       <block type="control" id="pdP4]j.R]sG|Kbv{UAOu">
                         <mutation delay_input="false"></mutation>
                         <field name="OID">alexa2.0.Echo-Devices.xxx.Player.TuneIn-Station</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="text" id="s,iZ/qZ?P?P|Z_$-J}W[">
                             <field name="TEXT">NDR 2</field>
                           </block>
                         </value>
                       </block>
                     </next>
                   </block>
                 </statement>
                 <statement name="ELSE">
                   <block type="control" id="ngh%mwu(d(S#=ec1Wvlx">
                     <mutation delay_input="false"></mutation>
                     <field name="OID">alexa2.0.Echo-Devices.xxx.Player.controlPause</field>
                     <field name="WITH_DELAY">FALSE</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id="8,X?-H,Dzv1G,]3ZVC5q">
                         <field name="BOOL">TRUE</field>
                       </block>
                     </value>
                   </block>
                 </statement>
               </block>
             </statement>
           </block>
          </xml>
          

          EDIT: Alexa2 Adapter wird für dieses Blockly benötigt (und in meinem Fall hm rpc-Adapter)

          <xml xmlns="http://www.w3.org/1999/xhtml">
           <block type="comment" id="Y)^OQX=4qN@eo%N_SI(_" x="-263" y="13">
             <field name="COMMENT">Trigger auswählen</field>
             <next>
               <block type="on_ext" id="n[L!|Z3-!2M2`/YI1VLc">
                 <mutation items="1"></mutation>
                 <field name="CONDITION">ne</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="[;8D5{yn~A$[uJ)r,M5U">
                     <field name="oid">default</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="controls_if" id="r4;C-s:gJHryisv4KGb`">
                     <mutation else="1"></mutation>
                     <value name="IF0">
                       <block type="on_source" id="~DD%(.c_8OctNk;?4tW,">
                         <field name="ATTR">state.val</field>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="comment" id="g}TuHbtrA6O!-t0!C#q;">
                         <field name="COMMENT">NDR2</field>
                         <next>
                           <block type="control" id="pdP4]j.R]sG|Kbv{UAOu">
                             <mutation delay_input="false"></mutation>
                             <field name="OID">alexa2.0.Echo-Devices.xxx.Player.TuneIn-Station</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="text" id="s,iZ/qZ?P?P|Z_$-J}W[">
                                 <field name="TEXT">NDR 2</field>
                               </block>
                             </value>
                           </block>
                         </next>
                       </block>
                     </statement>
                     <statement name="ELSE">
                       <block type="control" id="ngh%mwu(d(S#=ec1Wvlx">
                         <mutation delay_input="false"></mutation>
                         <field name="OID">alexa2.0.Echo-Devices.xxx.Player.controlPause</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="8,X?-H,Dzv1G,]3ZVC5q">
                             <field name="BOOL">TRUE</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                   </block>
                 </statement>
               </block>
             </next>
           </block>
          </xml>
          

          P Offline
          P Offline
          plato
          wrote on last edited by
          #6

          @dslraser
          Vielen Dank, funktioniert einwandfrei.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            plato
            wrote on last edited by
            #7

            Moin zusammen,
            mein Blockly script funktioniert nicht mehr.

            Hat sich bei den Adaptern etwas geändert ?

            Bildschirmfoto vom 2021-08-18 08-37-18.png

            Danke und VG

            crunchipC 2 Replies Last reply
            0
            • P plato

              Moin zusammen,
              mein Blockly script funktioniert nicht mehr.

              Hat sich bei den Adaptern etwas geändert ?

              Bildschirmfoto vom 2021-08-18 08-37-18.png

              Danke und VG

              crunchipC Away
              crunchipC Away
              crunchip
              Forum Testing Most Active Developer
              wrote on last edited by
              #8

              @plato sagte in Mit Xiaomi Aqara Bewegungsmelder Echo Dot starten:

              Hat sich bei den Adaptern etwas geändert

              eigentlich nicht, ausser das der alexa Adapter nach wie vor hin und wieder nicht mehr reagiert. Bemerkbar macht sich das bei mir, wenn z.b der alexa2.0.Echo-Devices.xyz.Commands.textCommand nicht mehr reagiert.
              Abhilfe, die Instanz mal kurz auf debug stellen.
              oder guck mal ob dein BWM überhaupt ausgelöst, oder vllt die Verbindung verloren hat

              umgestiegen von Proxmox auf Unraid

              1 Reply Last reply
              1
              • M Offline
                M Offline
                Michi68
                wrote on last edited by
                #9

                Hallo,
                bei mir geht es über alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxx.Player.TuneIn-Station seit Gesten auch nicht mehr.
                Zwischenablage02.jpg
                Hab jetzt alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxx.Commands.textCommand genommen und siehe da es geht.
                Zwischenablage04.jpg

                @crunchip Danke für den Tipp

                Gruß Michael

                1 Reply Last reply
                1
                • P plato

                  Moin zusammen,
                  mein Blockly script funktioniert nicht mehr.

                  Hat sich bei den Adaptern etwas geändert ?

                  Bildschirmfoto vom 2021-08-18 08-37-18.png

                  Danke und VG

                  crunchipC Away
                  crunchipC Away
                  crunchip
                  Forum Testing Most Active Developer
                  wrote on last edited by
                  #10

                  @plato grad mal probiert, wenn ich den Wert(als Sendername) in den DP(alexa2.0.Echo-Devices.xyz.Music-Provider.TuneIn) schreibe, funktioniert das ganz normal ohne Probleme.

                  schreib ich eine Nr wie deine s246235 in den DP(alexa2.0.Echo-Devices.G0916D1000430E7C.Player.TuneIn-Station) , passiert nichts

                  umgestiegen von Proxmox auf Unraid

                  1 Reply Last reply
                  0
                  • Ralf_NR Offline
                    Ralf_NR Offline
                    Ralf_N
                    wrote on last edited by Ralf_N
                    #11

                    Hallo zusammen.

                    Hier ist die Lösung

                    Da hat wohl wer was bei A geändert...

                    Liebe Grüße,

                    Ralf.

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      plato
                      wrote on last edited by
                      #12

                      Moin, ja läuft wieder mit den aufgeführten Einstellungen.

                      Danke an alle !

                      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

                      509

                      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