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. Einsteigerfragen
  4. Automatisierung
  5. Auf gleicher Alexa antworten

NEWS

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

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

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

Auf gleicher Alexa antworten

Scheduled Pinned Locked Moved Automatisierung
2 Posts 2 Posters 305 Views 1 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.
  • M Offline
    M Offline
    Mico444
    wrote on last edited by Mico444
    #1

    Da mir hier schon mehrmals geholfen wurde, möchte ich hier was zurückgeben, das schon mehrmals gefragt wurde aber ich nie eine nachvollziehbare Antwort gefunden habe.
    Es geht darum über manuellen Trigger die Seriennummer des Alexageräts zu bekommen und auf demselben Gerät zu antworten.

    Hier handelt es sich darum die Windgeschwindigkeit abzufragen.
    Hierzu müsst ihr eine Routine in Alexa erstellen, die die logische Variable Windgeschwindigkeit auf wahr stellt.
    Darauf wird die History getriggered um die Seriennummer herauszufinden um auf demselben Gerät zu antworten.

    f8dd8210-36ad-4d19-9a15-bc9f04e25bd5-image.png

    XML hier:

    <xml xmlns="https://developers.google.com/blockly/xml">
     <variables>
       <variable id="gPVeeN`5|r3)uR(mktA$">Serialnumber</variable>
       <variable id=",zLdy3hC!L7rZ@H2y+}s">Alexa_cmd</variable>
     </variables>
     <block type="on_ext" id="f0c7AUP.{qMrhlM%db3u" x="13" y="114">
       <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
       <field name="CONDITION">any</field>
       <field name="ACK_CONDITION"></field>
       <value name="OID0">
         <shadow type="field_oid" id="KOndGjqzS_-!cLWc)2y]">
           <field name="oid">0_userdata.0.Windgeschwindigkeit</field>
         </shadow>
       </value>
       <statement name="STATEMENT">
         <block type="controls_if" id="LENF:W@lN]4=.gLj|(A(">
           <value name="IF0">
             <block type="logic_compare" id="(TWid4_J{$f(NC}`sw%J">
               <field name="OP">EQ</field>
               <value name="A">
                 <block type="get_value" id="j1H?!ru7b]~5;+5Vq*hA">
                   <field name="ATTR">val</field>
                   <field name="OID">0_userdata.0.Windgeschwindigkeit</field>
                 </block>
               </value>
               <value name="B">
                 <block type="logic_boolean" id="}Fan|:rrR%*Z0-yUWL#S">
                   <field name="BOOL">TRUE</field>
                 </block>
               </value>
             </block>
           </value>
           <statement name="DO0">
             <block type="toggle" id="4Q.c`X3K!gh1t+Dw.JvU">
               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
               <field name="OID">alexa2.0.History.#trigger</field>
               <field name="WITH_DELAY">FALSE</field>
               <next>
                 <block type="timeouts_wait" id="Mr-,[w%idL-=1lu{OZ+Y">
                   <field name="DELAY">500</field>
                   <field name="UNIT">ms</field>
                   <next>
                     <block type="variables_set" id="}gM}b2pDf806)otO2;dc">
                       <field name="VAR" id="gPVeeN`5|r3)uR(mktA$">Serialnumber</field>
                       <value name="VALUE">
                         <block type="get_value" id="ZNxNTtR6v039ypp!`h7}">
                           <field name="ATTR">val</field>
                           <field name="OID">alexa2.0.History.serialNumber</field>
                         </block>
                       </value>
                       <next>
                         <block type="variables_set" id="2tXr$tyY~]]B~UT~xc)2">
                           <field name="VAR" id=",zLdy3hC!L7rZ@H2y+}s">Alexa_cmd</field>
                           <value name="VALUE">
                             <block type="text_join" id="!%R2i6x}IO4DI-kQ3V-W">
                               <mutation items="3"></mutation>
                               <value name="ADD0">
                                 <block type="text" id=";MA;|@e/y1_([UNiU@u$">
                                   <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                 </block>
                               </value>
                               <value name="ADD1">
                                 <block type="variables_get" id="xPTaR2fyYiBXdYuI)~8l">
                                   <field name="VAR" id="gPVeeN`5|r3)uR(mktA$">Serialnumber</field>
                                 </block>
                               </value>
                               <value name="ADD2">
                                 <block type="text" id="M3;$OuB0P=R5K7-cBW0]">
                                   <field name="TEXT">.Commands.speak</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="control_ex" id="q2AXLir*x.PZlW:c/n5J">
                               <field name="TYPE">false</field>
                               <field name="CLEAR_RUNNING">FALSE</field>
                               <value name="OID">
                                 <shadow type="field_oid" id="^F#6q30:S;j**$t;Q=ow">
                                   <field name="oid">Object ID</field>
                                 </shadow>
                                 <block type="variables_get" id="a850Av|C|^G$Rud1.pHi">
                                   <field name="VAR" id=",zLdy3hC!L7rZ@H2y+}s">Alexa_cmd</field>
                                 </block>
                               </value>
                               <value name="VALUE">
                                 <shadow type="logic_boolean" id="p8@D3;_Zf4~:Fj%*fe!~">
                                   <field name="BOOL">TRUE</field>
                                 </shadow>
                                 <block type="text_join" id="qmL$];4*5)^SGuS!Bh:-">
                                   <mutation items="3"></mutation>
                                   <value name="ADD0">
                                     <block type="text" id="G9R]NZ}%%knbfAFZhQl2">
                                       <field name="TEXT">Windgeschwindigkeit ist</field>
                                     </block>
                                   </value>
                                   <value name="ADD1">
                                     <block type="convert_tostring" id=",hq6|_@kAZw{Sxe/ByeZ">
                                       <value name="VALUE">
                                         <block type="math_round" id="[0nA@/OJK?HfIkB}_Zhh">
                                           <field name="OP">ROUND</field>
                                           <value name="NUM">
                                             <shadow type="math_number" id="-%PQUcjkj+7aMDtq)/JU">
                                               <field name="NUM">3.1</field>
                                             </shadow>
                                             <block type="get_value" id="ZE~%pE1J*Q0cE[6No!Qd">
                                               <field name="ATTR">val</field>
                                               <field name="OID">hm-rpc.0.KEQ1057671.1.WIND_SPEED</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="ADD2">
                                     <block type="text" id="5J~qKq|8CJv[~sxHVTw}">
                                       <field name="TEXT">Kilometer pro Stunde</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <value name="DELAY_MS">
                                 <shadow type="math_number" id="KL1wFE|c!Rdq.*A`G#q4">
                                   <field name="NUM">0</field>
                                 </shadow>
                               </value>
                               <next>
                                 <block type="control" id="HFs~C9#7,+d(0HGomz+P">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">0_userdata.0.Windgeschwindigkeit</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="math_number" id="lwB(Z!?nb*x.xP@.dP7q">
                                       <field name="NUM">0</field>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
           </statement>
         </block>
       </statement>
     </block>
    </xml>
    

    1 Reply Last reply
    0
    • Siggi0904S Offline
      Siggi0904S Offline
      Siggi0904
      wrote on last edited by
      #2

      Ich habe immer den Datenpunkt "alexa2.0.History.name" genommen und ausgewertet.

      Da aktuell mal wieder der Datenpunkt alexa2.0.History.summary nicht richtig gesetzt wird, ist das zur Zeit nicht zuverlässig.

      1 Reply Last reply
      1

      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

      552

      Online

      32.7k

      Users

      82.6k

      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