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. Per Alexa Raumklima abfragen.

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Per Alexa Raumklima abfragen.

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
blocklymultimediacommunicationjavascript
10 Beiträge 4 Kommentatoren 1.0k 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.
  • T Offline
    T Offline
    technodj23
    schrieb am zuletzt editiert von
    #1

    Hallo, kann mir jemand auf die Sprünge helfen?
    Ich habe Xiaomi Temperatur und Luftfeuchte Sensoren verbaut und per Zigbee verbunden.
    Jetzt möchte ich wenn ich Alexa frage : Wie ist das Raumklima, dass Sie mir die Werte ansagt.

    Wie stelle ich das an?
    Also Routine als Trigger erstellen ist klar, aber wie geht´s dann weiter?

    Danke schon mal für eure Hilfe :-D

    crunchipC 1 Antwort Letzte Antwort
    0
    • T technodj23

      Hallo, kann mir jemand auf die Sprünge helfen?
      Ich habe Xiaomi Temperatur und Luftfeuchte Sensoren verbaut und per Zigbee verbunden.
      Jetzt möchte ich wenn ich Alexa frage : Wie ist das Raumklima, dass Sie mir die Werte ansagt.

      Wie stelle ich das an?
      Also Routine als Trigger erstellen ist klar, aber wie geht´s dann weiter?

      Danke schon mal für eure Hilfe :-D

      crunchipC Offline
      crunchipC Offline
      crunchip
      Forum Testing Most Active
      schrieb am zuletzt editiert von
      #2

      @technodj23

      BlocklyJavascriptTypeScript
      Protokoll
      Ausgewählte Blöcke exportieren
      
      <xml xmlns="http://www.w3.org/1999/xhtml">
       <variables>
         <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
         <variable type="undefined" id="timeout">timeout</variable>
       </variables>
       <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
         <mutation items="1"></mutation>
         <field name="CONDITION">any</field>
         <field name="ACK_CONDITION"></field>
         <value name="OID0">
           <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
             <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
           </shadow>
         </value>
         <statement name="STATEMENT">
           <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
             <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
             <value name="VALUE">
               <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                 <mutation items="5"></mutation>
                 <value name="ADD0">
                   <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                     <value name="IF">
                       <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                         <field name="OP">GTE</field>
                         <value name="A">
                           <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                             <field name="ATTR">val</field>
                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                             <field name="NUM">0</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="THEN">
                       <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                         <mutation items="2"></mutation>
                         <value name="ADD0">
                           <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                           </block>
                         </value>
                         <value name="ADD1">
                           <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                             <field name="ATTR">val</field>
                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="ELSE">
                       <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                         <mutation items="2"></mutation>
                         <value name="ADD0">
                           <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                           </block>
                         </value>
                         <value name="ADD1">
                           <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                             <field name="ATTR">val</field>
                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
                 <value name="ADD1">
                   <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                     <field name="TEXT">Grad, </field>
                   </block>
                 </value>
                 <value name="ADD2">
                   <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                     <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                   </block>
                 </value>
                 <value name="ADD3">
                   <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                     <field name="ATTR">val</field>
                     <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                   </block>
                 </value>
                 <value name="ADD4">
                   <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                     <field name="TEXT">Prozent, </field>
                   </block>
                 </value>
               </block>
             </value>
             <next>
               <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                 <field name="NAME">timeout</field>
                 <field name="DELAY">500</field>
                 <field name="UNIT">ms</field>
                 <statement name="STATEMENT">
                   <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                     <field name="COMMENT">Wohnzimmer</field>
                     <next>
                       <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                         <value name="IF0">
                           <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                 <field name="ATTR">val</field>
                                 <field name="OID">alexa2.0.History.name</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                 <field name="TEXT">marios Echo</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                             <mutation delay_input="false"></mutation>
                             <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                         <next>
                           <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                             <field name="COMMENT">Schlafzimmer</field>
                             <next>
                               <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                 <value name="IF0">
                                   <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                         <field name="ATTR">val</field>
                                         <field name="OID">alexa2.0.History.name</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                         <field name="TEXT">Schlafzimmer</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                     <mutation delay_input="false"></mutation>
                                     <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                     <field name="COMMENT">Küche</field>
                                     <next>
                                       <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                         <value name="IF0">
                                           <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">alexa2.0.History.name</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                 <field name="TEXT">Küche</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                             <field name="COMMENT">Badezimmer</field>
                                             <next>
                                               <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">alexa2.0.History.name</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                         <field name="TEXT">Badezimmer</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                     <field name="COMMENT">Gästezimmer</field>
                                                     <next>
                                                       <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                         <value name="IF0">
                                                           <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">alexa2.0.History.name</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                 <field name="TEXT">Gästezimmer</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                             <mutation delay_input="false"></mutation>
                                                             <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
             </next>
           </block>
         </statement>
       </block>
      </xml>
      
      <xml xmlns="http://www.w3.org/1999/xhtml">
       <variables>
         <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
         <variable type="undefined" id="timeout">timeout</variable>
       </variables>
       <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
         <mutation items="1"></mutation>
         <field name="CONDITION">any</field>
         <field name="ACK_CONDITION"></field>
         <value name="OID0">
           <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
             <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
           </shadow>
         </value>
         <statement name="STATEMENT">
           <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
             <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
             <value name="VALUE">
               <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                 <mutation items="5"></mutation>
                 <value name="ADD0">
                   <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                     <value name="IF">
                       <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                         <field name="OP">GTE</field>
                         <value name="A">
                           <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                             <field name="ATTR">val</field>
                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                             <field name="NUM">0</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="THEN">
                       <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                         <mutation items="2"></mutation>
                         <value name="ADD0">
                           <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                           </block>
                         </value>
                         <value name="ADD1">
                           <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                             <field name="ATTR">val</field>
                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="ELSE">
                       <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                         <mutation items="2"></mutation>
                         <value name="ADD0">
                           <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                           </block>
                         </value>
                         <value name="ADD1">
                           <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                             <field name="ATTR">val</field>
                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
                 <value name="ADD1">
                   <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                     <field name="TEXT">Grad, </field>
                   </block>
                 </value>
                 <value name="ADD2">
                   <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                     <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                   </block>
                 </value>
                 <value name="ADD3">
                   <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                     <field name="ATTR">val</field>
                     <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                   </block>
                 </value>
                 <value name="ADD4">
                   <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                     <field name="TEXT">Prozent, </field>
                   </block>
                 </value>
               </block>
             </value>
             <next>
               <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                 <field name="NAME">timeout</field>
                 <field name="DELAY">500</field>
                 <field name="UNIT">ms</field>
                 <statement name="STATEMENT">
                   <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                     <field name="COMMENT">Wohnzimmer</field>
                     <next>
                       <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                         <value name="IF0">
                           <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                 <field name="ATTR">val</field>
                                 <field name="OID">alexa2.0.History.name</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                 <field name="TEXT">marios Echo</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                             <mutation delay_input="false"></mutation>
                             <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                         <next>
                           <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                             <field name="COMMENT">Schlafzimmer</field>
                             <next>
                               <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                 <value name="IF0">
                                   <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                         <field name="ATTR">val</field>
                                         <field name="OID">alexa2.0.History.name</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                         <field name="TEXT">Schlafzimmer</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                     <mutation delay_input="false"></mutation>
                                     <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                     <field name="COMMENT">Küche</field>
                                     <next>
                                       <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                         <value name="IF0">
                                           <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">alexa2.0.History.name</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                 <field name="TEXT">Küche</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                             <field name="COMMENT">Badezimmer</field>
                                             <next>
                                               <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">alexa2.0.History.name</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                         <field name="TEXT">Badezimmer</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                     <field name="COMMENT">Gästezimmer</field>
                                                     <next>
                                                       <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                         <value name="IF0">
                                                           <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">alexa2.0.History.name</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                 <field name="TEXT">Gästezimmer</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                             <mutation delay_input="false"></mutation>
                                                             <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
             </next>
           </block>
         </statement>
       </block>
      </xml>
      
      

      umgestiegen von Proxmox auf Unraid

      S 1 Antwort Letzte Antwort
      0
      • crunchipC crunchip

        @technodj23

        BlocklyJavascriptTypeScript
        Protokoll
        Ausgewählte Blöcke exportieren
        
        <xml xmlns="http://www.w3.org/1999/xhtml">
         <variables>
           <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
           <variable type="undefined" id="timeout">timeout</variable>
         </variables>
         <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
           <mutation items="1"></mutation>
           <field name="CONDITION">any</field>
           <field name="ACK_CONDITION"></field>
           <value name="OID0">
             <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
               <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
             </shadow>
           </value>
           <statement name="STATEMENT">
             <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
               <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
               <value name="VALUE">
                 <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                   <mutation items="5"></mutation>
                   <value name="ADD0">
                     <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                       <value name="IF">
                         <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                           <field name="OP">GTE</field>
                           <value name="A">
                             <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                               <field name="NUM">0</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="THEN">
                         <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                           <mutation items="2"></mutation>
                           <value name="ADD0">
                             <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                               <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                             </block>
                           </value>
                           <value name="ADD1">
                             <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="ELSE">
                         <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                           <mutation items="2"></mutation>
                           <value name="ADD0">
                             <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                               <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                             </block>
                           </value>
                           <value name="ADD1">
                             <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <value name="ADD1">
                     <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                       <field name="TEXT">Grad, </field>
                     </block>
                   </value>
                   <value name="ADD2">
                     <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                       <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                     </block>
                   </value>
                   <value name="ADD3">
                     <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                       <field name="ATTR">val</field>
                       <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                     </block>
                   </value>
                   <value name="ADD4">
                     <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                       <field name="TEXT">Prozent, </field>
                     </block>
                   </value>
                 </block>
               </value>
               <next>
                 <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                   <field name="NAME">timeout</field>
                   <field name="DELAY">500</field>
                   <field name="UNIT">ms</field>
                   <statement name="STATEMENT">
                     <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                       <field name="COMMENT">Wohnzimmer</field>
                       <next>
                         <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                           <value name="IF0">
                             <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                   <field name="ATTR">val</field>
                                   <field name="OID">alexa2.0.History.name</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                   <field name="TEXT">marios Echo</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                               <mutation delay_input="false"></mutation>
                               <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                           <next>
                             <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                               <field name="COMMENT">Schlafzimmer</field>
                               <next>
                                 <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                   <value name="IF0">
                                     <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                           <field name="ATTR">val</field>
                                           <field name="OID">alexa2.0.History.name</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                           <field name="TEXT">Schlafzimmer</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                       <mutation delay_input="false"></mutation>
                                       <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                           <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                       <field name="COMMENT">Küche</field>
                                       <next>
                                         <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                           <value name="IF0">
                                             <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">alexa2.0.History.name</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                   <field name="TEXT">Küche</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                               <mutation delay_input="false"></mutation>
                                               <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                               <field name="COMMENT">Badezimmer</field>
                                               <next>
                                                 <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                   <value name="IF0">
                                                     <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                       <field name="OP">EQ</field>
                                                       <value name="A">
                                                         <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">alexa2.0.History.name</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                           <field name="TEXT">Badezimmer</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                       <mutation delay_input="false"></mutation>
                                                       <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                           <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                       <field name="COMMENT">Gästezimmer</field>
                                                       <next>
                                                         <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                           <value name="IF0">
                                                             <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                   <field name="ATTR">val</field>
                                                                   <field name="OID">alexa2.0.History.name</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                   <field name="TEXT">Gästezimmer</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                               <mutation delay_input="false"></mutation>
                                                               <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </statement>
         </block>
        </xml>
        
        <xml xmlns="http://www.w3.org/1999/xhtml">
         <variables>
           <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
           <variable type="undefined" id="timeout">timeout</variable>
         </variables>
         <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
           <mutation items="1"></mutation>
           <field name="CONDITION">any</field>
           <field name="ACK_CONDITION"></field>
           <value name="OID0">
             <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
               <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
             </shadow>
           </value>
           <statement name="STATEMENT">
             <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
               <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
               <value name="VALUE">
                 <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                   <mutation items="5"></mutation>
                   <value name="ADD0">
                     <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                       <value name="IF">
                         <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                           <field name="OP">GTE</field>
                           <value name="A">
                             <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                               <field name="NUM">0</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="THEN">
                         <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                           <mutation items="2"></mutation>
                           <value name="ADD0">
                             <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                               <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                             </block>
                           </value>
                           <value name="ADD1">
                             <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="ELSE">
                         <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                           <mutation items="2"></mutation>
                           <value name="ADD0">
                             <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                               <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                             </block>
                           </value>
                           <value name="ADD1">
                             <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <value name="ADD1">
                     <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                       <field name="TEXT">Grad, </field>
                     </block>
                   </value>
                   <value name="ADD2">
                     <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                       <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                     </block>
                   </value>
                   <value name="ADD3">
                     <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                       <field name="ATTR">val</field>
                       <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                     </block>
                   </value>
                   <value name="ADD4">
                     <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                       <field name="TEXT">Prozent, </field>
                     </block>
                   </value>
                 </block>
               </value>
               <next>
                 <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                   <field name="NAME">timeout</field>
                   <field name="DELAY">500</field>
                   <field name="UNIT">ms</field>
                   <statement name="STATEMENT">
                     <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                       <field name="COMMENT">Wohnzimmer</field>
                       <next>
                         <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                           <value name="IF0">
                             <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                   <field name="ATTR">val</field>
                                   <field name="OID">alexa2.0.History.name</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                   <field name="TEXT">marios Echo</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                               <mutation delay_input="false"></mutation>
                               <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                           <next>
                             <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                               <field name="COMMENT">Schlafzimmer</field>
                               <next>
                                 <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                   <value name="IF0">
                                     <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                           <field name="ATTR">val</field>
                                           <field name="OID">alexa2.0.History.name</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                           <field name="TEXT">Schlafzimmer</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                       <mutation delay_input="false"></mutation>
                                       <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                           <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                       <field name="COMMENT">Küche</field>
                                       <next>
                                         <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                           <value name="IF0">
                                             <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">alexa2.0.History.name</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                   <field name="TEXT">Küche</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                               <mutation delay_input="false"></mutation>
                                               <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                               <field name="COMMENT">Badezimmer</field>
                                               <next>
                                                 <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                   <value name="IF0">
                                                     <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                       <field name="OP">EQ</field>
                                                       <value name="A">
                                                         <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">alexa2.0.History.name</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                           <field name="TEXT">Badezimmer</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                       <mutation delay_input="false"></mutation>
                                                       <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                           <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                       <field name="COMMENT">Gästezimmer</field>
                                                       <next>
                                                         <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                           <value name="IF0">
                                                             <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                   <field name="ATTR">val</field>
                                                                   <field name="OID">alexa2.0.History.name</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                   <field name="TEXT">Gästezimmer</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                               <mutation delay_input="false"></mutation>
                                                               <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </statement>
         </block>
        </xml>
        
        
        S Offline
        S Offline
        Stoni
        schrieb am zuletzt editiert von
        #3

        @crunchip sagte in Per Alexa Raumklima abfragen.:

        @technodj23

        BlocklyJavascriptTypeScript
        Protokoll
        Ausgewählte Blöcke exportieren
        
        <xml xmlns="http://www.w3.org/1999/xhtml">
         <variables>
           <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
           <variable type="undefined" id="timeout">timeout</variable>
         </variables>
         <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
           <mutation items="1"></mutation>
           <field name="CONDITION">any</field>
           <field name="ACK_CONDITION"></field>
           <value name="OID0">
             <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
               <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
             </shadow>
           </value>
           <statement name="STATEMENT">
             <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
               <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
               <value name="VALUE">
                 <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                   <mutation items="5"></mutation>
                   <value name="ADD0">
                     <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                       <value name="IF">
                         <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                           <field name="OP">GTE</field>
                           <value name="A">
                             <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                               <field name="NUM">0</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="THEN">
                         <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                           <mutation items="2"></mutation>
                           <value name="ADD0">
                             <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                               <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                             </block>
                           </value>
                           <value name="ADD1">
                             <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="ELSE">
                         <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                           <mutation items="2"></mutation>
                           <value name="ADD0">
                             <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                               <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                             </block>
                           </value>
                           <value name="ADD1">
                             <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <value name="ADD1">
                     <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                       <field name="TEXT">Grad, </field>
                     </block>
                   </value>
                   <value name="ADD2">
                     <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                       <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                     </block>
                   </value>
                   <value name="ADD3">
                     <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                       <field name="ATTR">val</field>
                       <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                     </block>
                   </value>
                   <value name="ADD4">
                     <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                       <field name="TEXT">Prozent, </field>
                     </block>
                   </value>
                 </block>
               </value>
               <next>
                 <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                   <field name="NAME">timeout</field>
                   <field name="DELAY">500</field>
                   <field name="UNIT">ms</field>
                   <statement name="STATEMENT">
                     <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                       <field name="COMMENT">Wohnzimmer</field>
                       <next>
                         <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                           <value name="IF0">
                             <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                   <field name="ATTR">val</field>
                                   <field name="OID">alexa2.0.History.name</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                   <field name="TEXT">marios Echo</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                               <mutation delay_input="false"></mutation>
                               <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                           <next>
                             <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                               <field name="COMMENT">Schlafzimmer</field>
                               <next>
                                 <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                   <value name="IF0">
                                     <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                           <field name="ATTR">val</field>
                                           <field name="OID">alexa2.0.History.name</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                           <field name="TEXT">Schlafzimmer</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                       <mutation delay_input="false"></mutation>
                                       <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                           <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                       <field name="COMMENT">Küche</field>
                                       <next>
                                         <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                           <value name="IF0">
                                             <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">alexa2.0.History.name</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                   <field name="TEXT">Küche</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                               <mutation delay_input="false"></mutation>
                                               <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                               <field name="COMMENT">Badezimmer</field>
                                               <next>
                                                 <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                   <value name="IF0">
                                                     <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                       <field name="OP">EQ</field>
                                                       <value name="A">
                                                         <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">alexa2.0.History.name</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                           <field name="TEXT">Badezimmer</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                       <mutation delay_input="false"></mutation>
                                                       <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                           <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                       <field name="COMMENT">Gästezimmer</field>
                                                       <next>
                                                         <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                           <value name="IF0">
                                                             <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                   <field name="ATTR">val</field>
                                                                   <field name="OID">alexa2.0.History.name</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                   <field name="TEXT">Gästezimmer</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                               <mutation delay_input="false"></mutation>
                                                               <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </statement>
         </block>
        </xml>
        
        <xml xmlns="http://www.w3.org/1999/xhtml">
         <variables>
           <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
           <variable type="undefined" id="timeout">timeout</variable>
         </variables>
         <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
           <mutation items="1"></mutation>
           <field name="CONDITION">any</field>
           <field name="ACK_CONDITION"></field>
           <value name="OID0">
             <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
               <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
             </shadow>
           </value>
           <statement name="STATEMENT">
             <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
               <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
               <value name="VALUE">
                 <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                   <mutation items="5"></mutation>
                   <value name="ADD0">
                     <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                       <value name="IF">
                         <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                           <field name="OP">GTE</field>
                           <value name="A">
                             <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                               <field name="NUM">0</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="THEN">
                         <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                           <mutation items="2"></mutation>
                           <value name="ADD0">
                             <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                               <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                             </block>
                           </value>
                           <value name="ADD1">
                             <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="ELSE">
                         <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                           <mutation items="2"></mutation>
                           <value name="ADD0">
                             <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                               <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                             </block>
                           </value>
                           <value name="ADD1">
                             <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                               <field name="ATTR">val</field>
                               <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <value name="ADD1">
                     <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                       <field name="TEXT">Grad, </field>
                     </block>
                   </value>
                   <value name="ADD2">
                     <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                       <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                     </block>
                   </value>
                   <value name="ADD3">
                     <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                       <field name="ATTR">val</field>
                       <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                     </block>
                   </value>
                   <value name="ADD4">
                     <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                       <field name="TEXT">Prozent, </field>
                     </block>
                   </value>
                 </block>
               </value>
               <next>
                 <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                   <field name="NAME">timeout</field>
                   <field name="DELAY">500</field>
                   <field name="UNIT">ms</field>
                   <statement name="STATEMENT">
                     <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                       <field name="COMMENT">Wohnzimmer</field>
                       <next>
                         <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                           <value name="IF0">
                             <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                   <field name="ATTR">val</field>
                                   <field name="OID">alexa2.0.History.name</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                   <field name="TEXT">marios Echo</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                               <mutation delay_input="false"></mutation>
                               <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                           <next>
                             <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                               <field name="COMMENT">Schlafzimmer</field>
                               <next>
                                 <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                   <value name="IF0">
                                     <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                           <field name="ATTR">val</field>
                                           <field name="OID">alexa2.0.History.name</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                           <field name="TEXT">Schlafzimmer</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                       <mutation delay_input="false"></mutation>
                                       <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                           <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                       <field name="COMMENT">Küche</field>
                                       <next>
                                         <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                           <value name="IF0">
                                             <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">alexa2.0.History.name</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                   <field name="TEXT">Küche</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                               <mutation delay_input="false"></mutation>
                                               <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                               <field name="COMMENT">Badezimmer</field>
                                               <next>
                                                 <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                   <value name="IF0">
                                                     <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                       <field name="OP">EQ</field>
                                                       <value name="A">
                                                         <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">alexa2.0.History.name</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                           <field name="TEXT">Badezimmer</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                       <mutation delay_input="false"></mutation>
                                                       <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                           <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                       <field name="COMMENT">Gästezimmer</field>
                                                       <next>
                                                         <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                           <value name="IF0">
                                                             <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                   <field name="ATTR">val</field>
                                                                   <field name="OID">alexa2.0.History.name</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                   <field name="TEXT">Gästezimmer</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                               <mutation delay_input="false"></mutation>
                                                               <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                   <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </statement>
         </block>
        </xml>
        
        

        Hallo, kannst Du das Skript mal als Blockly zeigen?

        Gruß Stoni

        crunchipC Faze UpF 3 Antworten Letzte Antwort
        0
        • S Stoni

          @crunchip sagte in Per Alexa Raumklima abfragen.:

          @technodj23

          BlocklyJavascriptTypeScript
          Protokoll
          Ausgewählte Blöcke exportieren
          
          <xml xmlns="http://www.w3.org/1999/xhtml">
           <variables>
             <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
             <variable type="undefined" id="timeout">timeout</variable>
           </variables>
           <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
             <mutation items="1"></mutation>
             <field name="CONDITION">any</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                 <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                 <value name="VALUE">
                   <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                     <mutation items="5"></mutation>
                     <value name="ADD0">
                       <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                         <value name="IF">
                           <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                             <field name="OP">GTE</field>
                             <value name="A">
                               <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                                 <field name="ATTR">val</field>
                                 <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                                 <field name="NUM">0</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="THEN">
                           <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                             <mutation items="2"></mutation>
                             <value name="ADD0">
                               <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                                 <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                               </block>
                             </value>
                             <value name="ADD1">
                               <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                                 <field name="ATTR">val</field>
                                 <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="ELSE">
                           <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                             <mutation items="2"></mutation>
                             <value name="ADD0">
                               <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                                 <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                               </block>
                             </value>
                             <value name="ADD1">
                               <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                                 <field name="ATTR">val</field>
                                 <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                               </block>
                             </value>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="ADD1">
                       <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                         <field name="TEXT">Grad, </field>
                       </block>
                     </value>
                     <value name="ADD2">
                       <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                         <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                       </block>
                     </value>
                     <value name="ADD3">
                       <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                         <field name="ATTR">val</field>
                         <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                       </block>
                     </value>
                     <value name="ADD4">
                       <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                         <field name="TEXT">Prozent, </field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <next>
                   <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                     <field name="NAME">timeout</field>
                     <field name="DELAY">500</field>
                     <field name="UNIT">ms</field>
                     <statement name="STATEMENT">
                       <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                         <field name="COMMENT">Wohnzimmer</field>
                         <next>
                           <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                             <value name="IF0">
                               <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                     <field name="ATTR">val</field>
                                     <field name="OID">alexa2.0.History.name</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                     <field name="TEXT">marios Echo</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                                 <mutation delay_input="false"></mutation>
                                 <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                     <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                             <next>
                               <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                                 <field name="COMMENT">Schlafzimmer</field>
                                 <next>
                                   <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                     <value name="IF0">
                                       <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                             <field name="ATTR">val</field>
                                             <field name="OID">alexa2.0.History.name</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                             <field name="TEXT">Schlafzimmer</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                         <mutation delay_input="false"></mutation>
                                         <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                             <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                         <field name="COMMENT">Küche</field>
                                         <next>
                                           <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                             <value name="IF0">
                                               <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">alexa2.0.History.name</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                     <field name="TEXT">Küche</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                                 <mutation delay_input="false"></mutation>
                                                 <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                     <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                                 <field name="COMMENT">Badezimmer</field>
                                                 <next>
                                                   <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                     <value name="IF0">
                                                       <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">alexa2.0.History.name</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                             <field name="TEXT">Badezimmer</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                         <mutation delay_input="false"></mutation>
                                                         <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                             <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                     <next>
                                                       <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                         <field name="COMMENT">Gästezimmer</field>
                                                         <next>
                                                           <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                             <value name="IF0">
                                                               <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">alexa2.0.History.name</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                     <field name="TEXT">Gästezimmer</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                                 <mutation delay_input="false"></mutation>
                                                                 <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                     <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </statement>
                   </block>
                 </next>
               </block>
             </statement>
           </block>
          </xml>
          
          <xml xmlns="http://www.w3.org/1999/xhtml">
           <variables>
             <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
             <variable type="undefined" id="timeout">timeout</variable>
           </variables>
           <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
             <mutation items="1"></mutation>
             <field name="CONDITION">any</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                 <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                 <value name="VALUE">
                   <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                     <mutation items="5"></mutation>
                     <value name="ADD0">
                       <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                         <value name="IF">
                           <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                             <field name="OP">GTE</field>
                             <value name="A">
                               <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                                 <field name="ATTR">val</field>
                                 <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                                 <field name="NUM">0</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="THEN">
                           <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                             <mutation items="2"></mutation>
                             <value name="ADD0">
                               <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                                 <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                               </block>
                             </value>
                             <value name="ADD1">
                               <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                                 <field name="ATTR">val</field>
                                 <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="ELSE">
                           <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                             <mutation items="2"></mutation>
                             <value name="ADD0">
                               <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                                 <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                               </block>
                             </value>
                             <value name="ADD1">
                               <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                                 <field name="ATTR">val</field>
                                 <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                               </block>
                             </value>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="ADD1">
                       <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                         <field name="TEXT">Grad, </field>
                       </block>
                     </value>
                     <value name="ADD2">
                       <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                         <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                       </block>
                     </value>
                     <value name="ADD3">
                       <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                         <field name="ATTR">val</field>
                         <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                       </block>
                     </value>
                     <value name="ADD4">
                       <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                         <field name="TEXT">Prozent, </field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <next>
                   <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                     <field name="NAME">timeout</field>
                     <field name="DELAY">500</field>
                     <field name="UNIT">ms</field>
                     <statement name="STATEMENT">
                       <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                         <field name="COMMENT">Wohnzimmer</field>
                         <next>
                           <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                             <value name="IF0">
                               <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                     <field name="ATTR">val</field>
                                     <field name="OID">alexa2.0.History.name</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                     <field name="TEXT">marios Echo</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                                 <mutation delay_input="false"></mutation>
                                 <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                     <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                             <next>
                               <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                                 <field name="COMMENT">Schlafzimmer</field>
                                 <next>
                                   <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                     <value name="IF0">
                                       <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                             <field name="ATTR">val</field>
                                             <field name="OID">alexa2.0.History.name</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                             <field name="TEXT">Schlafzimmer</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                         <mutation delay_input="false"></mutation>
                                         <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                             <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                         <field name="COMMENT">Küche</field>
                                         <next>
                                           <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                             <value name="IF0">
                                               <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">alexa2.0.History.name</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                     <field name="TEXT">Küche</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                                 <mutation delay_input="false"></mutation>
                                                 <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                     <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                                 <field name="COMMENT">Badezimmer</field>
                                                 <next>
                                                   <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                     <value name="IF0">
                                                       <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">alexa2.0.History.name</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                             <field name="TEXT">Badezimmer</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                         <mutation delay_input="false"></mutation>
                                                         <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                             <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                     <next>
                                                       <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                         <field name="COMMENT">Gästezimmer</field>
                                                         <next>
                                                           <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                             <value name="IF0">
                                                               <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">alexa2.0.History.name</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                     <field name="TEXT">Gästezimmer</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                                 <mutation delay_input="false"></mutation>
                                                                 <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                     <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </statement>
                   </block>
                 </next>
               </block>
             </statement>
           </block>
          </xml>
          
          

          Hallo, kannst Du das Skript mal als Blockly zeigen?

          Gruß Stoni

          crunchipC Offline
          crunchipC Offline
          crunchip
          Forum Testing Most Active
          schrieb am zuletzt editiert von
          #4

          @Stoni kann ich erst, wenn ich zu hause bin.
          Woran scheitert es?

          umgestiegen von Proxmox auf Unraid

          S 1 Antwort Letzte Antwort
          0
          • crunchipC crunchip

            @Stoni kann ich erst, wenn ich zu hause bin.
            Woran scheitert es?

            S Offline
            S Offline
            Stoni
            schrieb am zuletzt editiert von
            #5

            @crunchip Möchte mir eigentlich primär Anregungen holen.... Das geht einfacher mit dem Blockly, ist übersichtlicher...

            Gruß

            1 Antwort Letzte Antwort
            0
            • S Stoni

              @crunchip sagte in Per Alexa Raumklima abfragen.:

              @technodj23

              BlocklyJavascriptTypeScript
              Protokoll
              Ausgewählte Blöcke exportieren
              
              <xml xmlns="http://www.w3.org/1999/xhtml">
               <variables>
                 <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
                 <variable type="undefined" id="timeout">timeout</variable>
               </variables>
               <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
                 <mutation items="1"></mutation>
                 <field name="CONDITION">any</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                     <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                     <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                     <value name="VALUE">
                       <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                         <mutation items="5"></mutation>
                         <value name="ADD0">
                           <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                             <value name="IF">
                               <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                                 <field name="OP">GTE</field>
                                 <value name="A">
                                   <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="THEN">
                               <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                                 <mutation items="2"></mutation>
                                 <value name="ADD0">
                                   <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                                     <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                   </block>
                                 </value>
                                 <value name="ADD1">
                                   <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="ELSE">
                               <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                                 <mutation items="2"></mutation>
                                 <value name="ADD0">
                                   <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                                     <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                   </block>
                                 </value>
                                 <value name="ADD1">
                                   <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="ADD1">
                           <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                             <field name="TEXT">Grad, </field>
                           </block>
                         </value>
                         <value name="ADD2">
                           <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                             <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                           </block>
                         </value>
                         <value name="ADD3">
                           <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                             <field name="ATTR">val</field>
                             <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                           </block>
                         </value>
                         <value name="ADD4">
                           <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                             <field name="TEXT">Prozent, </field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <next>
                       <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                         <field name="NAME">timeout</field>
                         <field name="DELAY">500</field>
                         <field name="UNIT">ms</field>
                         <statement name="STATEMENT">
                           <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                             <field name="COMMENT">Wohnzimmer</field>
                             <next>
                               <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                                 <value name="IF0">
                                   <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                         <field name="ATTR">val</field>
                                         <field name="OID">alexa2.0.History.name</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                         <field name="TEXT">marios Echo</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                                     <mutation delay_input="false"></mutation>
                                     <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                                     <field name="COMMENT">Schlafzimmer</field>
                                     <next>
                                       <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                         <value name="IF0">
                                           <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">alexa2.0.History.name</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                                 <field name="TEXT">Schlafzimmer</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                             <field name="COMMENT">Küche</field>
                                             <next>
                                               <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">alexa2.0.History.name</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                         <field name="TEXT">Küche</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                                     <field name="COMMENT">Badezimmer</field>
                                                     <next>
                                                       <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                         <value name="IF0">
                                                           <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">alexa2.0.History.name</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                                 <field name="TEXT">Badezimmer</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                             <mutation delay_input="false"></mutation>
                                                             <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                         <next>
                                                           <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                             <field name="COMMENT">Gästezimmer</field>
                                                             <next>
                                                               <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                                 <value name="IF0">
                                                                   <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                         <field name="ATTR">val</field>
                                                                         <field name="OID">alexa2.0.History.name</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                         <field name="TEXT">Gästezimmer</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <statement name="DO0">
                                                                   <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                                     <mutation delay_input="false"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
              </xml>
              
              <xml xmlns="http://www.w3.org/1999/xhtml">
               <variables>
                 <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
                 <variable type="undefined" id="timeout">timeout</variable>
               </variables>
               <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
                 <mutation items="1"></mutation>
                 <field name="CONDITION">any</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                     <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                     <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                     <value name="VALUE">
                       <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                         <mutation items="5"></mutation>
                         <value name="ADD0">
                           <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                             <value name="IF">
                               <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                                 <field name="OP">GTE</field>
                                 <value name="A">
                                   <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="THEN">
                               <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                                 <mutation items="2"></mutation>
                                 <value name="ADD0">
                                   <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                                     <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                   </block>
                                 </value>
                                 <value name="ADD1">
                                   <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="ELSE">
                               <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                                 <mutation items="2"></mutation>
                                 <value name="ADD0">
                                   <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                                     <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                   </block>
                                 </value>
                                 <value name="ADD1">
                                   <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="ADD1">
                           <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                             <field name="TEXT">Grad, </field>
                           </block>
                         </value>
                         <value name="ADD2">
                           <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                             <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                           </block>
                         </value>
                         <value name="ADD3">
                           <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                             <field name="ATTR">val</field>
                             <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                           </block>
                         </value>
                         <value name="ADD4">
                           <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                             <field name="TEXT">Prozent, </field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <next>
                       <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                         <field name="NAME">timeout</field>
                         <field name="DELAY">500</field>
                         <field name="UNIT">ms</field>
                         <statement name="STATEMENT">
                           <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                             <field name="COMMENT">Wohnzimmer</field>
                             <next>
                               <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                                 <value name="IF0">
                                   <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                         <field name="ATTR">val</field>
                                         <field name="OID">alexa2.0.History.name</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                         <field name="TEXT">marios Echo</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                                     <mutation delay_input="false"></mutation>
                                     <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                                     <field name="COMMENT">Schlafzimmer</field>
                                     <next>
                                       <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                         <value name="IF0">
                                           <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">alexa2.0.History.name</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                                 <field name="TEXT">Schlafzimmer</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                             <field name="COMMENT">Küche</field>
                                             <next>
                                               <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">alexa2.0.History.name</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                         <field name="TEXT">Küche</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                                     <field name="COMMENT">Badezimmer</field>
                                                     <next>
                                                       <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                         <value name="IF0">
                                                           <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">alexa2.0.History.name</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                                 <field name="TEXT">Badezimmer</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                             <mutation delay_input="false"></mutation>
                                                             <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                         <next>
                                                           <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                             <field name="COMMENT">Gästezimmer</field>
                                                             <next>
                                                               <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                                 <value name="IF0">
                                                                   <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                         <field name="ATTR">val</field>
                                                                         <field name="OID">alexa2.0.History.name</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                         <field name="TEXT">Gästezimmer</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <statement name="DO0">
                                                                   <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                                     <mutation delay_input="false"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
              </xml>
              
              

              Hallo, kannst Du das Skript mal als Blockly zeigen?

              Gruß Stoni

              crunchipC Offline
              crunchipC Offline
              crunchip
              Forum Testing Most Active
              schrieb am zuletzt editiert von
              #6

              @Stoni 63be4609-262d-40bb-a2a3-c16d9911771f-image.png

              umgestiegen von Proxmox auf Unraid

              crunchipC 1 Antwort Letzte Antwort
              0
              • crunchipC crunchip

                @Stoni 63be4609-262d-40bb-a2a3-c16d9911771f-image.png

                crunchipC Offline
                crunchipC Offline
                crunchip
                Forum Testing Most Active
                schrieb am zuletzt editiert von
                #7

                @Stoni vllt ist das auch noch etwas für dich
                https://forum.iobroker.net/topic/23370/vorlage-alexa2-adapter-ansagen-mit-ssml

                umgestiegen von Proxmox auf Unraid

                S 1 Antwort Letzte Antwort
                0
                • crunchipC crunchip

                  @Stoni vllt ist das auch noch etwas für dich
                  https://forum.iobroker.net/topic/23370/vorlage-alexa2-adapter-ansagen-mit-ssml

                  S Offline
                  S Offline
                  Stoni
                  schrieb am zuletzt editiert von Stoni
                  #8

                  @crunchip Danke. Wenn ich eine Routine in der alexa App erstelle, muss ich auch eine Aktion eintragen, sonst lässt sich die Routine nicht erstellen. Wie sieht das bei euch aus?

                  crunchipC 1 Antwort Letzte Antwort
                  0
                  • S Stoni

                    @crunchip Danke. Wenn ich eine Routine in der alexa App erstelle, muss ich auch eine Aktion eintragen, sonst lässt sich die Routine nicht erstellen. Wie sieht das bei euch aus?

                    crunchipC Offline
                    crunchipC Offline
                    crunchip
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von
                    #9

                    @Stoni ist doch im link oben drüber beschrieben

                    umgestiegen von Proxmox auf Unraid

                    1 Antwort Letzte Antwort
                    0
                    • S Stoni

                      @crunchip sagte in Per Alexa Raumklima abfragen.:

                      @technodj23

                      BlocklyJavascriptTypeScript
                      Protokoll
                      Ausgewählte Blöcke exportieren
                      
                      <xml xmlns="http://www.w3.org/1999/xhtml">
                       <variables>
                         <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
                         <variable type="undefined" id="timeout">timeout</variable>
                       </variables>
                       <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
                         <mutation items="1"></mutation>
                         <field name="CONDITION">any</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                             <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                             <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                             <value name="VALUE">
                               <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                                 <mutation items="5"></mutation>
                                 <value name="ADD0">
                                   <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                                     <value name="IF">
                                       <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                                         <field name="OP">GTE</field>
                                         <value name="A">
                                           <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="THEN">
                                       <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                                         <mutation items="2"></mutation>
                                         <value name="ADD0">
                                           <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                           </block>
                                         </value>
                                         <value name="ADD1">
                                           <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="ELSE">
                                       <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                                         <mutation items="2"></mutation>
                                         <value name="ADD0">
                                           <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                           </block>
                                         </value>
                                         <value name="ADD1">
                                           <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="ADD1">
                                   <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                                     <field name="TEXT">Grad, </field>
                                   </block>
                                 </value>
                                 <value name="ADD2">
                                   <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                                     <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                                   </block>
                                 </value>
                                 <value name="ADD3">
                                   <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                                   </block>
                                 </value>
                                 <value name="ADD4">
                                   <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                                     <field name="TEXT">Prozent, </field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <next>
                               <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                                 <field name="NAME">timeout</field>
                                 <field name="DELAY">500</field>
                                 <field name="UNIT">ms</field>
                                 <statement name="STATEMENT">
                                   <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                                     <field name="COMMENT">Wohnzimmer</field>
                                     <next>
                                       <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                                         <value name="IF0">
                                           <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">alexa2.0.History.name</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                                 <field name="TEXT">marios Echo</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                                             <field name="COMMENT">Schlafzimmer</field>
                                             <next>
                                               <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">alexa2.0.History.name</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                                         <field name="TEXT">Schlafzimmer</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                                     <field name="COMMENT">Küche</field>
                                                     <next>
                                                       <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                                         <value name="IF0">
                                                           <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">alexa2.0.History.name</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                                 <field name="TEXT">Küche</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                                             <mutation delay_input="false"></mutation>
                                                             <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                         <next>
                                                           <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                                             <field name="COMMENT">Badezimmer</field>
                                                             <next>
                                                               <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                                 <value name="IF0">
                                                                   <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                                         <field name="ATTR">val</field>
                                                                         <field name="OID">alexa2.0.History.name</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                                         <field name="TEXT">Badezimmer</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <statement name="DO0">
                                                                   <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                                     <mutation delay_input="false"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </statement>
                                                                 <next>
                                                                   <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                                     <field name="COMMENT">Gästezimmer</field>
                                                                     <next>
                                                                       <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                                         <value name="IF0">
                                                                           <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                                             <field name="OP">EQ</field>
                                                                             <value name="A">
                                                                               <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                                 <field name="ATTR">val</field>
                                                                                 <field name="OID">alexa2.0.History.name</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="B">
                                                                               <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                                 <field name="TEXT">Gästezimmer</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <statement name="DO0">
                                                                           <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                                             <mutation delay_input="false"></mutation>
                                                                             <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                             <value name="VALUE">
                                                                               <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </statement>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      
                      <xml xmlns="http://www.w3.org/1999/xhtml">
                       <variables>
                         <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
                         <variable type="undefined" id="timeout">timeout</variable>
                       </variables>
                       <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
                         <mutation items="1"></mutation>
                         <field name="CONDITION">any</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                             <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                             <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                             <value name="VALUE">
                               <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                                 <mutation items="5"></mutation>
                                 <value name="ADD0">
                                   <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                                     <value name="IF">
                                       <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                                         <field name="OP">GTE</field>
                                         <value name="A">
                                           <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="THEN">
                                       <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                                         <mutation items="2"></mutation>
                                         <value name="ADD0">
                                           <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                           </block>
                                         </value>
                                         <value name="ADD1">
                                           <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="ELSE">
                                       <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                                         <mutation items="2"></mutation>
                                         <value name="ADD0">
                                           <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                           </block>
                                         </value>
                                         <value name="ADD1">
                                           <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="ADD1">
                                   <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                                     <field name="TEXT">Grad, </field>
                                   </block>
                                 </value>
                                 <value name="ADD2">
                                   <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                                     <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                                   </block>
                                 </value>
                                 <value name="ADD3">
                                   <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                                   </block>
                                 </value>
                                 <value name="ADD4">
                                   <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                                     <field name="TEXT">Prozent, </field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <next>
                               <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                                 <field name="NAME">timeout</field>
                                 <field name="DELAY">500</field>
                                 <field name="UNIT">ms</field>
                                 <statement name="STATEMENT">
                                   <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                                     <field name="COMMENT">Wohnzimmer</field>
                                     <next>
                                       <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                                         <value name="IF0">
                                           <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">alexa2.0.History.name</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                                 <field name="TEXT">marios Echo</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                                             <field name="COMMENT">Schlafzimmer</field>
                                             <next>
                                               <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">alexa2.0.History.name</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                                         <field name="TEXT">Schlafzimmer</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                                     <field name="COMMENT">Küche</field>
                                                     <next>
                                                       <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                                         <value name="IF0">
                                                           <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">alexa2.0.History.name</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                                 <field name="TEXT">Küche</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                                             <mutation delay_input="false"></mutation>
                                                             <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                         <next>
                                                           <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                                             <field name="COMMENT">Badezimmer</field>
                                                             <next>
                                                               <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                                 <value name="IF0">
                                                                   <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                                         <field name="ATTR">val</field>
                                                                         <field name="OID">alexa2.0.History.name</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                                         <field name="TEXT">Badezimmer</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <statement name="DO0">
                                                                   <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                                     <mutation delay_input="false"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </statement>
                                                                 <next>
                                                                   <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                                     <field name="COMMENT">Gästezimmer</field>
                                                                     <next>
                                                                       <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                                         <value name="IF0">
                                                                           <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                                             <field name="OP">EQ</field>
                                                                             <value name="A">
                                                                               <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                                 <field name="ATTR">val</field>
                                                                                 <field name="OID">alexa2.0.History.name</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="B">
                                                                               <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                                 <field name="TEXT">Gästezimmer</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <statement name="DO0">
                                                                           <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                                             <mutation delay_input="false"></mutation>
                                                                             <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                             <value name="VALUE">
                                                                               <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </statement>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      
                      

                      Hallo, kannst Du das Skript mal als Blockly zeigen?

                      Gruß Stoni

                      Faze UpF Offline
                      Faze UpF Offline
                      Faze Up
                      schrieb am zuletzt editiert von Faze Up
                      #10

                      @Stoni said in Per Alexa Raumklima abfragen.:

                      @crunchip sagte in Per Alexa Raumklima abfragen.:

                      @technodj23

                      BlocklyJavascriptTypeScript
                      Protokoll
                      Ausgewählte Blöcke exportieren
                      
                      <xml xmlns="http://www.w3.org/1999/xhtml">
                       <variables>
                         <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
                         <variable type="undefined" id="timeout">timeout</variable>
                       </variables>
                       <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
                         <mutation items="1"></mutation>
                         <field name="CONDITION">any</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                             <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                             <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                             <value name="VALUE">
                               <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                                 <mutation items="5"></mutation>
                                 <value name="ADD0">
                                   <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                                     <value name="IF">
                                       <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                                         <field name="OP">GTE</field>
                                         <value name="A">
                                           <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="THEN">
                                       <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                                         <mutation items="2"></mutation>
                                         <value name="ADD0">
                                           <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                           </block>
                                         </value>
                                         <value name="ADD1">
                                           <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="ELSE">
                                       <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                                         <mutation items="2"></mutation>
                                         <value name="ADD0">
                                           <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                           </block>
                                         </value>
                                         <value name="ADD1">
                                           <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="ADD1">
                                   <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                                     <field name="TEXT">Grad, </field>
                                   </block>
                                 </value>
                                 <value name="ADD2">
                                   <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                                     <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                                   </block>
                                 </value>
                                 <value name="ADD3">
                                   <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                                   </block>
                                 </value>
                                 <value name="ADD4">
                                   <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                                     <field name="TEXT">Prozent, </field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <next>
                               <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                                 <field name="NAME">timeout</field>
                                 <field name="DELAY">500</field>
                                 <field name="UNIT">ms</field>
                                 <statement name="STATEMENT">
                                   <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                                     <field name="COMMENT">Wohnzimmer</field>
                                     <next>
                                       <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                                         <value name="IF0">
                                           <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">alexa2.0.History.name</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                                 <field name="TEXT">marios Echo</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                                             <field name="COMMENT">Schlafzimmer</field>
                                             <next>
                                               <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">alexa2.0.History.name</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                                         <field name="TEXT">Schlafzimmer</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                                     <field name="COMMENT">Küche</field>
                                                     <next>
                                                       <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                                         <value name="IF0">
                                                           <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">alexa2.0.History.name</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                                 <field name="TEXT">Küche</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                                             <mutation delay_input="false"></mutation>
                                                             <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                         <next>
                                                           <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                                             <field name="COMMENT">Badezimmer</field>
                                                             <next>
                                                               <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                                 <value name="IF0">
                                                                   <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                                         <field name="ATTR">val</field>
                                                                         <field name="OID">alexa2.0.History.name</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                                         <field name="TEXT">Badezimmer</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <statement name="DO0">
                                                                   <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                                     <mutation delay_input="false"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </statement>
                                                                 <next>
                                                                   <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                                     <field name="COMMENT">Gästezimmer</field>
                                                                     <next>
                                                                       <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                                         <value name="IF0">
                                                                           <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                                             <field name="OP">EQ</field>
                                                                             <value name="A">
                                                                               <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                                 <field name="ATTR">val</field>
                                                                                 <field name="OID">alexa2.0.History.name</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="B">
                                                                               <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                                 <field name="TEXT">Gästezimmer</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <statement name="DO0">
                                                                           <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                                             <mutation delay_input="false"></mutation>
                                                                             <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                             <value name="VALUE">
                                                                               <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </statement>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      
                      <xml xmlns="http://www.w3.org/1999/xhtml">
                       <variables>
                         <variable type="" id="_Oeo.8k*y2!M*T$@lR0m">Ausgabetext</variable>
                         <variable type="undefined" id="timeout">timeout</variable>
                       </variables>
                       <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc" x="-563" y="-363">
                         <mutation items="1"></mutation>
                         <field name="CONDITION">any</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                             <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa_antwortet.Schlafzimmer</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                             <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                             <value name="VALUE">
                               <block type="text_join" id="4?k[0reCRn.mjkxHg41~">
                                 <mutation items="5"></mutation>
                                 <value name="ADD0">
                                   <block type="logic_ternary" id="kGI/S(.75^B:WdHVkswQ">
                                     <value name="IF">
                                       <block type="logic_compare" id="7y~Hfjf0;F!w3_[kSmeE" inline="false">
                                         <field name="OP">GTE</field>
                                         <value name="A">
                                           <block type="get_value" id="CoxbEZlN,HjgWwg7*LI8">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="W!=7A/Z7)_i1nezJ!{`a">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="THEN">
                                       <block type="text_join" id="3EgUtSkGcNg)7]VkmTKG">
                                         <mutation items="2"></mutation>
                                         <value name="ADD0">
                                           <block type="text" id="^hNa]9{L,Dpf7V:o4@N+">
                                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                           </block>
                                         </value>
                                         <value name="ADD1">
                                           <block type="get_value" id="/j)T/vFCeG:Ak$iCdj29">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="ELSE">
                                       <block type="text_join" id="v}q:R|.6Q@q3:Qr1%UPt">
                                         <mutation items="2"></mutation>
                                         <value name="ADD0">
                                           <block type="text" id="e%OEsGXIdIZX0(8hPPTc">
                                             <field name="TEXT">60;die Temperatur im Schlafzimmer ist, </field>
                                           </block>
                                         </value>
                                         <value name="ADD1">
                                           <block type="get_value" id="_P4?d]sR(~%Ka!9S{f|1">
                                             <field name="ATTR">val</field>
                                             <field name="OID">ble.0.4c:65:a8:df:5d:41.temperature</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="ADD1">
                                   <block type="text" id="G@Z@}vulKz7}(vVeP{6A">
                                     <field name="TEXT">Grad, </field>
                                   </block>
                                 </value>
                                 <value name="ADD2">
                                   <block type="text" id="F7^vXdo1h/]X/Ui.[N_Z">
                                     <field name="TEXT">Die Luftfeuchtigkeit im Schlafzimmer beträgt, </field>
                                   </block>
                                 </value>
                                 <value name="ADD3">
                                   <block type="get_value" id="fXvE~k+AfJ]PCc`:8-n`">
                                     <field name="ATTR">val</field>
                                     <field name="OID">ble.0.4c:65:a8:df:5d:41.humidity</field>
                                   </block>
                                 </value>
                                 <value name="ADD4">
                                   <block type="text" id=",FwwyIU;YbFW_6.(5o1R">
                                     <field name="TEXT">Prozent, </field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <next>
                               <block type="timeouts_settimeout" id="xA_MJ^@=AB=-WtDTe(3}">
                                 <field name="NAME">timeout</field>
                                 <field name="DELAY">500</field>
                                 <field name="UNIT">ms</field>
                                 <statement name="STATEMENT">
                                   <block type="comment" id="s30b2{fSQ:a0uC3`+QWU">
                                     <field name="COMMENT">Wohnzimmer</field>
                                     <next>
                                       <block type="controls_if" id="l(E24=q]l]b,GJDj4dSj">
                                         <value name="IF0">
                                           <block type="logic_compare" id="MKwJn0C!O]xc!~.9|B`*">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="p-SHbJ5Dmwr6djxg2ohH">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">alexa2.0.History.name</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="text" id="?}A;8(IyMF%F@(t]Kc~+">
                                                 <field name="TEXT">marios Echo</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id=")M^jLcZ!hCpj,X={-`nV">
                                             <mutation delay_input="false"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G2A0RF0481860453.Commands.speak</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="variables_get" id="p)bNOdcZFVoq1e^M5V-.">
                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="comment" id="qKD3bDxHV;NBtuFFs|e.">
                                             <field name="COMMENT">Schlafzimmer</field>
                                             <next>
                                               <block type="controls_if" id="iMz(H}c1#NO@KVNnhnlQ">
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="z`vyyAWvaYdxt8YZt,0O">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="mEF)naqwJ#xLCe1NeKO:">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">alexa2.0.History.name</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="text" id="F7::fb4cokeJJD:fk~pV">
                                                         <field name="TEXT">Schlafzimmer</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="{2s/h/xpkm]F+1ik-f4m">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.G090VC0784452C97.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="ft7Uf33@IB1zu_xdTAxn">
                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="comment" id="As,dG(xO[B@wIYcyAG?h">
                                                     <field name="COMMENT">Küche</field>
                                                     <next>
                                                       <block type="controls_if" id="wrH-}P(84mn7Y/rg8A[.">
                                                         <value name="IF0">
                                                           <block type="logic_compare" id="kg.QKB751NaS#Ihk1Vlg">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="get_value" id="qnTz1Oe31sq:NXjmbxIJ">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">alexa2.0.History.name</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="text" id="3=W.?c8BZN+QrGX4xL}h">
                                                                 <field name="TEXT">Küche</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="control" id="}?dK++*V.7JQcjG{3uhB">
                                                             <mutation delay_input="false"></mutation>
                                                             <field name="OID">alexa2.0.Echo-Devices.G090U509910703K5.Commands.speak</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="qHoN]~u1FI@iDQs*2C2v">
                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                         <next>
                                                           <block type="comment" id="_amxz6B=9F}_2uEGsK}`">
                                                             <field name="COMMENT">Badezimmer</field>
                                                             <next>
                                                               <block type="controls_if" id=".n7JtGwDJDGfaeyl!8*B" disabled="true">
                                                                 <value name="IF0">
                                                                   <block type="logic_compare" id="I-@9%{Ng!%}9rE#IESc;">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="get_value" id="c?dSeG!fu]W8UO@?D4I3">
                                                                         <field name="ATTR">val</field>
                                                                         <field name="OID">alexa2.0.History.name</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="text" id="MivGV@*kt)3rY9COKpKA">
                                                                         <field name="TEXT">Badezimmer</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <statement name="DO0">
                                                                   <block type="control" id="zTwXc~r8Ldt0u-5TNcVn">
                                                                     <mutation delay_input="false"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                     <field name="WITH_DELAY">Field</field>
                                                                     <value name="VALUE">
                                                                       <block type="variables_get" id="*X*~qQG3]~[NC{WMMndW">
                                                                         <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </statement>
                                                                 <next>
                                                                   <block type="comment" id="CJNG59[?CJ|U-=Bf]c)z">
                                                                     <field name="COMMENT">Gästezimmer</field>
                                                                     <next>
                                                                       <block type="controls_if" id="OC]k1_}iDlExQPVc=(ib" disabled="true">
                                                                         <value name="IF0">
                                                                           <block type="logic_compare" id="OBIXw6hJ@]2Xr`HBIz5h">
                                                                             <field name="OP">EQ</field>
                                                                             <value name="A">
                                                                               <block type="get_value" id="=x~5W)ns/VV;c|RFqQcE">
                                                                                 <field name="ATTR">val</field>
                                                                                 <field name="OID">alexa2.0.History.name</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="B">
                                                                               <block type="text" id="IxW:hplIvDQm1ax=@X+M">
                                                                                 <field name="TEXT">Gästezimmer</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <statement name="DO0">
                                                                           <block type="control" id="g+2]wvsrhR8vxv7c,kJ_">
                                                                             <mutation delay_input="false"></mutation>
                                                                             <field name="OID">alexa2.0.Echo-Devices.xxx.Commands.speak</field>
                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                             <value name="VALUE">
                                                                               <block type="variables_get" id="5q6/z~S`0DeJ6sYrWhj1">
                                                                                 <field name="VAR" id="_Oeo.8k*y2!M*T$@lR0m" variabletype="">Ausgabetext</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </statement>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      
                      

                      Hallo, kannst Du das Skript mal als Blockly zeigen?

                      Gruß Stoni
                      Fragst du oder was

                      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