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. [HILFE] DWD Wetterwarnung als Ansage und Push-Nachricht

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.0k

[HILFE] DWD Wetterwarnung als Ansage und Push-Nachricht

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
blocklyclimatecommunicationjavascript
44 Beiträge 8 Kommentatoren 4.9k Aufrufe 7 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.
  • M Offline
    M Offline
    Michi68
    schrieb am zuletzt editiert von
    #8

    Hallo,
    nimm für die Sprachausgabe ssml und nicht speak, speak unterstützt nur 240 oder 250 Zeichen.
    Die Abfrage habe ich so gemacht vielleicht hilft es dir weiter

    Wetterwarnung_DWD.png

    Gruß Michael

    smarthomegirlS XxJooOX 3 Antworten Letzte Antwort
    0
    • thewhoboxT thewhobox

      @smarthomegirl wenn du das jetzt noch per debug ausgibt, was steht dann drin?

      smarthomegirlS Offline
      smarthomegirlS Offline
      smarthomegirl
      schrieb am zuletzt editiert von
      #9

      @thewhobox das ist eine gute Frage, bis jetzt konnte ich das Skript noch nicht testen, da es keine Wetterwarnung des DWD gab. :confused:

      👍 Ich danke Euch im Voraus. 👍

      S Y S T E M:
      ioBroker Master auf Raspi 4 4Gb (FW raspbian-buster), node v.12.22.5, npm v.6.14.14, js-controller v.3.3.15

      1 Antwort Letzte Antwort
      0
      • M Michi68

        Hallo,
        nimm für die Sprachausgabe ssml und nicht speak, speak unterstützt nur 240 oder 250 Zeichen.
        Die Abfrage habe ich so gemacht vielleicht hilft es dir weiter

        Wetterwarnung_DWD.png

        Gruß Michael

        smarthomegirlS Offline
        smarthomegirlS Offline
        smarthomegirl
        schrieb am zuletzt editiert von
        #10

        @Michi68 ok vielen Dank. Ich werde mich hier auch mal reindenken und dies auch ausprobieren.

        👍 Ich danke Euch im Voraus. 👍

        S Y S T E M:
        ioBroker Master auf Raspi 4 4Gb (FW raspbian-buster), node v.12.22.5, npm v.6.14.14, js-controller v.3.3.15

        1 Antwort Letzte Antwort
        0
        • smarthomegirlS smarthomegirl

          @thewhobox okay das habe ich jetzt mal versucht.
          Teil4.JPG

          smarthomegirlS Offline
          smarthomegirlS Offline
          smarthomegirl
          schrieb am zuletzt editiert von
          #11

          @smarthomegirl said in DWD Wetterwarnung als Ansage und Push-Nachricht:

          @thewhobox okay das habe ich jetzt mal versucht.
          Teil4.JPG

          @thewhobox Also das hat schon mal nicht funktioniert. Alexa sagt wieder nur "Achtung ... Unwetterwarnung" der Rest kommt nicht. Telegram hat allerdings funktioniert.

          @Michi68 Ich probiere mal deinen Vorschlag aus.

          👍 Ich danke Euch im Voraus. 👍

          S Y S T E M:
          ioBroker Master auf Raspi 4 4Gb (FW raspbian-buster), node v.12.22.5, npm v.6.14.14, js-controller v.3.3.15

          1 Antwort Letzte Antwort
          0
          • M Michi68

            Hallo,
            nimm für die Sprachausgabe ssml und nicht speak, speak unterstützt nur 240 oder 250 Zeichen.
            Die Abfrage habe ich so gemacht vielleicht hilft es dir weiter

            Wetterwarnung_DWD.png

            Gruß Michael

            smarthomegirlS Offline
            smarthomegirlS Offline
            smarthomegirl
            schrieb am zuletzt editiert von smarthomegirl
            #12

            @Michi68 said in DWD Wetterwarnung als Ansage und Push-Nachricht:

            Hallo,
            nimm für die Sprachausgabe ssml und nicht speak, speak unterstützt nur 240 oder 250 Zeichen.
            Die Abfrage habe ich so gemacht vielleicht hilft es dir weiter

            Wetterwarnung_DWD.png

            Gruß Michael

            @Michi68 Habe das jetzt so bei mir eingerichtet, aber das ssml funktioniert nicht. Muss ich da etwas eintragen? Brauch ich dazu einen Skill?

            👍 Ich danke Euch im Voraus. 👍

            S Y S T E M:
            ioBroker Master auf Raspi 4 4Gb (FW raspbian-buster), node v.12.22.5, npm v.6.14.14, js-controller v.3.3.15

            M 1 Antwort Letzte Antwort
            0
            • smarthomegirlS smarthomegirl

              @Michi68 said in DWD Wetterwarnung als Ansage und Push-Nachricht:

              Hallo,
              nimm für die Sprachausgabe ssml und nicht speak, speak unterstützt nur 240 oder 250 Zeichen.
              Die Abfrage habe ich so gemacht vielleicht hilft es dir weiter

              Wetterwarnung_DWD.png

              Gruß Michael

              @Michi68 Habe das jetzt so bei mir eingerichtet, aber das ssml funktioniert nicht. Muss ich da etwas eintragen? Brauch ich dazu einen Skill?

              M Offline
              M Offline
              Michi68
              schrieb am zuletzt editiert von
              #13

              @smarthomegirl
              Skill nein

              <speak><voice name="Alexa">

              Der eigentliche Text der ausgegeben werden soll

              </voice></speak>

              Hier mal das Blockly

              <xml xmlns="http://www.w3.org/1999/xhtml">
                <block type="comment" id="HK#;=bB#}Jr254%nZtu]" x="-2212" y="-1237">
                  <field name="COMMENT">Alexa, gibt es Wetterwarnungen</field>
                  <next>
                    <block type="control" id="@J7@ob/rsR9OCYN+!hI7">
                      <mutation delay_input="false"></mutation>
                      <field name="OID">alexa2.0.History.#trigger</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="oI]KS-#7{`Lh(W#]MB7C">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="7gE~=.}}QV+Yjv]ki]O?">
                          <field name="VAR">Anzahl</field>
                          <value name="VALUE">
                            <block type="math_number" id="TZo)0t`P~SrkY}t--m5m">
                              <field name="NUM">0</field>
                            </block>
                          </value>
                          <next>
                            <block type="controls_if" id="O;qn9,hsq1U:Zl{jbfM/">
                              <value name="IF0">
                                <block type="logic_compare" id="l(JvpQi,YLZ7irkN,Kqd">
                                  <field name="OP">NEQ</field>
                                  <value name="A">
                                    <block type="get_value" id="uy8#Ihybn4x_iYnIx+!2">
                                      <field name="ATTR">val</field>
                                      <field name="OID">dwd.0.warning.description</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="gkrRg!,*+hOz|C4CmEAu">
                                      <field name="NUM">0</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="math_change" id="MK#jjQoy-/Fv0{n#Zx_^">
                                  <field name="VAR">Anzahl</field>
                                  <value name="DELTA">
                                    <shadow type="math_number" id="n[Q8BD|%+3)(N2b%=/EQ">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="math_number" id="Mp8^N1_~INe?jveI(|/w">
                                      <field name="NUM">1</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="qpq*QHXCfc-5oIqo2~;9">
                                      <field name="VAR">Ausgabetext1</field>
                                      <value name="VALUE">
                                        <block type="text_join" id="lKx7fAhf`|[S]A,0F?ls">
                                          <mutation items="2"></mutation>
                                          <value name="ADD0">
                                            <block type="text" id="xC7U/03jqOh=2hMwE=D7">
                                              <field name="TEXT"> Wetterwarnung eins, </field>
                                            </block>
                                          </value>
                                          <value name="ADD1">
                                            <block type="get_value" id="}aCmugM2QKU?|sFA@nDW">
                                              <field name="ATTR">val</field>
                                              <field name="OID">dwd.0.warning.description</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                              <next>
                                <block type="controls_if" id="U3/`@|}^gU,b!Id^7:5l">
                                  <value name="IF0">
                                    <block type="logic_compare" id="61}U-~I+S+ZsU[l8;5@S">
                                      <field name="OP">NEQ</field>
                                      <value name="A">
                                        <block type="get_value" id="`.5#luI3ri0QOM?hAAfI">
                                          <field name="ATTR">val</field>
                                          <field name="OID">dwd.0.warning1.description</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="[gp%O{W}qo/Ia.yT!~x0">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="math_change" id="pADZ%Mg8:*{on[4_a5oD">
                                      <field name="VAR">Anzahl</field>
                                      <value name="DELTA">
                                        <shadow type="math_number" id="sZB:)Si~VR|]#W6q:dP1">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="math_number" id="zfj2PIE?asW{I-dO4,Hc">
                                          <field name="NUM">1</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="Cr.+=t#0]B.pC?35{!8P">
                                          <field name="VAR">Ausgabetext2</field>
                                          <value name="VALUE">
                                            <block type="text_join" id="Qg^~!n+TAXvU,z^LIIzW">
                                              <mutation items="2"></mutation>
                                              <value name="ADD0">
                                                <block type="text" id="Zm:_40I.q)``keG7=z?E">
                                                  <field name="TEXT"> und Wetterwarnung zwei, </field>
                                                </block>
                                              </value>
                                              <value name="ADD1">
                                                <block type="get_value" id="8UnCph?c@wHPdG[}5TbT">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">dwd.0.warning1.description</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="controls_if" id="Q5c41=0R_o8ww}0w,eBC">
                                      <value name="IF0">
                                        <block type="logic_compare" id="qMuOhPqk22whCHGfKV+3">
                                          <field name="OP">NEQ</field>
                                          <value name="A">
                                            <block type="get_value" id="?*aH2CJU7(:GFAT4@]BS">
                                              <field name="ATTR">val</field>
                                              <field name="OID">dwd.0.warning2.description</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="XWzbT[OWnqTnP~ISv!Ce">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="math_change" id="Li8;?MY9nSu9%B1_O,.}">
                                          <field name="VAR">Anzahl</field>
                                          <value name="DELTA">
                                            <shadow type="math_number" id="y`5cIcHU2D7DRw[V,=qG">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="math_number" id="Ug@tm(/|!weVrL}^SFgw">
                                              <field name="NUM">1</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="B,32mHH4v_q:JDs,_`4s">
                                              <field name="VAR">Ausgabetext3</field>
                                              <value name="VALUE">
                                                <block type="text_join" id="3.KZRH{SI;.U}oWssDnp">
                                                  <mutation items="2"></mutation>
                                                  <value name="ADD0">
                                                    <block type="text" id="iRyAq1j+;cH07b[8}0Zz">
                                                      <field name="TEXT"> und Wetterwarnung drei, </field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD1">
                                                    <block type="get_value" id="TO}%ROkQC9ZcKi!Id9yE">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">dwd.0.warning2.description</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="controls_if" id="g2hC=^@^6SRrbbyJC3zl">
                                          <mutation elseif="2"></mutation>
                                          <value name="IF0">
                                            <block type="logic_compare" id="=!Gf9!;u1P`p[OD^0_/1">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="variables_get" id=".5PqkJK5{WiujsrG@FY3">
                                                  <field name="VAR">Anzahl</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="B,oScd-c!q4J/=*iML9p">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="variables_set" id=".6oK=~uCEz.3T+?)5,{+">
                                              <field name="VAR">Warnungen</field>
                                              <value name="VALUE">
                                                <block type="text" id="zqIR~RWI{[Q_gup`6,lI">
                                                  <field name="TEXT">Es gibt eine Wetterwarnung, </field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                          <value name="IF1">
                                            <block type="logic_compare" id="tC7Jq572Qgs_H:Yf0kA:">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="variables_get" id="S2))dfTdZhHCFhE??VEq">
                                                  <field name="VAR">Anzahl</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="UC!zc]-uJbL+`YjiB|B}">
                                                  <field name="NUM">2</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO1">
                                            <block type="variables_set" id="}s/Ru#uZtplpDKB!FZXt">
                                              <field name="VAR">Warnungen</field>
                                              <value name="VALUE">
                                                <block type="text" id="9KpMW@[.#`j{7KXkntY)">
                                                  <field name="TEXT">Es gibt zwei Wetterwarnungen, </field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                          <value name="IF2">
                                            <block type="logic_compare" id="]AY@D^hGN-[*jF22NFBW">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="variables_get" id="rwgEfEI_`;mG453F^%mE">
                                                  <field name="VAR">Anzahl</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="lS(;CEW@=a?]+t/`}~Gu">
                                                  <field name="NUM">3</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO2">
                                            <block type="variables_set" id="J[5+z{)@7e]XInHC0bd0">
                                              <field name="VAR">Warnungen</field>
                                              <value name="VALUE">
                                                <block type="text" id=",ac*X@N6R!%oi:UvjdR:">
                                                  <field name="TEXT">Es gibt drei Wetterwarnungen, </field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="controls_if" id="^eRO5c#-~Mdn+Z%HZ342">
                                              <value name="IF0">
                                                <block type="logic_compare" id="GU(TOhJ@[y,Si4jmXu]u">
                                                  <field name="OP">NEQ</field>
                                                  <value name="A">
                                                    <block type="variables_get" id="-S]HiFq}E(Ey_6dK%Tm/">
                                                      <field name="VAR">Anzahl</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="aPy,(,u?:6y[*;t0WB`e">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="variables_set" id="V(?Lg9%P|F7TZI~5A*Wz">
                                                  <field name="VAR">Ausgabetext</field>
                                                  <value name="VALUE">
                                                    <block type="text_join" id="*`^ak)Kvj,-TwU`SO7%m">
                                                      <mutation items="6"></mutation>
                                                      <value name="ADD0">
                                                        <block type="text" id="M!FQ}3GY@Sz;vrngR~vG">
                                                          <field name="TEXT">&lt;speak&gt;&lt;voice name="Alexa"&gt;, </field>
                                                        </block>
                                                      </value>
                                                      <value name="ADD1">
                                                        <block type="variables_get" id="_lq{^4=p-`kfB1QR%tRL">
                                                          <field name="VAR">Warnungen</field>
                                                        </block>
                                                      </value>
                                                      <value name="ADD2">
                                                        <block type="variables_get" id="[YZcoEu[;/bxwN(;n:Ic">
                                                          <field name="VAR">Ausgabetext1</field>
                                                        </block>
                                                      </value>
                                                      <value name="ADD3">
                                                        <block type="variables_get" id="/?#Q,]4ng,VowIhl^#tC">
                                                          <field name="VAR">Ausgabetext2</field>
                                                        </block>
                                                      </value>
                                                      <value name="ADD4">
                                                        <block type="variables_get" id="-)2PB1}rS40V%lUu4KdI">
                                                          <field name="VAR">Ausgabetext3</field>
                                                        </block>
                                                      </value>
                                                      <value name="ADD5">
                                                        <block type="text" id="XXQ%]V.ldC4SJBcC+#Ac">
                                                          <field name="TEXT">&lt;/voice&gt;&lt;/speak&gt;</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="controls_if" id="vmXrdHkTBc;qI:1pXD?|">
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="+3XR79KHj8#2SUT3Opyi">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="variables_get" id="zJ2IJutYIO2R_hQ%5-5~">
                                                          <field name="VAR">Anzahl</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="(`FNTm*oXA/O~H};SNcV">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="variables_set" id="|B)sG8=^?cZUr~aYVVYh">
                                                      <field name="VAR">Ausgabetext</field>
                                                      <value name="VALUE">
                                                        <block type="text_join" id="(rW`y7M.~|R!KIkdRT]0">
                                                          <mutation items="3"></mutation>
                                                          <value name="ADD0">
                                                            <block type="text" id="IcvX-d^(E^jq{;(kI,FK">
                                                              <field name="TEXT">&lt;speak&gt;&lt;voice name="Alexa"&gt;</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD1">
                                                            <block type="text" id="XMF#O3=b6X=P;8ohPD(r">
                                                              <field name="TEXT">Im Moment gibt es keine Wetterwarnung</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD2">
                                                            <block type="text" id="{XC8V[JO0In[|Du;Z3gq">
                                                              <field name="TEXT">&lt;/voice&gt;&lt;/speak&gt;</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="timeouts_settimeout" id="^c,bQ)^![(HGz2QrWw/u">
                                                      <field name="NAME">timeout</field>
                                                      <field name="DELAY">500</field>
                                                      <field name="UNIT">ms</field>
                                                      <statement name="STATEMENT">
                                                        <block type="comment" id="MaSA+|t=/+(F~o`{=Mwy">
                                                          <field name="COMMENT">Wohnzimmer</field>
                                                          <next>
                                                            <block type="controls_if" id="=9urrah--.SS7){{qE`5">
                                                              <value name="IF0">
                                                                <block type="logic_compare" id="m5FiQ8M_KpZAS-KFgSJx">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="dRjkR(m*nwYK]G,)LtLM">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">alexa2.0.History.name</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="text" id="TvvV|O=?-Z@aWGZaHIw3">
                                                                      <field name="TEXT">Wohnzimmer</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="xX2}R?z4#wzm|.WHUSEZ">
                                                                  <mutation delay_input="false"></mutation>
                                                                  <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="variables_get" id="@dii.{6G2@h*F!(FV;%.">
                                                                      <field name="VAR">Ausgabetext</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="comment" id="djb+g-JXNY=BTwfN}jzr">
                                                                  <field name="COMMENT">Küche</field>
                                                                  <next>
                                                                    <block type="controls_if" id="r|PbUmaB+)xwW`pk!(Xx">
                                                                      <value name="IF0">
                                                                        <block type="logic_compare" id="QsJ~iUEGl.w*B{Jxt.pU">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block type="get_value" id="-iIC:0{xTee@numl^+L,">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">alexa2.0.History.name</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="text" id="R|MPyD@:qc2%XJFxt1E%">
                                                                              <field name="TEXT">Küche</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="control" id="^i;s9sGRB#7n0O%Mi+dL">
                                                                          <mutation delay_input="false"></mutation>
                                                                          <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="variables_get" id="GJZ,eA-fyYF*`4]mKDHt">
                                                                              <field name="VAR">Ausgabetext</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                      <next>
                                                                        <block type="comment" id="viVA{dT#v~Phr-sv~j/(">
                                                                          <field name="COMMENT">Schlafzimmer</field>
                                                                          <next>
                                                                            <block type="controls_if" id="?hM%,h5;60|Qqk/sBM.a">
                                                                              <value name="IF0">
                                                                                <block type="logic_compare" id="Ox9?XD!p*o*sy2X2_pY?">
                                                                                  <field name="OP">EQ</field>
                                                                                  <value name="A">
                                                                                    <block type="get_value" id="wjEFSBU?Yn{j[Yb7gcX[">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">alexa2.0.History.name</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="text" id="Z!wjG~y3lGO2QeT0dc#e">
                                                                                      <field name="TEXT">Schlafzimmer</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO0">
                                                                                <block type="control" id=":Ulye_Qvwo:/SU=U+Fl(">
                                                                                  <mutation delay_input="false"></mutation>
                                                                                  <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="variables_get" id="{J9Q5_;,ypErGbZ=@!;o">
                                                                                      <field name="VAR">Ausgabetext</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                              <next>
                                                                                <block type="comment" id="B)n1M8=W:dL7)sj-d*d_">
                                                                                  <field name="COMMENT">Badezimmer</field>
                                                                                  <next>
                                                                                    <block type="controls_if" id="OG`eImbu|^VdEpX+fQ)D">
                                                                                      <value name="IF0">
                                                                                        <block type="logic_compare" id="yYAbNUm{_Kcb#w-x=Eq2">
                                                                                          <field name="OP">EQ</field>
                                                                                          <value name="A">
                                                                                            <block type="get_value" id="Rz4,4gIXFjaVM~)5Ct)C">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">alexa2.0.History.name</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <block type="text" id="e:J::K4ic~#b%_9%UQ:#">
                                                                                              <field name="TEXT">Badezimmer</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <statement name="DO0">
                                                                                        <block type="control" id="3;?09te594!-hyH-whsx">
                                                                                          <mutation delay_input="false"></mutation>
                                                                                          <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="variables_get" id="RHc1e!8E/[.Iya7cC-,:">
                                                                                              <field name="VAR">Ausgabetext</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </statement>
                                                                                      <next>
                                                                                        <block type="comment" id="Ph^sVU=m^0j?V+zQX?ml">
                                                                                          <field name="COMMENT">Flur</field>
                                                                                          <next>
                                                                                            <block type="controls_if" id="P.8DY1Hi0-tIy{^D7wt7">
                                                                                              <value name="IF0">
                                                                                                <block type="logic_compare" id="4(~+EkNPQxNA6mtK0S}i">
                                                                                                  <field name="OP">EQ</field>
                                                                                                  <value name="A">
                                                                                                    <block type="get_value" id="iD(Sy*+8Cb*1hk)YC2vE">
                                                                                                      <field name="ATTR">val</field>
                                                                                                      <field name="OID">alexa2.0.History.name</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <block type="text" id="LQ4rbJ*bqR?D:yJ/2!;W">
                                                                                                      <field name="TEXT">Flur</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <statement name="DO0">
                                                                                                <block type="control" id="H}SVVYk3z44h.D(%ktE/">
                                                                                                  <mutation delay_input="false"></mutation>
                                                                                                  <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="variables_get" id="OLe/*aq7[P%J=G??u.f3">
                                                                                                      <field name="VAR">Ausgabetext</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </statement>
                                                                                              <next>
                                                                                                <block type="comment" id="4.?/fOtq.6=?SHaVlwa2">
                                                                                                  <field name="COMMENT">Gästezimmer</field>
                                                                                                  <next>
                                                                                                    <block type="controls_if" id="=LIQYwLYrY%RxjQW`SJ/">
                                                                                                      <value name="IF0">
                                                                                                        <block type="logic_compare" id="!R9},-95#2:{kFJH}QFy">
                                                                                                          <field name="OP">EQ</field>
                                                                                                          <value name="A">
                                                                                                            <block type="get_value" id="tlIvHW(#BDF~s+(Lca)}">
                                                                                                              <field name="ATTR">val</field>
                                                                                                              <field name="OID">alexa2.0.History.name</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <block type="text" id="{@*iMB^LkMr;oTmwX-bx">
                                                                                                              <field name="TEXT">Gästezimmer</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <statement name="DO0">
                                                                                                        <block type="control" id="n-r]}5rX4[P!Ycdtvz+v">
                                                                                                          <mutation delay_input="false"></mutation>
                                                                                                          <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                                          <value name="VALUE">
                                                                                                            <block type="variables_get" id="K3EVpi|zSTOZh?_G(91o">
                                                                                                              <field name="VAR">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>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </xml>
              

              ostseereiterO 1 Antwort Letzte Antwort
              0
              • M Michi68

                @smarthomegirl
                Skill nein

                <speak><voice name="Alexa">

                Der eigentliche Text der ausgegeben werden soll

                </voice></speak>

                Hier mal das Blockly

                <xml xmlns="http://www.w3.org/1999/xhtml">
                  <block type="comment" id="HK#;=bB#}Jr254%nZtu]" x="-2212" y="-1237">
                    <field name="COMMENT">Alexa, gibt es Wetterwarnungen</field>
                    <next>
                      <block type="control" id="@J7@ob/rsR9OCYN+!hI7">
                        <mutation delay_input="false"></mutation>
                        <field name="OID">alexa2.0.History.#trigger</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="oI]KS-#7{`Lh(W#]MB7C">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="7gE~=.}}QV+Yjv]ki]O?">
                            <field name="VAR">Anzahl</field>
                            <value name="VALUE">
                              <block type="math_number" id="TZo)0t`P~SrkY}t--m5m">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="O;qn9,hsq1U:Zl{jbfM/">
                                <value name="IF0">
                                  <block type="logic_compare" id="l(JvpQi,YLZ7irkN,Kqd">
                                    <field name="OP">NEQ</field>
                                    <value name="A">
                                      <block type="get_value" id="uy8#Ihybn4x_iYnIx+!2">
                                        <field name="ATTR">val</field>
                                        <field name="OID">dwd.0.warning.description</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="gkrRg!,*+hOz|C4CmEAu">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="math_change" id="MK#jjQoy-/Fv0{n#Zx_^">
                                    <field name="VAR">Anzahl</field>
                                    <value name="DELTA">
                                      <shadow type="math_number" id="n[Q8BD|%+3)(N2b%=/EQ">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="math_number" id="Mp8^N1_~INe?jveI(|/w">
                                        <field name="NUM">1</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="qpq*QHXCfc-5oIqo2~;9">
                                        <field name="VAR">Ausgabetext1</field>
                                        <value name="VALUE">
                                          <block type="text_join" id="lKx7fAhf`|[S]A,0F?ls">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="xC7U/03jqOh=2hMwE=D7">
                                                <field name="TEXT"> Wetterwarnung eins, </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="get_value" id="}aCmugM2QKU?|sFA@nDW">
                                                <field name="ATTR">val</field>
                                                <field name="OID">dwd.0.warning.description</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="U3/`@|}^gU,b!Id^7:5l">
                                    <value name="IF0">
                                      <block type="logic_compare" id="61}U-~I+S+ZsU[l8;5@S">
                                        <field name="OP">NEQ</field>
                                        <value name="A">
                                          <block type="get_value" id="`.5#luI3ri0QOM?hAAfI">
                                            <field name="ATTR">val</field>
                                            <field name="OID">dwd.0.warning1.description</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="[gp%O{W}qo/Ia.yT!~x0">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="math_change" id="pADZ%Mg8:*{on[4_a5oD">
                                        <field name="VAR">Anzahl</field>
                                        <value name="DELTA">
                                          <shadow type="math_number" id="sZB:)Si~VR|]#W6q:dP1">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="math_number" id="zfj2PIE?asW{I-dO4,Hc">
                                            <field name="NUM">1</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="Cr.+=t#0]B.pC?35{!8P">
                                            <field name="VAR">Ausgabetext2</field>
                                            <value name="VALUE">
                                              <block type="text_join" id="Qg^~!n+TAXvU,z^LIIzW">
                                                <mutation items="2"></mutation>
                                                <value name="ADD0">
                                                  <block type="text" id="Zm:_40I.q)``keG7=z?E">
                                                    <field name="TEXT"> und Wetterwarnung zwei, </field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="get_value" id="8UnCph?c@wHPdG[}5TbT">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">dwd.0.warning1.description</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="Q5c41=0R_o8ww}0w,eBC">
                                        <value name="IF0">
                                          <block type="logic_compare" id="qMuOhPqk22whCHGfKV+3">
                                            <field name="OP">NEQ</field>
                                            <value name="A">
                                              <block type="get_value" id="?*aH2CJU7(:GFAT4@]BS">
                                                <field name="ATTR">val</field>
                                                <field name="OID">dwd.0.warning2.description</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="XWzbT[OWnqTnP~ISv!Ce">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="math_change" id="Li8;?MY9nSu9%B1_O,.}">
                                            <field name="VAR">Anzahl</field>
                                            <value name="DELTA">
                                              <shadow type="math_number" id="y`5cIcHU2D7DRw[V,=qG">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="math_number" id="Ug@tm(/|!weVrL}^SFgw">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="B,32mHH4v_q:JDs,_`4s">
                                                <field name="VAR">Ausgabetext3</field>
                                                <value name="VALUE">
                                                  <block type="text_join" id="3.KZRH{SI;.U}oWssDnp">
                                                    <mutation items="2"></mutation>
                                                    <value name="ADD0">
                                                      <block type="text" id="iRyAq1j+;cH07b[8}0Zz">
                                                        <field name="TEXT"> und Wetterwarnung drei, </field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD1">
                                                      <block type="get_value" id="TO}%ROkQC9ZcKi!Id9yE">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">dwd.0.warning2.description</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="controls_if" id="g2hC=^@^6SRrbbyJC3zl">
                                            <mutation elseif="2"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="=!Gf9!;u1P`p[OD^0_/1">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id=".5PqkJK5{WiujsrG@FY3">
                                                    <field name="VAR">Anzahl</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="B,oScd-c!q4J/=*iML9p">
                                                    <field name="NUM">1</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="variables_set" id=".6oK=~uCEz.3T+?)5,{+">
                                                <field name="VAR">Warnungen</field>
                                                <value name="VALUE">
                                                  <block type="text" id="zqIR~RWI{[Q_gup`6,lI">
                                                    <field name="TEXT">Es gibt eine Wetterwarnung, </field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <value name="IF1">
                                              <block type="logic_compare" id="tC7Jq572Qgs_H:Yf0kA:">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="S2))dfTdZhHCFhE??VEq">
                                                    <field name="VAR">Anzahl</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="UC!zc]-uJbL+`YjiB|B}">
                                                    <field name="NUM">2</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO1">
                                              <block type="variables_set" id="}s/Ru#uZtplpDKB!FZXt">
                                                <field name="VAR">Warnungen</field>
                                                <value name="VALUE">
                                                  <block type="text" id="9KpMW@[.#`j{7KXkntY)">
                                                    <field name="TEXT">Es gibt zwei Wetterwarnungen, </field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <value name="IF2">
                                              <block type="logic_compare" id="]AY@D^hGN-[*jF22NFBW">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="rwgEfEI_`;mG453F^%mE">
                                                    <field name="VAR">Anzahl</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="lS(;CEW@=a?]+t/`}~Gu">
                                                    <field name="NUM">3</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO2">
                                              <block type="variables_set" id="J[5+z{)@7e]XInHC0bd0">
                                                <field name="VAR">Warnungen</field>
                                                <value name="VALUE">
                                                  <block type="text" id=",ac*X@N6R!%oi:UvjdR:">
                                                    <field name="TEXT">Es gibt drei Wetterwarnungen, </field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="controls_if" id="^eRO5c#-~Mdn+Z%HZ342">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="GU(TOhJ@[y,Si4jmXu]u">
                                                    <field name="OP">NEQ</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="-S]HiFq}E(Ey_6dK%Tm/">
                                                        <field name="VAR">Anzahl</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="aPy,(,u?:6y[*;t0WB`e">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="variables_set" id="V(?Lg9%P|F7TZI~5A*Wz">
                                                    <field name="VAR">Ausgabetext</field>
                                                    <value name="VALUE">
                                                      <block type="text_join" id="*`^ak)Kvj,-TwU`SO7%m">
                                                        <mutation items="6"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text" id="M!FQ}3GY@Sz;vrngR~vG">
                                                            <field name="TEXT">&lt;speak&gt;&lt;voice name="Alexa"&gt;, </field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD1">
                                                          <block type="variables_get" id="_lq{^4=p-`kfB1QR%tRL">
                                                            <field name="VAR">Warnungen</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD2">
                                                          <block type="variables_get" id="[YZcoEu[;/bxwN(;n:Ic">
                                                            <field name="VAR">Ausgabetext1</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD3">
                                                          <block type="variables_get" id="/?#Q,]4ng,VowIhl^#tC">
                                                            <field name="VAR">Ausgabetext2</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD4">
                                                          <block type="variables_get" id="-)2PB1}rS40V%lUu4KdI">
                                                            <field name="VAR">Ausgabetext3</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD5">
                                                          <block type="text" id="XXQ%]V.ldC4SJBcC+#Ac">
                                                            <field name="TEXT">&lt;/voice&gt;&lt;/speak&gt;</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="controls_if" id="vmXrdHkTBc;qI:1pXD?|">
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="+3XR79KHj8#2SUT3Opyi">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="zJ2IJutYIO2R_hQ%5-5~">
                                                            <field name="VAR">Anzahl</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="(`FNTm*oXA/O~H};SNcV">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="variables_set" id="|B)sG8=^?cZUr~aYVVYh">
                                                        <field name="VAR">Ausgabetext</field>
                                                        <value name="VALUE">
                                                          <block type="text_join" id="(rW`y7M.~|R!KIkdRT]0">
                                                            <mutation items="3"></mutation>
                                                            <value name="ADD0">
                                                              <block type="text" id="IcvX-d^(E^jq{;(kI,FK">
                                                                <field name="TEXT">&lt;speak&gt;&lt;voice name="Alexa"&gt;</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="text" id="XMF#O3=b6X=P;8ohPD(r">
                                                                <field name="TEXT">Im Moment gibt es keine Wetterwarnung</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD2">
                                                              <block type="text" id="{XC8V[JO0In[|Du;Z3gq">
                                                                <field name="TEXT">&lt;/voice&gt;&lt;/speak&gt;</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="timeouts_settimeout" id="^c,bQ)^![(HGz2QrWw/u">
                                                        <field name="NAME">timeout</field>
                                                        <field name="DELAY">500</field>
                                                        <field name="UNIT">ms</field>
                                                        <statement name="STATEMENT">
                                                          <block type="comment" id="MaSA+|t=/+(F~o`{=Mwy">
                                                            <field name="COMMENT">Wohnzimmer</field>
                                                            <next>
                                                              <block type="controls_if" id="=9urrah--.SS7){{qE`5">
                                                                <value name="IF0">
                                                                  <block type="logic_compare" id="m5FiQ8M_KpZAS-KFgSJx">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="get_value" id="dRjkR(m*nwYK]G,)LtLM">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">alexa2.0.History.name</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="text" id="TvvV|O=?-Z@aWGZaHIw3">
                                                                        <field name="TEXT">Wohnzimmer</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="control" id="xX2}R?z4#wzm|.WHUSEZ">
                                                                    <mutation delay_input="false"></mutation>
                                                                    <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="@dii.{6G2@h*F!(FV;%.">
                                                                        <field name="VAR">Ausgabetext</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </statement>
                                                                <next>
                                                                  <block type="comment" id="djb+g-JXNY=BTwfN}jzr">
                                                                    <field name="COMMENT">Küche</field>
                                                                    <next>
                                                                      <block type="controls_if" id="r|PbUmaB+)xwW`pk!(Xx">
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="QsJ~iUEGl.w*B{Jxt.pU">
                                                                            <field name="OP">EQ</field>
                                                                            <value name="A">
                                                                              <block type="get_value" id="-iIC:0{xTee@numl^+L,">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">alexa2.0.History.name</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="text" id="R|MPyD@:qc2%XJFxt1E%">
                                                                                <field name="TEXT">Küche</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="control" id="^i;s9sGRB#7n0O%Mi+dL">
                                                                            <mutation delay_input="false"></mutation>
                                                                            <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                            <value name="VALUE">
                                                                              <block type="variables_get" id="GJZ,eA-fyYF*`4]mKDHt">
                                                                                <field name="VAR">Ausgabetext</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="comment" id="viVA{dT#v~Phr-sv~j/(">
                                                                            <field name="COMMENT">Schlafzimmer</field>
                                                                            <next>
                                                                              <block type="controls_if" id="?hM%,h5;60|Qqk/sBM.a">
                                                                                <value name="IF0">
                                                                                  <block type="logic_compare" id="Ox9?XD!p*o*sy2X2_pY?">
                                                                                    <field name="OP">EQ</field>
                                                                                    <value name="A">
                                                                                      <block type="get_value" id="wjEFSBU?Yn{j[Yb7gcX[">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">alexa2.0.History.name</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="text" id="Z!wjG~y3lGO2QeT0dc#e">
                                                                                        <field name="TEXT">Schlafzimmer</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <statement name="DO0">
                                                                                  <block type="control" id=":Ulye_Qvwo:/SU=U+Fl(">
                                                                                    <mutation delay_input="false"></mutation>
                                                                                    <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="variables_get" id="{J9Q5_;,ypErGbZ=@!;o">
                                                                                        <field name="VAR">Ausgabetext</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </statement>
                                                                                <next>
                                                                                  <block type="comment" id="B)n1M8=W:dL7)sj-d*d_">
                                                                                    <field name="COMMENT">Badezimmer</field>
                                                                                    <next>
                                                                                      <block type="controls_if" id="OG`eImbu|^VdEpX+fQ)D">
                                                                                        <value name="IF0">
                                                                                          <block type="logic_compare" id="yYAbNUm{_Kcb#w-x=Eq2">
                                                                                            <field name="OP">EQ</field>
                                                                                            <value name="A">
                                                                                              <block type="get_value" id="Rz4,4gIXFjaVM~)5Ct)C">
                                                                                                <field name="ATTR">val</field>
                                                                                                <field name="OID">alexa2.0.History.name</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="text" id="e:J::K4ic~#b%_9%UQ:#">
                                                                                                <field name="TEXT">Badezimmer</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO0">
                                                                                          <block type="control" id="3;?09te594!-hyH-whsx">
                                                                                            <mutation delay_input="false"></mutation>
                                                                                            <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="variables_get" id="RHc1e!8E/[.Iya7cC-,:">
                                                                                                <field name="VAR">Ausgabetext</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </statement>
                                                                                        <next>
                                                                                          <block type="comment" id="Ph^sVU=m^0j?V+zQX?ml">
                                                                                            <field name="COMMENT">Flur</field>
                                                                                            <next>
                                                                                              <block type="controls_if" id="P.8DY1Hi0-tIy{^D7wt7">
                                                                                                <value name="IF0">
                                                                                                  <block type="logic_compare" id="4(~+EkNPQxNA6mtK0S}i">
                                                                                                    <field name="OP">EQ</field>
                                                                                                    <value name="A">
                                                                                                      <block type="get_value" id="iD(Sy*+8Cb*1hk)YC2vE">
                                                                                                        <field name="ATTR">val</field>
                                                                                                        <field name="OID">alexa2.0.History.name</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <block type="text" id="LQ4rbJ*bqR?D:yJ/2!;W">
                                                                                                        <field name="TEXT">Flur</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <statement name="DO0">
                                                                                                  <block type="control" id="H}SVVYk3z44h.D(%ktE/">
                                                                                                    <mutation delay_input="false"></mutation>
                                                                                                    <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                                    <value name="VALUE">
                                                                                                      <block type="variables_get" id="OLe/*aq7[P%J=G??u.f3">
                                                                                                        <field name="VAR">Ausgabetext</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </statement>
                                                                                                <next>
                                                                                                  <block type="comment" id="4.?/fOtq.6=?SHaVlwa2">
                                                                                                    <field name="COMMENT">Gästezimmer</field>
                                                                                                    <next>
                                                                                                      <block type="controls_if" id="=LIQYwLYrY%RxjQW`SJ/">
                                                                                                        <value name="IF0">
                                                                                                          <block type="logic_compare" id="!R9},-95#2:{kFJH}QFy">
                                                                                                            <field name="OP">EQ</field>
                                                                                                            <value name="A">
                                                                                                              <block type="get_value" id="tlIvHW(#BDF~s+(Lca)}">
                                                                                                                <field name="ATTR">val</field>
                                                                                                                <field name="OID">alexa2.0.History.name</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <value name="B">
                                                                                                              <block type="text" id="{@*iMB^LkMr;oTmwX-bx">
                                                                                                                <field name="TEXT">Gästezimmer</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <statement name="DO0">
                                                                                                          <block type="control" id="n-r]}5rX4[P!Ycdtvz+v">
                                                                                                            <mutation delay_input="false"></mutation>
                                                                                                            <field name="OID">alexa2.0.Echo-Devices.xxxxxxxxx.Commands.ssml</field>
                                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                                            <value name="VALUE">
                                                                                                              <block type="variables_get" id="K3EVpi|zSTOZh?_G(91o">
                                                                                                                <field name="VAR">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>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </xml>
                

                ostseereiterO Offline
                ostseereiterO Offline
                ostseereiter
                schrieb am zuletzt editiert von
                #14

                @Michi68
                Hallo ich habe dein Script mal übernommen. Im Log steht diese Warnung:

                javascript.0	2019-08-10 20:43:37.710	warn	at script.js.Probe.wetterwarnung:17:55
                javascript.0	2019-08-10 20:43:37.708	warn	getState "dwd.0.warning2.description" not found (3)
                javascript.0	2019-08-10 20:43:37.708	warn	at script.js.Probe.wetterwarnung:15:5
                javascript.0	2019-08-10 20:43:37.706	warn	getState "dwd.0.warning2.description" not found (3)
                javascript.0	2019-08-10 20:43:37.706	warn	at script.js.Probe.wetterwarnung:13:55
                javascript.0	2019-08-10 20:43:37.704	warn	getState "dwd.0.warning1.description" not found (3)
                javascript.0	2019-08-10 20:43:37.703	warn	at script.js.Probe.wetterwarnung:11:5
                javascript.0	2019-08-10 20:43:37.701	warn	getState "dwd.0.warning1.description" not found (3)
                

                Muss ich noch Datenpunkte erstellen?

                Gruß OSR

                Plattform
                Linux x64 CPUs2 AMD G-T56N Processor 1646 MHz 8GB RAM

                M 1 Antwort Letzte Antwort
                0
                • ostseereiterO ostseereiter

                  @Michi68
                  Hallo ich habe dein Script mal übernommen. Im Log steht diese Warnung:

                  javascript.0	2019-08-10 20:43:37.710	warn	at script.js.Probe.wetterwarnung:17:55
                  javascript.0	2019-08-10 20:43:37.708	warn	getState "dwd.0.warning2.description" not found (3)
                  javascript.0	2019-08-10 20:43:37.708	warn	at script.js.Probe.wetterwarnung:15:5
                  javascript.0	2019-08-10 20:43:37.706	warn	getState "dwd.0.warning2.description" not found (3)
                  javascript.0	2019-08-10 20:43:37.706	warn	at script.js.Probe.wetterwarnung:13:55
                  javascript.0	2019-08-10 20:43:37.704	warn	getState "dwd.0.warning1.description" not found (3)
                  javascript.0	2019-08-10 20:43:37.703	warn	at script.js.Probe.wetterwarnung:11:5
                  javascript.0	2019-08-10 20:43:37.701	warn	getState "dwd.0.warning1.description" not found (3)
                  

                  Muss ich noch Datenpunkte erstellen?

                  M Offline
                  M Offline
                  Michi68
                  schrieb am zuletzt editiert von
                  #15

                  @ostseereiter
                  Hallo,
                  Nein sind alles Datenpunkte von dwd.0
                  sieht für mich so aus als ob du dwd.0 wo anders installiert hast, oder das script die datenpunkte nicht findet.

                  ostseereiterO 1 Antwort Letzte Antwort
                  0
                  • M Michi68

                    @ostseereiter
                    Hallo,
                    Nein sind alles Datenpunkte von dwd.0
                    sieht für mich so aus als ob du dwd.0 wo anders installiert hast, oder das script die datenpunkte nicht findet.

                    ostseereiterO Offline
                    ostseereiterO Offline
                    ostseereiter
                    schrieb am zuletzt editiert von
                    #16

                    @Michi68
                    So sieht mein Baum aus
                    Screenshot (195).png

                    Gruß OSR

                    Plattform
                    Linux x64 CPUs2 AMD G-T56N Processor 1646 MHz 8GB RAM

                    1 Antwort Letzte Antwort
                    0
                    • ostseereiterO Offline
                      ostseereiterO Offline
                      ostseereiter
                      schrieb am zuletzt editiert von
                      #17

                      alles gut habe es gefunden ich habe in den Einstellungen die Wetterwarnungen auf 4 erhöht und nun werden die Datenpunkte gefunden. Danke

                      Gruß OSR

                      Plattform
                      Linux x64 CPUs2 AMD G-T56N Processor 1646 MHz 8GB RAM

                      1 Antwort Letzte Antwort
                      0
                      • M Michi68

                        Hallo,
                        nimm für die Sprachausgabe ssml und nicht speak, speak unterstützt nur 240 oder 250 Zeichen.
                        Die Abfrage habe ich so gemacht vielleicht hilft es dir weiter

                        Wetterwarnung_DWD.png

                        Gruß Michael

                        XxJooOX Offline
                        XxJooOX Offline
                        XxJooO
                        schrieb am zuletzt editiert von
                        #18

                        @Michi68 ,

                        Hallo,

                        ich habe dein Skript importiert und auf meine Alexen angepasst. Mit dem Alexa-Adapter fehlt mir aber noch die Erfahrung. Wie wird das Skript gestartet bzw. getriggert um es auszuführen? Ich verwende als Triggerwort nicht "Alexa ", sondern "Computer". Was muss ich denn nun genau sagen?

                        Grüße

                        ioBroker auf Intel NUC - Homematic CCU3/pivCCU auf Raspi 3B+

                        1 Antwort Letzte Antwort
                        0
                        • ostseereiterO Offline
                          ostseereiterO Offline
                          ostseereiter
                          schrieb am zuletzt editiert von
                          #19

                          Mir fehlt der Trigger auch noch irgendwie. Wenn ich frage Alexa gibt es Wetterwarnungen dann kommt der Wetterbericht.

                          Gruß OSR

                          Plattform
                          Linux x64 CPUs2 AMD G-T56N Processor 1646 MHz 8GB RAM

                          1 Antwort Letzte Antwort
                          0
                          • M Offline
                            M Offline
                            Michi68
                            schrieb am zuletzt editiert von
                            #20

                            Hallo,
                            in iot.0 oder cloud.0 ein neues Smart Gerät erstellen dabei das Script auswählen und in der Alexa app eine Routine erstellen die dann wiederum auf das Script zugreift.
                            Damit man nicht Alexa, Gib es Wetterwarnungen an, sagen muss

                            iot.png
                            routine.PNG
                            routine2.PNG

                            ostseereiterO XxJooOX 2 Antworten Letzte Antwort
                            2
                            • M Michi68

                              Hallo,
                              in iot.0 oder cloud.0 ein neues Smart Gerät erstellen dabei das Script auswählen und in der Alexa app eine Routine erstellen die dann wiederum auf das Script zugreift.
                              Damit man nicht Alexa, Gib es Wetterwarnungen an, sagen muss

                              iot.png
                              routine.PNG
                              routine2.PNG

                              ostseereiterO Offline
                              ostseereiterO Offline
                              ostseereiter
                              schrieb am zuletzt editiert von
                              #21

                              @Michi68
                              danke ich habe das über Node-Red eingebunden.Es funktioniert.

                              Gruß OSR

                              Plattform
                              Linux x64 CPUs2 AMD G-T56N Processor 1646 MHz 8GB RAM

                              1 Antwort Letzte Antwort
                              0
                              • XxJooOX Offline
                                XxJooOX Offline
                                XxJooO
                                schrieb am zuletzt editiert von XxJooO
                                #22

                                [edit] hat sich erledigt, war ein dummer Rechtschreibfehler...

                                Hallo zusammen,

                                vielen Dank an @Michi68, ich habe über iot ein Smartgerät angelegt und in der App die Routine erstellt. Wenn ich nun sage "Computer, gibt es Wetterwarnungen?", dann sehe ich im debug Teil des Skripte Fensters, dass das Skript getriggert wird, aber es erfolgt keine Ausgabe, weder auf dem Handy, noch über dan angesprochenen Dot3. Eine hinzugefügte Debug-Ausgabe bestätigt, dass die Meldung erzeugt wird.
                                Kann mir jemand sagen, wo ich suchen muss?

                                ioBroker auf Intel NUC - Homematic CCU3/pivCCU auf Raspi 3B+

                                1 Antwort Letzte Antwort
                                0
                                • smarthomegirlS Offline
                                  smarthomegirlS Offline
                                  smarthomegirl
                                  schrieb am zuletzt editiert von
                                  #23

                                  Hallo Ihr Lieben,

                                  leider funktioniert mein oben angesprochenes Skript immer noch nicht so wie es soll. Telegram Nachricht senden geht reibungslos, nur die Ansage via Alexa passt noch nicht ganz.

                                  Meine Vorstellung:
                                  Wenn es eine oder mehrere Wetterwarnungen des DWD gibt, dann soll Alexa eigenständig (ohne Nachfrage) diese Warnungen nacheinander ansagen und wenn sich die Warnungen verändern, dann soll die Änderung auch angesagt werden.

                                  Meine Probleme:
                                  1.) Wenn sich der Datenpunkt "warning severity" ändert/aktualisiert, sagt Alexa zwar die
                                  Warnung an, aber wiederholt die gleiche Warnung ständig sobald sich irgendetwas im
                                  Datenpunkt aktualisiert.
                                  2.) Ich habe festgelegt, dass maximal zwei Wetterwarnungen ausgegeben werden sollen.
                                  Alexa sagt jedesmal, wenn sich praktisch nur etwas unter "warning severity1" aktualisiert,
                                  dass es zwei Wetterwarnungen gebe und liest aber nur eine Warnung vor.

                                  Zur Vorstellung hier mal ein paar Bilder meines Skriptes:

                                  ff7d8fc8-ee0e-4cd3-86e9-701efa115fbb-image.png

                                  a3ff8132-9069-422c-af03-5534e04ffb71-image.png

                                  7e288603-d57d-4cce-9974-a0d46b7f80ba-image.png

                                  Kann mir bitte jemand helfen?
                                  Ich verzweifele langsam.

                                  👍 Ich danke Euch im Voraus. 👍

                                  S Y S T E M:
                                  ioBroker Master auf Raspi 4 4Gb (FW raspbian-buster), node v.12.22.5, npm v.6.14.14, js-controller v.3.3.15

                                  C 1 Antwort Letzte Antwort
                                  0
                                  • M Offline
                                    M Offline
                                    Michi68
                                    schrieb am zuletzt editiert von
                                    #24

                                    Hallo,
                                    probiere es mal so, hab ich aber nicht getestet

                                    dwd02.png

                                    Gruß Mmichael

                                    smarthomegirlS 1 Antwort Letzte Antwort
                                    0
                                    • M Michi68

                                      Hallo,
                                      probiere es mal so, hab ich aber nicht getestet

                                      dwd02.png

                                      Gruß Mmichael

                                      smarthomegirlS Offline
                                      smarthomegirlS Offline
                                      smarthomegirl
                                      schrieb am zuletzt editiert von
                                      #25

                                      @Michi68

                                      Ich habe nochmal etwas rumgebastelt und jetzt was anderes probiert (siehe unten). Soweit funktioniert alles, aber die erste Warnung wird zweimal angesagt und danach kommt erst die zweite Warnung.

                                      Was ist da falsch?

                                      b53cfe3a-5a0c-4428-b190-dd379c2055f9-image.png

                                      👍 Ich danke Euch im Voraus. 👍

                                      S Y S T E M:
                                      ioBroker Master auf Raspi 4 4Gb (FW raspbian-buster), node v.12.22.5, npm v.6.14.14, js-controller v.3.3.15

                                      1 Antwort Letzte Antwort
                                      0
                                      • M Offline
                                        M Offline
                                        Michi68
                                        schrieb am zuletzt editiert von
                                        #26

                                        Hallo,
                                        bei mir läuft es auch noch nicht so ganz rund, habe mich aber auch länger nicht damit auseinander gesetzt andere Sachen waren wichtiger und so immer wieder verschoben.

                                        Bau dir einen Counter ein der hochzählt wenn eine Ansage gemacht wurde und der erst wieder genullt wird wenn die Warnung zurückgesetzt wurde oder suche mal nach entprellen könnte auch gehen. Ich Teste jetzt auch mal wieder weiter.
                                        Wie man hier sieht auch noch nicht so richtig :grin:

                                        IMG_1034.PNG

                                        IMG_1035.PNG

                                        Gruß Michael

                                        smarthomegirlS 1 Antwort Letzte Antwort
                                        0
                                        • M Michi68

                                          Hallo,
                                          bei mir läuft es auch noch nicht so ganz rund, habe mich aber auch länger nicht damit auseinander gesetzt andere Sachen waren wichtiger und so immer wieder verschoben.

                                          Bau dir einen Counter ein der hochzählt wenn eine Ansage gemacht wurde und der erst wieder genullt wird wenn die Warnung zurückgesetzt wurde oder suche mal nach entprellen könnte auch gehen. Ich Teste jetzt auch mal wieder weiter.
                                          Wie man hier sieht auch noch nicht so richtig :grin:

                                          IMG_1034.PNG

                                          IMG_1035.PNG

                                          Gruß Michael

                                          smarthomegirlS Offline
                                          smarthomegirlS Offline
                                          smarthomegirl
                                          schrieb am zuletzt editiert von
                                          #27

                                          @Michi68

                                          okay, aber Alexa soll ja die Warnung nur einmal ansagen, es sei denn es würde sich etwas ändern.
                                          Wenn ich jetzt aber einen Counter einsetze dann sagt sie es doch erst recht ununterbrochen oder verstehe ich da jetzt etwas falsch?

                                          👍 Ich danke Euch im Voraus. 👍

                                          S Y S T E M:
                                          ioBroker Master auf Raspi 4 4Gb (FW raspbian-buster), node v.12.22.5, npm v.6.14.14, js-controller v.3.3.15

                                          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

                                          671

                                          Online

                                          32.6k

                                          Benutzer

                                          82.0k

                                          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