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. Blockly
  5. Hilfe bei request -> http Umstellung Sonos Sprachausgabe

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.7k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

Hilfe bei request -> http Umstellung Sonos Sprachausgabe

Geplant Angeheftet Gesperrt Verschoben Blockly
22 Beiträge 5 Kommentatoren 2.1k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • haus-automatisierungH haus-automatisierung

    @xbit Klar, habe ich überall ausführlich erklärt. Was fehlt dir?

    https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/upgrade-guide.md#request-to-httpget

    https://www.youtube.com/watch?v=dS6vkX6Mvjo

    Gibt ja auch sonst auch schon viele Threads mit Beispielen dazu.

    XBiTX Offline
    XBiTX Offline
    XBiT
    schrieb am zuletzt editiert von XBiT
    #3

    @haus-automatisierung

    ich bekomme nach Ablauf des Timeout folgenden Log Eintrag:

    Get

    javascript.0	16:33:21.108	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute istSonntag der 04.08.2024 es ist 16 Uhr 33, Die Außentemperatur beträgt 22,2°C /de-de, error=socket hang up)
    

    Post

    javascript.0	16:39:42.940	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpPost(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute istSonntag der 04.08.2024 es ist 16 Uhr 39, Die Außentemperatur beträgt 22,5°C /de-de, error=timeout of 10000ms exceeded)
    

    gebe ich die URL im Browser ein erfolgt die Sprachausgabe am Lautsprecher.

    T 1 Antwort Letzte Antwort
    0
    • XBiTX XBiT

      @haus-automatisierung

      ich bekomme nach Ablauf des Timeout folgenden Log Eintrag:

      Get

      javascript.0	16:33:21.108	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute istSonntag der 04.08.2024 es ist 16 Uhr 33, Die Außentemperatur beträgt 22,2°C /de-de, error=socket hang up)
      

      Post

      javascript.0	16:39:42.940	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpPost(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute istSonntag der 04.08.2024 es ist 16 Uhr 39, Die Außentemperatur beträgt 22,5°C /de-de, error=timeout of 10000ms exceeded)
      

      gebe ich die URL im Browser ein erfolgt die Sprachausgabe am Lautsprecher.

      T Offline
      T Offline
      TT-Tom
      schrieb am zuletzt editiert von
      #4

      @xbit

      Wie sieht denn das Blockly jetzt aus??

      Gruß Tom
      https://github.com/tt-tom17
      Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

      NSPanel Script Wiki
      https://github.com/joBr99/nspanel-lovelace-ui/wiki

      NSPanel Adapter Wiki
      https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

      XBiTX 1 Antwort Letzte Antwort
      0
      • T TT-Tom

        @xbit

        Wie sieht denn das Blockly jetzt aus??

        XBiTX Offline
        XBiTX Offline
        XBiT
        schrieb am zuletzt editiert von
        #5

        @tt-tom

        e99ce5de-50dd-4730-b603-0cd40b367f6c-image.png

        Code:

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable id=".Yvm,6)5C!N]^MT[`GAV">Datum</variable>
            <variable id=",i|ut(0wYas5^:/cgIlT">Stunde</variable>
            <variable id="Nao2zPy]Gh:tUN^{,?jw">Minute</variable>
            <variable id="^IgPDXdy#sa!2)?B34#b">Tag</variable>
            <variable id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</variable>
          </variables>
          <block type="procedures_defcustomreturn" id="$RIGDIe%Xa8Rr#p]Kq%," x="138" y="63">
            <mutation statements="false"></mutation>
            <field name="NAME">Aussentemp_umwandeln</field>
            <field name="SCRIPT">Y29uc3Qgc3RhdGVWYWwgPSBnZXRTdGF0ZSgnaG0tcnBjLjAuS0VRMDE3NDYxOS4xLlRFTVBFUkFUVVJFJykudmFsOw0KLy8gIGxvZyhzdGF0ZVZhbCk7DQogICAgICAgIHZhciBUZW1wID0gKHN0YXRlVmFsLnRvU3RyaW5nKCkucmVwbGFjZSgnLicsICcsJykpOw0KLy8gbG9nKFRlbXApOw0KcmV0dXJuIFRlbXA7</field>
            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          </block>
          <block type="on_ext" id="gU4C}VWBQ3v:IsY9!^eO" x="138" y="113">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="l[Aiw@P%D?w*wb)Kr`Y8">
                <field name="oid">default</field>
              </shadow>
              <block type="field_oid" id="I0@5sm#%2w{/4tS2ry_J">
                <field name="oid">0_userdata.0.Testbereich.Sprachausgabe_Sonos_Test</field>
              </block>
            </value>
            <statement name="STATEMENT">
              <block type="debug" id="i9|c$D|9`yTcHQJ3L6:J">
                <field name="Severity">info</field>
                <value name="TEXT">
                  <shadow type="text" id="q:d;A=~;Bbw3Y37=xU3{">
                    <field name="TEXT">test</field>
                  </shadow>
                  <block type="text" id="+3aqtKX3C6fD;`MS^zlj">
                    <field name="TEXT">Los Geht´s</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id=";toPl|v_k)-Tvh{jioUv">
                    <field name="VAR" id=".Yvm,6)5C!N]^MT[`GAV">Datum</field>
                    <value name="VALUE">
                      <block type="time_get" id="M5KC.YEQGB71]Rw^a|Ln">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                        <field name="OPTION">DD.MM.YYYY</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="s4(uxbY$dv=ll;b/Y7i1">
                        <field name="VAR" id=",i|ut(0wYas5^:/cgIlT">Stunde</field>
                        <value name="VALUE">
                          <block type="time_get" id="]jWUOQ-5r6){HrrA_iU4">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                            <field name="OPTION">h</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="``pe:#@W+O;]OS(;y9QP">
                            <field name="VAR" id="Nao2zPy]Gh:tUN^{,?jw">Minute</field>
                            <value name="VALUE">
                              <block type="time_get" id="/Bf#x=pCr%ei:n2?Bx73">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                <field name="OPTION">m</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="(Ky*8~7ISEs]7h$ah97n">
                                <field name="VAR" id="^IgPDXdy#sa!2)?B34#b">Tag</field>
                                <value name="VALUE">
                                  <block type="time_get" id="C/j?%}+vntB=cg^g|)kn">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="true"></mutation>
                                    <field name="OPTION">wdt</field>
                                    <field name="LANGUAGE">de</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="wM:Tpw:(q8(E?@Gh14PL">
                                    <field name="VAR" id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</field>
                                    <value name="VALUE">
                                      <block type="procedures_callcustomreturn" id="|x2g!an;a+E[m=xq21F7">
                                        <mutation name="Aussentemp_umwandeln"></mutation>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="comment" id="]2RJfLK5VNnHW|-LIuw(">
                                        <field name="COMMENT">Infoansage Morgens</field>
                                        <next>
                                          <block type="http_post" id="voR:kgZ5;u7kee=A^LfH">
                                            <field name="TIMEOUT">10</field>
                                            <field name="UNIT">sec</field>
                                            <field name="TYPE">text</field>
                                            <value name="URL">
                                              <shadow type="text" id="5H7)w3*?!jOQ_EbPxm++">
                                                <field name="TEXT">http://</field>
                                              </shadow>
                                              <block type="text_join" id="G+K/L1R:8z1exkQxdxP[">
                                                <mutation items="13"></mutation>
                                                <value name="ADD0">
                                                  <block type="text" id="+|8T_n|oBQ*FB0epO^]i">
                                                    <field name="TEXT">http://192.168.1.251:5005/K%C3%BCche/say/</field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="text" id="/b1#$O(Srgf`?usOT^cx">
                                                    <field name="TEXT">Guten Morgen, Heute ist</field>
                                                  </block>
                                                </value>
                                                <value name="ADD2">
                                                  <block type="variables_get" id="cYP}$.j)cSLchSN]#LDx">
                                                    <field name="VAR" id="^IgPDXdy#sa!2)?B34#b">Tag</field>
                                                  </block>
                                                </value>
                                                <value name="ADD3">
                                                  <block type="text" id="E*gE507Aq/r0=qrl~2_Q">
                                                    <field name="TEXT"> der </field>
                                                  </block>
                                                </value>
                                                <value name="ADD4">
                                                  <block type="variables_get" id="V6P-C-pa}SojJO=]KhLa">
                                                    <field name="VAR" id=".Yvm,6)5C!N]^MT[`GAV">Datum</field>
                                                  </block>
                                                </value>
                                                <value name="ADD5">
                                                  <block type="text" id="~wx9zhxp76eBE#UpcOo#">
                                                    <field name="TEXT"> es ist </field>
                                                  </block>
                                                </value>
                                                <value name="ADD6">
                                                  <block type="variables_get" id=",@24GC`!~}[shMtr[!w|">
                                                    <field name="VAR" id=",i|ut(0wYas5^:/cgIlT">Stunde</field>
                                                  </block>
                                                </value>
                                                <value name="ADD7">
                                                  <block type="text" id="}s}O!O%L8gTG4ajz_hG|">
                                                    <field name="TEXT"> Uhr </field>
                                                  </block>
                                                </value>
                                                <value name="ADD8">
                                                  <block type="variables_get" id="Rye9.PNb{1V/s${n*:B;">
                                                    <field name="VAR" id="Nao2zPy]Gh:tUN^{,?jw">Minute</field>
                                                  </block>
                                                </value>
                                                <value name="ADD9">
                                                  <block type="text" id="SerOxNp7CMWQ34lorOH9">
                                                    <field name="TEXT">, Die Außentemperatur beträgt </field>
                                                  </block>
                                                </value>
                                                <value name="ADD10">
                                                  <block type="variables_get" id="$n*K.5Ryc/)mjRz|!uri">
                                                    <field name="VAR" id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</field>
                                                  </block>
                                                </value>
                                                <value name="ADD11">
                                                  <block type="text" id="ES{U_ZoXBKp5p=|hJqQ1">
                                                    <field name="TEXT">°C </field>
                                                  </block>
                                                </value>
                                                <value name="ADD12">
                                                  <block type="text" id="5pr1s{0t$8Eun9.cQc=)">
                                                    <field name="TEXT">/de-de</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="DATA">
                                              <shadow type="logic_null" id="P#Y|JSu3e/YZGPw/05Yk"></shadow>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="debug" id="w*_%RYfi_x-/ZFvET*(t">
                                                <field name="Severity">info</field>
                                                <value name="TEXT">
                                                  <shadow type="text" id="W2tH`bcycYh08hb3UM1|">
                                                    <field name="TEXT">test</field>
                                                  </shadow>
                                                  <block type="http_response" id="s,Gd$|rx4wr[GT`t,J5O">
                                                    <field name="ATTR">response.statusCode</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="debug" id="Qv1,l${0#HBhRA^mVR.c">
                                                <field name="Severity">info</field>
                                                <value name="TEXT">
                                                  <shadow type="text" id="q:d;A=~;Bbw3Y37=xU3{">
                                                    <field name="TEXT">test</field>
                                                  </shadow>
                                                  <block type="text" id="HgkGqFbu-gZ@Vr?[Ol.2">
                                                    <field name="TEXT">Habe Fertig!</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </xml>
        

        KA ob es so richtig ist er soll ja nur die URL so aufrufen ich benötige kein Ergebnis von der URL.

        haus-automatisierungH 1 Antwort Letzte Antwort
        0
        • XBiTX XBiT

          @tt-tom

          e99ce5de-50dd-4730-b603-0cd40b367f6c-image.png

          Code:

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id=".Yvm,6)5C!N]^MT[`GAV">Datum</variable>
              <variable id=",i|ut(0wYas5^:/cgIlT">Stunde</variable>
              <variable id="Nao2zPy]Gh:tUN^{,?jw">Minute</variable>
              <variable id="^IgPDXdy#sa!2)?B34#b">Tag</variable>
              <variable id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</variable>
            </variables>
            <block type="procedures_defcustomreturn" id="$RIGDIe%Xa8Rr#p]Kq%," x="138" y="63">
              <mutation statements="false"></mutation>
              <field name="NAME">Aussentemp_umwandeln</field>
              <field name="SCRIPT">Y29uc3Qgc3RhdGVWYWwgPSBnZXRTdGF0ZSgnaG0tcnBjLjAuS0VRMDE3NDYxOS4xLlRFTVBFUkFUVVJFJykudmFsOw0KLy8gIGxvZyhzdGF0ZVZhbCk7DQogICAgICAgIHZhciBUZW1wID0gKHN0YXRlVmFsLnRvU3RyaW5nKCkucmVwbGFjZSgnLicsICcsJykpOw0KLy8gbG9nKFRlbXApOw0KcmV0dXJuIFRlbXA7</field>
              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
            </block>
            <block type="on_ext" id="gU4C}VWBQ3v:IsY9!^eO" x="138" y="113">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="l[Aiw@P%D?w*wb)Kr`Y8">
                  <field name="oid">default</field>
                </shadow>
                <block type="field_oid" id="I0@5sm#%2w{/4tS2ry_J">
                  <field name="oid">0_userdata.0.Testbereich.Sprachausgabe_Sonos_Test</field>
                </block>
              </value>
              <statement name="STATEMENT">
                <block type="debug" id="i9|c$D|9`yTcHQJ3L6:J">
                  <field name="Severity">info</field>
                  <value name="TEXT">
                    <shadow type="text" id="q:d;A=~;Bbw3Y37=xU3{">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="text" id="+3aqtKX3C6fD;`MS^zlj">
                      <field name="TEXT">Los Geht´s</field>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id=";toPl|v_k)-Tvh{jioUv">
                      <field name="VAR" id=".Yvm,6)5C!N]^MT[`GAV">Datum</field>
                      <value name="VALUE">
                        <block type="time_get" id="M5KC.YEQGB71]Rw^a|Ln">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                          <field name="OPTION">DD.MM.YYYY</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="s4(uxbY$dv=ll;b/Y7i1">
                          <field name="VAR" id=",i|ut(0wYas5^:/cgIlT">Stunde</field>
                          <value name="VALUE">
                            <block type="time_get" id="]jWUOQ-5r6){HrrA_iU4">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                              <field name="OPTION">h</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="``pe:#@W+O;]OS(;y9QP">
                              <field name="VAR" id="Nao2zPy]Gh:tUN^{,?jw">Minute</field>
                              <value name="VALUE">
                                <block type="time_get" id="/Bf#x=pCr%ei:n2?Bx73">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                  <field name="OPTION">m</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="(Ky*8~7ISEs]7h$ah97n">
                                  <field name="VAR" id="^IgPDXdy#sa!2)?B34#b">Tag</field>
                                  <value name="VALUE">
                                    <block type="time_get" id="C/j?%}+vntB=cg^g|)kn">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="true"></mutation>
                                      <field name="OPTION">wdt</field>
                                      <field name="LANGUAGE">de</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="wM:Tpw:(q8(E?@Gh14PL">
                                      <field name="VAR" id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</field>
                                      <value name="VALUE">
                                        <block type="procedures_callcustomreturn" id="|x2g!an;a+E[m=xq21F7">
                                          <mutation name="Aussentemp_umwandeln"></mutation>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="comment" id="]2RJfLK5VNnHW|-LIuw(">
                                          <field name="COMMENT">Infoansage Morgens</field>
                                          <next>
                                            <block type="http_post" id="voR:kgZ5;u7kee=A^LfH">
                                              <field name="TIMEOUT">10</field>
                                              <field name="UNIT">sec</field>
                                              <field name="TYPE">text</field>
                                              <value name="URL">
                                                <shadow type="text" id="5H7)w3*?!jOQ_EbPxm++">
                                                  <field name="TEXT">http://</field>
                                                </shadow>
                                                <block type="text_join" id="G+K/L1R:8z1exkQxdxP[">
                                                  <mutation items="13"></mutation>
                                                  <value name="ADD0">
                                                    <block type="text" id="+|8T_n|oBQ*FB0epO^]i">
                                                      <field name="TEXT">http://192.168.1.251:5005/K%C3%BCche/say/</field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD1">
                                                    <block type="text" id="/b1#$O(Srgf`?usOT^cx">
                                                      <field name="TEXT">Guten Morgen, Heute ist</field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD2">
                                                    <block type="variables_get" id="cYP}$.j)cSLchSN]#LDx">
                                                      <field name="VAR" id="^IgPDXdy#sa!2)?B34#b">Tag</field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD3">
                                                    <block type="text" id="E*gE507Aq/r0=qrl~2_Q">
                                                      <field name="TEXT"> der </field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD4">
                                                    <block type="variables_get" id="V6P-C-pa}SojJO=]KhLa">
                                                      <field name="VAR" id=".Yvm,6)5C!N]^MT[`GAV">Datum</field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD5">
                                                    <block type="text" id="~wx9zhxp76eBE#UpcOo#">
                                                      <field name="TEXT"> es ist </field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD6">
                                                    <block type="variables_get" id=",@24GC`!~}[shMtr[!w|">
                                                      <field name="VAR" id=",i|ut(0wYas5^:/cgIlT">Stunde</field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD7">
                                                    <block type="text" id="}s}O!O%L8gTG4ajz_hG|">
                                                      <field name="TEXT"> Uhr </field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD8">
                                                    <block type="variables_get" id="Rye9.PNb{1V/s${n*:B;">
                                                      <field name="VAR" id="Nao2zPy]Gh:tUN^{,?jw">Minute</field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD9">
                                                    <block type="text" id="SerOxNp7CMWQ34lorOH9">
                                                      <field name="TEXT">, Die Außentemperatur beträgt </field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD10">
                                                    <block type="variables_get" id="$n*K.5Ryc/)mjRz|!uri">
                                                      <field name="VAR" id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD11">
                                                    <block type="text" id="ES{U_ZoXBKp5p=|hJqQ1">
                                                      <field name="TEXT">°C </field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD12">
                                                    <block type="text" id="5pr1s{0t$8Eun9.cQc=)">
                                                      <field name="TEXT">/de-de</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="DATA">
                                                <shadow type="logic_null" id="P#Y|JSu3e/YZGPw/05Yk"></shadow>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="debug" id="w*_%RYfi_x-/ZFvET*(t">
                                                  <field name="Severity">info</field>
                                                  <value name="TEXT">
                                                    <shadow type="text" id="W2tH`bcycYh08hb3UM1|">
                                                      <field name="TEXT">test</field>
                                                    </shadow>
                                                    <block type="http_response" id="s,Gd$|rx4wr[GT`t,J5O">
                                                      <field name="ATTR">response.statusCode</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="debug" id="Qv1,l${0#HBhRA^mVR.c">
                                                  <field name="Severity">info</field>
                                                  <value name="TEXT">
                                                    <shadow type="text" id="q:d;A=~;Bbw3Y37=xU3{">
                                                      <field name="TEXT">test</field>
                                                    </shadow>
                                                    <block type="text" id="HgkGqFbu-gZ@Vr?[Ol.2">
                                                      <field name="TEXT">Habe Fertig!</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </xml>
          

          KA ob es so richtig ist er soll ja nur die URL so aufrufen ich benötige kein Ergebnis von der URL.

          haus-automatisierungH Online
          haus-automatisierungH Online
          haus-automatisierung
          Developer Most Active
          schrieb am zuletzt editiert von
          #6

          @xbit Warum nimmst Du POST? Vorher war es doch auch ein GET-Request

          🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
          🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
          📚 Meine inoffizielle ioBroker Dokumentation

          T XBiTX 2 Antworten Letzte Antwort
          0
          • haus-automatisierungH haus-automatisierung

            @xbit Warum nimmst Du POST? Vorher war es doch auch ein GET-Request

            T Offline
            T Offline
            TT-Tom
            schrieb am zuletzt editiert von
            #7

            @haus-automatisierung
            Hat auch ein Fehler gemeldet.

            
            javascript.0 16:33:21.108 error script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute istSonntag der 04.08.2024 es ist 16 Uhr 33, Die Außentemperatur beträgt 22,2°C /de-de, error=socket hang up)
            
            

            Vermutlich falsch konfiguriert

            Gruß Tom
            https://github.com/tt-tom17
            Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

            NSPanel Script Wiki
            https://github.com/joBr99/nspanel-lovelace-ui/wiki

            NSPanel Adapter Wiki
            https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

            1 Antwort Letzte Antwort
            0
            • haus-automatisierungH haus-automatisierung

              @xbit Warum nimmst Du POST? Vorher war es doch auch ein GET-Request

              XBiTX Offline
              XBiTX Offline
              XBiT
              schrieb am zuletzt editiert von
              #8

              @haus-automatisierung

              Weil ich getestet habe woran es liegt...

              Habe es gefunden... die URL wird nicht aufgerufen sobald man "erstelle Text aus" verwendet.

              Wird alles in einer Textzeile ohne Variable mit http-Get Baustein gemacht kommt auch die Ansage.

              Ich benötige aber die Variablen...

              haus-automatisierungH 1 Antwort Letzte Antwort
              0
              • XBiTX XBiT

                @haus-automatisierung

                Weil ich getestet habe woran es liegt...

                Habe es gefunden... die URL wird nicht aufgerufen sobald man "erstelle Text aus" verwendet.

                Wird alles in einer Textzeile ohne Variable mit http-Get Baustein gemacht kommt auch die Ansage.

                Ich benötige aber die Variablen...

                haus-automatisierungH Online
                haus-automatisierungH Online
                haus-automatisierung
                Developer Most Active
                schrieb am zuletzt editiert von haus-automatisierung
                #9

                @xbit Das ergibt technisch aber keinen Sinn, weil der Code von innen nach außen aufgelöst wird. Der httpGet Block weiß also nichtmal dass der Text aus einzelnen Bestandteilen zusammengesetzt wurde.

                Eventuell liegt es an einem fehlenden urlEncoding. Kann sein dass das alte request Paket das automatisch gemacht hat. Müsste ich in Ruhe testen.

                Aber dann dürfte es auch nicht gehen, wenn der gleiche String als Url direkt genutzt wird

                🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
                🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
                📚 Meine inoffizielle ioBroker Dokumentation

                XBiTX 1 Antwort Letzte Antwort
                0
                • haus-automatisierungH haus-automatisierung

                  @xbit Das ergibt technisch aber keinen Sinn, weil der Code von innen nach außen aufgelöst wird. Der httpGet Block weiß also nichtmal dass der Text aus einzelnen Bestandteilen zusammengesetzt wurde.

                  Eventuell liegt es an einem fehlenden urlEncoding. Kann sein dass das alte request Paket das automatisch gemacht hat. Müsste ich in Ruhe testen.

                  Aber dann dürfte es auch nicht gehen, wenn der gleiche String als Url direkt genutzt wird

                  XBiTX Offline
                  XBiTX Offline
                  XBiT
                  schrieb am zuletzt editiert von XBiT
                  #10

                  @haus-automatisierung

                  Blockly in JS ohne "erstelle Text aus"

                    // Infoansage Morgens
                    httpGet('http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute istSonntag der 04.08.2024 es ist 16 Uhr 39, Die Außentemperatur beträgt 22,5°C /de-de', { timeout: 20000, responseType: 'text' }, async (err, response) => {
                      console.info(err);
                    });
                  

                  Blockly in JS mit "erstelle Text aus"

                    // Infoansage Morgens
                    httpGet((['http://192.168.1.251:5005/K%C3%BCche/say/','Guten Morgen Heute ist','Sonntag',' der ','04.08.2024',' es ist ','16',' Uhr ','39',' Die Außentemperatur beträgt ','22,5','°C','/de-de'].join('')), { timeout: 20000, responseType: 'text' }, async (err, response) => {
                      console.info(err);
                    });
                  
                  paul53P 1 Antwort Letzte Antwort
                  0
                  • XBiTX XBiT

                    @haus-automatisierung

                    Blockly in JS ohne "erstelle Text aus"

                      // Infoansage Morgens
                      httpGet('http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute istSonntag der 04.08.2024 es ist 16 Uhr 39, Die Außentemperatur beträgt 22,5°C /de-de', { timeout: 20000, responseType: 'text' }, async (err, response) => {
                        console.info(err);
                      });
                    

                    Blockly in JS mit "erstelle Text aus"

                      // Infoansage Morgens
                      httpGet((['http://192.168.1.251:5005/K%C3%BCche/say/','Guten Morgen Heute ist','Sonntag',' der ','04.08.2024',' es ist ','16',' Uhr ','39',' Die Außentemperatur beträgt ','22,5','°C','/de-de'].join('')), { timeout: 20000, responseType: 'text' }, async (err, response) => {
                        console.info(err);
                      });
                    
                    paul53P Offline
                    paul53P Offline
                    paul53
                    schrieb am zuletzt editiert von paul53
                    #11

                    @xbit sagte: Blockly in JS mit "erstelle Text aus"

                    Da kommt der gleiche Text raus (ohne die zwei Kommata).
                    EDIT: Erstelle mal die URL mit Textzusammensetzung in eine Variable und übergebe die Variable an httpGet().

                    Blockly_temp.JPG

                    @haus-automatisierung
                    Kann es sein, dass httpGet() die zusätzliche runde Klammer stört?

                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                    XBiTX 1 Antwort Letzte Antwort
                    0
                    • paul53P paul53

                      @xbit sagte: Blockly in JS mit "erstelle Text aus"

                      Da kommt der gleiche Text raus (ohne die zwei Kommata).
                      EDIT: Erstelle mal die URL mit Textzusammensetzung in eine Variable und übergebe die Variable an httpGet().

                      Blockly_temp.JPG

                      @haus-automatisierung
                      Kann es sein, dass httpGet() die zusätzliche runde Klammer stört?

                      XBiTX Offline
                      XBiTX Offline
                      XBiT
                      schrieb am zuletzt editiert von XBiT
                      #12

                      @paul53

                      danke @paul53 habe ich auch schon gemacht.

                      es geht dann ein mal danach wieder nicht starte ich das Script ein paar mal neu geht es wieder 1 mal... jedoch kommt die Sprachausgabe immer 2 mal hintereinander.

                      6977cbce-20f7-4256-9f77-e8b03f8cc3cf-image.png

                      Log:

                      javascript.0	19:06:42.995	info	Stopping script script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test
                      javascript.0	19:06:43.041	info	Start JavaScript script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test (Blockly)
                      javascript.0	19:06:43.044	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 6 ,Die Außentemperatur beträgt 21,5 °C/de-de
                      javascript.0	19:06:43.045	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                      javascript.0	19:07:09.859	info	Stopping script script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test
                      javascript.0	19:07:09.906	info	Start JavaScript script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test (Blockly)
                      javascript.0	19:07:09.914	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 7 ,Die Außentemperatur beträgt 21,5 °C/de-de
                      javascript.0	19:07:09.916	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                      javascript.0	19:07:11.063	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 7 ,Die Außentemperatur beträgt 21,5 °C/de-de, error=socket hang up)
                      javascript.0	19:07:15.799	info	Stopping script script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test
                      javascript.0	19:07:15.848	info	Start JavaScript script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test (Blockly)
                      javascript.0	19:07:15.851	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 7 ,Die Außentemperatur beträgt 21,5 °C/de-de
                      javascript.0	19:07:15.852	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                      javascript.0	19:07:15.853	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 7 ,Die Außentemperatur beträgt 21,5 °C/de-de, error=connect ECONNREFUSED 192.168.1.251:5005)
                      javascript.0	19:07:20.967	info	Stopping script script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test
                      javascript.0	19:07:21.014	info	Start JavaScript script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test (Blockly)
                      javascript.0	19:07:21.022	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 7 ,Die Außentemperatur beträgt 21,5 °C/de-de
                      javascript.0	19:07:21.024	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                      javascript.0	19:07:21.025	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 7 ,Die Außentemperatur beträgt 21,5 °C/de-de, error=connect ECONNREFUSED 192.168.1.251:5005)
                      javascript.0	19:07:26.840	info	Stopping script script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test
                      javascript.0	19:07:26.936	info	Start JavaScript script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test (Blockly)
                      javascript.0	19:07:26.939	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 7 ,Die Außentemperatur beträgt 21,5 °C/de-de
                      javascript.0	19:07:26.940	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                      javascript.0	19:08:07.100	info	Stopping script script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test
                      javascript.0	19:08:07.238	info	Start JavaScript script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test (Blockly)
                      javascript.0	19:08:07.248	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 8 ,Die Außentemperatur beträgt 21,5 °C/de-de
                      javascript.0	19:08:07.249	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                      javascript.0	19:08:08.574	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 8 ,Die Außentemperatur beträgt 21,5 °C/de-de, error=socket hang up)
                      javascript.0	19:08:18.406	info	Stopping script script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test
                      javascript.0	19:08:18.496	info	Start JavaScript script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test (Blockly)
                      javascript.0	19:08:18.499	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 8 ,Die Außentemperatur beträgt 21,5 °C/de-de
                      javascript.0	19:08:18.500	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                      javascript.0	19:08:18.502	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 8 ,Die Außentemperatur beträgt 21,5 °C/de-de, error=connect ECONNREFUSED 192.168.1.251:5005)
                      javascript.0	19:08:20.327	info	Stopping script script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test
                      javascript.0	19:08:20.482	info	Start JavaScript script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test (Blockly)
                      javascript.0	19:08:20.485	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist Sonntag der 04.08.2024 es ist 19 Uhr 8 ,Die Außentemperatur beträgt 21,5 °C/de-de
                      javascript.0	19:08:20.486	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                      

                      da wo der error fehlt geht es (halt 2x hintereinander)

                      1 Antwort Letzte Antwort
                      0
                      • XBiTX Offline
                        XBiTX Offline
                        XBiT
                        schrieb am zuletzt editiert von XBiT
                        #13

                        Da ich immer noch an einer Lösung suche...

                        Kann es sein, dass der Timeout nicht lang genug wartet?
                        Ich habe 200ms und auch 500ms eingestellt bekomme aber nach 1ms die Meldung das die 500ms überschritten sind.

                        Habe für diesen Text das Blockly wie folgt aufgebaut:

                        851ec6c1-350e-4b96-a870-138b65b7a88e-image.png

                        Log:

                        javascript.0	20:06:57.237	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist /de-de, error=timeout of 200ms exceeded)
                        javascript.0	20:06:57.237	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Status Code: null
                        javascript.0	20:06:57.237	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Antwortzeit: undefined
                        javascript.0	20:06:57.237	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: response headers: [object Object]
                        javascript.0	20:06:57.237	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Fehlermeldung: timeout of 200ms exceeded
                        javascript.0	20:07:11.688	info	Stopping script script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test
                        javascript.0	20:07:11.791	info	Start JavaScript script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test (Blockly)
                        javascript.0	20:07:11.801	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                        javascript.0	20:07:12.301	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist /de-de, error=timeout of 500ms exceeded)
                        javascript.0	20:07:12.302	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Status Code: null
                        javascript.0	20:07:12.302	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Antwortzeit: undefined
                        javascript.0	20:07:12.302	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: response headers: [object Object]
                        javascript.0	20:07:12.302	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Fehlermeldung: timeout of 500ms exceeded
                        

                        Irgendwie ist immer eine andere Meldung....

                        haus-automatisierungH 1 Antwort Letzte Antwort
                        0
                        • XBiTX XBiT

                          Da ich immer noch an einer Lösung suche...

                          Kann es sein, dass der Timeout nicht lang genug wartet?
                          Ich habe 200ms und auch 500ms eingestellt bekomme aber nach 1ms die Meldung das die 500ms überschritten sind.

                          Habe für diesen Text das Blockly wie folgt aufgebaut:

                          851ec6c1-350e-4b96-a870-138b65b7a88e-image.png

                          Log:

                          javascript.0	20:06:57.237	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist /de-de, error=timeout of 200ms exceeded)
                          javascript.0	20:06:57.237	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Status Code: null
                          javascript.0	20:06:57.237	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Antwortzeit: undefined
                          javascript.0	20:06:57.237	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: response headers: [object Object]
                          javascript.0	20:06:57.237	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Fehlermeldung: timeout of 200ms exceeded
                          javascript.0	20:07:11.688	info	Stopping script script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test
                          javascript.0	20:07:11.791	info	Start JavaScript script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test (Blockly)
                          javascript.0	20:07:11.801	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                          javascript.0	20:07:12.301	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist /de-de, error=timeout of 500ms exceeded)
                          javascript.0	20:07:12.302	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Status Code: null
                          javascript.0	20:07:12.302	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Antwortzeit: undefined
                          javascript.0	20:07:12.302	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: response headers: [object Object]
                          javascript.0	20:07:12.302	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: Fehlermeldung: timeout of 500ms exceeded
                          

                          Irgendwie ist immer eine andere Meldung....

                          haus-automatisierungH Online
                          haus-automatisierungH Online
                          haus-automatisierung
                          Developer Most Active
                          schrieb am zuletzt editiert von
                          #14

                          @xbit Kannst Du mal die Leerzeichen mit %20 ersetzen?

                          http://192.168.1.251:5005/K%C3%BCche/say/Guten%20Morgen%2C%20Heute%20ist%20/de-de
                          

                          Klappt es dann?

                          🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
                          🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
                          📚 Meine inoffizielle ioBroker Dokumentation

                          XBiTX 1 Antwort Letzte Antwort
                          0
                          • haus-automatisierungH haus-automatisierung

                            @xbit Kannst Du mal die Leerzeichen mit %20 ersetzen?

                            http://192.168.1.251:5005/K%C3%BCche/say/Guten%20Morgen%2C%20Heute%20ist%20/de-de
                            

                            Klappt es dann?

                            XBiTX Offline
                            XBiTX Offline
                            XBiT
                            schrieb am zuletzt editiert von
                            #15

                            @haus-automatisierung

                            geht leider auch nicht.

                            Ich muss aber dazu sagten das trotz der Fehlermeldung mit der Zeitüberschreitung der Text abgespielt wird.
                            aber wenn der Text länger wird klappt es nicht mehr.
                            Ich habe auch schon alle Sonderzeichen raus gemacht auch ohne Erfolg.

                            haus-automatisierungH 1 Antwort Letzte Antwort
                            0
                            • XBiTX XBiT

                              @haus-automatisierung

                              geht leider auch nicht.

                              Ich muss aber dazu sagten das trotz der Fehlermeldung mit der Zeitüberschreitung der Text abgespielt wird.
                              aber wenn der Text länger wird klappt es nicht mehr.
                              Ich habe auch schon alle Sonderzeichen raus gemacht auch ohne Erfolg.

                              haus-automatisierungH Online
                              haus-automatisierungH Online
                              haus-automatisierung
                              Developer Most Active
                              schrieb am zuletzt editiert von
                              #16

                              @xbit Hab es gerade mal getestet und bekomme keinen Fehler. Timeout 5 Sek.

                              Screenshot 2024-08-04 at 20.46.46.png

                              🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
                              🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
                              📚 Meine inoffizielle ioBroker Dokumentation

                              XBiTX 1 Antwort Letzte Antwort
                              0
                              • haus-automatisierungH haus-automatisierung

                                @xbit Hab es gerade mal getestet und bekomme keinen Fehler. Timeout 5 Sek.

                                Screenshot 2024-08-04 at 20.46.46.png

                                XBiTX Offline
                                XBiTX Offline
                                XBiT
                                schrieb am zuletzt editiert von XBiT
                                #17

                                @haus-automatisierung

                                ich mit 5 sec auch nicht aber wenn das Script um 20:06:57.237 Startet und die Fehlermeldung 20:06:57.237 kommt das 200ms überschritten sind kann doch was nicht stimmen oder?

                                aber wenn du auch Sonos hast und die http-api kannst du da nicht mal das Blockly bei dir testen?

                                haus-automatisierungH 1 Antwort Letzte Antwort
                                0
                                • XBiTX XBiT

                                  @haus-automatisierung

                                  ich mit 5 sec auch nicht aber wenn das Script um 20:06:57.237 Startet und die Fehlermeldung 20:06:57.237 kommt das 200ms überschritten sind kann doch was nicht stimmen oder?

                                  aber wenn du auch Sonos hast und die http-api kannst du da nicht mal das Blockly bei dir testen?

                                  haus-automatisierungH Online
                                  haus-automatisierungH Online
                                  haus-automatisierung
                                  Developer Most Active
                                  schrieb am zuletzt editiert von
                                  #18

                                  @xbit Da liegen doch exakt 500ms zwischen:

                                  javascript.0	20:07:11.801	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                  javascript.0	20:07:12.301	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist /de-de, error=timeout of 500ms exceeded)
                                  

                                  🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
                                  🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
                                  📚 Meine inoffizielle ioBroker Dokumentation

                                  XBiTX 1 Antwort Letzte Antwort
                                  0
                                  • haus-automatisierungH haus-automatisierung

                                    @xbit Da liegen doch exakt 500ms zwischen:

                                    javascript.0	20:07:11.801	info	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                                    javascript.0	20:07:12.301	error	script.js.common.0_userdata_0_.Testbereich.Sprechausgabe_Sonos_Test: httpGet(url=http://192.168.1.251:5005/K%C3%BCche/say/Guten Morgen, Heute ist /de-de, error=timeout of 500ms exceeded)
                                    
                                    XBiTX Offline
                                    XBiTX Offline
                                    XBiT
                                    schrieb am zuletzt editiert von XBiT
                                    #19

                                    @haus-automatisierung

                                    ja hast du recht bin bei dem testen schon ganz durch...

                                    Falls es möglich ist, da du ja augenscheinlich auch die Sonos http api hast könntest du ja mal den Code aus Post 1 testen ob er geht muss ja nur die IP und der Raumname geändert werden und eventuell die Außentemperatur ausschalten.

                                    Ansonsten müsste ich dann einen anderen Weg suchen um wieder die verschiedenen Ansagen zu erhalten.

                                    EDIT Sorry hier der Code oben ist ja der alte...

                                    <xml xmlns="https://developers.google.com/blockly/xml">
                                     <variables>
                                       <variable id=".Yvm,6)5C!N]^MT[`GAV">Datum</variable>
                                       <variable id=",i|ut(0wYas5^:/cgIlT">Stunde</variable>
                                       <variable id="Nao2zPy]Gh:tUN^{,?jw">Minute</variable>
                                       <variable id="^IgPDXdy#sa!2)?B34#b">Tag</variable>
                                       <variable id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</variable>
                                       <variable id="u.Y-DN^swG=N._[)_Ou;">URL</variable>
                                     </variables>
                                     <block type="procedures_defcustomreturn" id="$RIGDIe%Xa8Rr#p]Kq%," x="138" y="63">
                                       <mutation statements="false"></mutation>
                                       <field name="NAME">Aussentemp_umwandeln</field>
                                       <field name="SCRIPT">Y29uc3Qgc3RhdGVWYWwgPSBnZXRTdGF0ZSgnaG0tcnBjLjAuS0VRMDE3NDYxOS4xLlRFTVBFUkFUVVJFJykudmFsOw0KLy8gIGxvZyhzdGF0ZVZhbCk7DQogICAgICAgIHZhciBUZW1wID0gKHN0YXRlVmFsLnRvU3RyaW5nKCkucmVwbGFjZSgnLicsICcsJykpOw0KLy8gbG9nKFRlbXApOw0KcmV0dXJuIFRlbXA7</field>
                                       <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                     </block>
                                     <block type="variables_set" id=";toPl|v_k)-Tvh{jioUv" x="138" y="139">
                                       <field name="VAR" id=".Yvm,6)5C!N]^MT[`GAV">Datum</field>
                                       <value name="VALUE">
                                         <block type="time_get" id="M5KC.YEQGB71]Rw^a|Ln">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                           <field name="OPTION">DD.MM.YYYY</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="s4(uxbY$dv=ll;b/Y7i1">
                                           <field name="VAR" id=",i|ut(0wYas5^:/cgIlT">Stunde</field>
                                           <value name="VALUE">
                                             <block type="time_get" id="]jWUOQ-5r6){HrrA_iU4">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                               <field name="OPTION">h</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="``pe:#@W+O;]OS(;y9QP">
                                               <field name="VAR" id="Nao2zPy]Gh:tUN^{,?jw">Minute</field>
                                               <value name="VALUE">
                                                 <block type="time_get" id="/Bf#x=pCr%ei:n2?Bx73">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                   <field name="OPTION">m</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="variables_set" id="(Ky*8~7ISEs]7h$ah97n">
                                                   <field name="VAR" id="^IgPDXdy#sa!2)?B34#b">Tag</field>
                                                   <value name="VALUE">
                                                     <block type="time_get" id="C/j?%}+vntB=cg^g|)kn">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="true"></mutation>
                                                       <field name="OPTION">wdt</field>
                                                       <field name="LANGUAGE">de</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="variables_set" id="wM:Tpw:(q8(E?@Gh14PL">
                                                       <field name="VAR" id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</field>
                                                       <value name="VALUE">
                                                         <block type="procedures_callcustomreturn" id="|x2g!an;a+E[m=xq21F7">
                                                           <mutation name="Aussentemp_umwandeln"></mutation>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="variables_set" id="}O4.1lMB$3{U9PIQfK2=">
                                                           <field name="VAR" id="u.Y-DN^swG=N._[)_Ou;">URL</field>
                                                           <value name="VALUE">
                                                             <block type="text_join" id="BlNtE64ngY`sL9,6K2c1">
                                                               <mutation items="13"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="text" id="+|8T_n|oBQ*FB0epO^]i">
                                                                   <field name="TEXT">http://192.168.1.251:5005/K%C3%BCche/say/</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text" id="/b1#$O(Srgf`?usOT^cx">
                                                                   <field name="TEXT">Guten Morgen, Heute ist </field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD2">
                                                                 <block type="variables_get" id="cYP}$.j)cSLchSN]#LDx">
                                                                   <field name="VAR" id="^IgPDXdy#sa!2)?B34#b">Tag</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD3">
                                                                 <block type="text" id="E*gE507Aq/r0=qrl~2_Q">
                                                                   <field name="TEXT"> der </field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD4">
                                                                 <block type="variables_get" id="V6P-C-pa}SojJO=]KhLa">
                                                                   <field name="VAR" id=".Yvm,6)5C!N]^MT[`GAV">Datum</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD5">
                                                                 <block type="text" id="~wx9zhxp76eBE#UpcOo#">
                                                                   <field name="TEXT"> es ist </field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD6">
                                                                 <block type="variables_get" id=",@24GC`!~}[shMtr[!w|">
                                                                   <field name="VAR" id=",i|ut(0wYas5^:/cgIlT">Stunde</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD7">
                                                                 <block type="text" id="}s}O!O%L8gTG4ajz_hG|">
                                                                   <field name="TEXT"> Uhr </field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD8">
                                                                 <block type="variables_get" id="Rye9.PNb{1V/s${n*:B;">
                                                                   <field name="VAR" id="Nao2zPy]Gh:tUN^{,?jw">Minute</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD9">
                                                                 <block type="text" id="SerOxNp7CMWQ34lorOH9">
                                                                   <field name="TEXT"> ,Die Außentemperatur beträgt </field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD10">
                                                                 <block type="variables_get" id="$n*K.5Ryc/)mjRz|!uri">
                                                                   <field name="VAR" id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD11">
                                                                 <block type="text" id="ES{U_ZoXBKp5p=|hJqQ1">
                                                                   <field name="TEXT"> °C</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD12">
                                                                 <block type="text" id="5pr1s{0t$8Eun9.cQc=)">
                                                                   <field name="TEXT">/de-de</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="comment" id="]2RJfLK5VNnHW|-LIuw(">
                                                               <field name="COMMENT">Infoansage Morgens</field>
                                                               <next>
                                                                 <block type="http_get" id="HZyjDv(_WWtZJ/N~r)n#">
                                                                   <field name="TIMEOUT">5000</field>
                                                                   <field name="UNIT">sec</field>
                                                                   <field name="TYPE">text</field>
                                                                   <value name="URL">
                                                                     <shadow type="text" id="]QqbnelmljagyO6(JuII">
                                                                       <field name="TEXT">http://</field>
                                                                     </shadow>
                                                                     <block type="variables_get" id="oG[T`sBKo,TF)U9L=#$l">
                                                                       <field name="VAR" id="u.Y-DN^swG=N._[)_Ou;">URL</field>
                                                                     </block>
                                                                   </value>
                                                                   <statement name="STATEMENT">
                                                                     <block type="debug" id="`{4Q:A_;0/;v5ObGz@}V">
                                                                       <field name="Severity">info</field>
                                                                       <value name="TEXT">
                                                                         <shadow type="text" id="/t~R~V7vjx6C`.#64r#7">
                                                                           <field name="TEXT">test</field>
                                                                         </shadow>
                                                                         <block type="text_join" id="ejOhZtZ3{#s9#$R]]gY(">
                                                                           <mutation items="2"></mutation>
                                                                           <value name="ADD0">
                                                                             <block type="text" id="]YJDuc77F}fO!;khXoT:">
                                                                               <field name="TEXT">Status Code: </field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD1">
                                                                             <block type="http_response" id="v~s/TH4lLH(9]rp!c!5G">
                                                                               <field name="ATTR">response.statusCode</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="debug" id="Nm$c*oKwv-mg^-!CHgZ%">
                                                                           <field name="Severity">info</field>
                                                                           <value name="TEXT">
                                                                             <shadow type="text" id="/t~R~V7vjx6C`.#64r#7">
                                                                               <field name="TEXT">test</field>
                                                                             </shadow>
                                                                             <block type="text_join" id="wU{//STC-,^TKv,~rW1G">
                                                                               <mutation items="2"></mutation>
                                                                               <value name="ADD0">
                                                                                 <block type="text" id="l.oO)Ds5u+Q|hvr@t2br">
                                                                                   <field name="TEXT">Antwortzeit: </field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD1">
                                                                                 <block type="http_response" id="1~;L#P0yMQ.n![GZRat$">
                                                                                   <field name="ATTR">response.responseTime</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <next>
                                                                             <block type="debug" id="65R*P%4ZDntHrdpaY%vI">
                                                                               <field name="Severity">info</field>
                                                                               <value name="TEXT">
                                                                                 <shadow type="text" id="tLR}z4`p(!vqnl85yERd">
                                                                                   <field name="TEXT">test</field>
                                                                                 </shadow>
                                                                                 <block type="text_join" id=":/IHh3YZVby/HDYu}vn6">
                                                                                   <mutation items="2"></mutation>
                                                                                   <value name="ADD0">
                                                                                     <block type="text" id="r|=EmI]2L|Ww`-Ek}R}4">
                                                                                       <field name="TEXT">response headers: </field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD1">
                                                                                     <block type="http_response" id="~80D7|Xs2T66ZnBojvRb">
                                                                                       <field name="ATTR">response.headers</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="debug" id=":4IF62d+X?nzq*}dD0%$">
                                                                                   <field name="Severity">info</field>
                                                                                   <value name="TEXT">
                                                                                     <shadow type="text" id="/t~R~V7vjx6C`.#64r#7">
                                                                                       <field name="TEXT">test</field>
                                                                                     </shadow>
                                                                                     <block type="text_join" id="t?crVa1);ldCM{RRPR2K">
                                                                                       <mutation items="2"></mutation>
                                                                                       <value name="ADD0">
                                                                                         <block type="text" id="#JtLY!ix`OLR-3F4XeDN">
                                                                                           <field name="TEXT">Fehlermeldung: </field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD1">
                                                                                         <block type="http_response" id="C7YLZ{m}C6#$}Bcxu^2b">
                                                                                           <field name="ATTR">err</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </statement>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                    </xml>
                                    

                                    J 1 Antwort Letzte Antwort
                                    0
                                    • XBiTX XBiT

                                      @haus-automatisierung

                                      ja hast du recht bin bei dem testen schon ganz durch...

                                      Falls es möglich ist, da du ja augenscheinlich auch die Sonos http api hast könntest du ja mal den Code aus Post 1 testen ob er geht muss ja nur die IP und der Raumname geändert werden und eventuell die Außentemperatur ausschalten.

                                      Ansonsten müsste ich dann einen anderen Weg suchen um wieder die verschiedenen Ansagen zu erhalten.

                                      EDIT Sorry hier der Code oben ist ja der alte...

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                       <variables>
                                         <variable id=".Yvm,6)5C!N]^MT[`GAV">Datum</variable>
                                         <variable id=",i|ut(0wYas5^:/cgIlT">Stunde</variable>
                                         <variable id="Nao2zPy]Gh:tUN^{,?jw">Minute</variable>
                                         <variable id="^IgPDXdy#sa!2)?B34#b">Tag</variable>
                                         <variable id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</variable>
                                         <variable id="u.Y-DN^swG=N._[)_Ou;">URL</variable>
                                       </variables>
                                       <block type="procedures_defcustomreturn" id="$RIGDIe%Xa8Rr#p]Kq%," x="138" y="63">
                                         <mutation statements="false"></mutation>
                                         <field name="NAME">Aussentemp_umwandeln</field>
                                         <field name="SCRIPT">Y29uc3Qgc3RhdGVWYWwgPSBnZXRTdGF0ZSgnaG0tcnBjLjAuS0VRMDE3NDYxOS4xLlRFTVBFUkFUVVJFJykudmFsOw0KLy8gIGxvZyhzdGF0ZVZhbCk7DQogICAgICAgIHZhciBUZW1wID0gKHN0YXRlVmFsLnRvU3RyaW5nKCkucmVwbGFjZSgnLicsICcsJykpOw0KLy8gbG9nKFRlbXApOw0KcmV0dXJuIFRlbXA7</field>
                                         <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                       </block>
                                       <block type="variables_set" id=";toPl|v_k)-Tvh{jioUv" x="138" y="139">
                                         <field name="VAR" id=".Yvm,6)5C!N]^MT[`GAV">Datum</field>
                                         <value name="VALUE">
                                           <block type="time_get" id="M5KC.YEQGB71]Rw^a|Ln">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                             <field name="OPTION">DD.MM.YYYY</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id="s4(uxbY$dv=ll;b/Y7i1">
                                             <field name="VAR" id=",i|ut(0wYas5^:/cgIlT">Stunde</field>
                                             <value name="VALUE">
                                               <block type="time_get" id="]jWUOQ-5r6){HrrA_iU4">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                 <field name="OPTION">h</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="variables_set" id="``pe:#@W+O;]OS(;y9QP">
                                                 <field name="VAR" id="Nao2zPy]Gh:tUN^{,?jw">Minute</field>
                                                 <value name="VALUE">
                                                   <block type="time_get" id="/Bf#x=pCr%ei:n2?Bx73">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                     <field name="OPTION">m</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="variables_set" id="(Ky*8~7ISEs]7h$ah97n">
                                                     <field name="VAR" id="^IgPDXdy#sa!2)?B34#b">Tag</field>
                                                     <value name="VALUE">
                                                       <block type="time_get" id="C/j?%}+vntB=cg^g|)kn">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="true"></mutation>
                                                         <field name="OPTION">wdt</field>
                                                         <field name="LANGUAGE">de</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="variables_set" id="wM:Tpw:(q8(E?@Gh14PL">
                                                         <field name="VAR" id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</field>
                                                         <value name="VALUE">
                                                           <block type="procedures_callcustomreturn" id="|x2g!an;a+E[m=xq21F7">
                                                             <mutation name="Aussentemp_umwandeln"></mutation>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="variables_set" id="}O4.1lMB$3{U9PIQfK2=">
                                                             <field name="VAR" id="u.Y-DN^swG=N._[)_Ou;">URL</field>
                                                             <value name="VALUE">
                                                               <block type="text_join" id="BlNtE64ngY`sL9,6K2c1">
                                                                 <mutation items="13"></mutation>
                                                                 <value name="ADD0">
                                                                   <block type="text" id="+|8T_n|oBQ*FB0epO^]i">
                                                                     <field name="TEXT">http://192.168.1.251:5005/K%C3%BCche/say/</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD1">
                                                                   <block type="text" id="/b1#$O(Srgf`?usOT^cx">
                                                                     <field name="TEXT">Guten Morgen, Heute ist </field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD2">
                                                                   <block type="variables_get" id="cYP}$.j)cSLchSN]#LDx">
                                                                     <field name="VAR" id="^IgPDXdy#sa!2)?B34#b">Tag</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD3">
                                                                   <block type="text" id="E*gE507Aq/r0=qrl~2_Q">
                                                                     <field name="TEXT"> der </field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD4">
                                                                   <block type="variables_get" id="V6P-C-pa}SojJO=]KhLa">
                                                                     <field name="VAR" id=".Yvm,6)5C!N]^MT[`GAV">Datum</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD5">
                                                                   <block type="text" id="~wx9zhxp76eBE#UpcOo#">
                                                                     <field name="TEXT"> es ist </field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD6">
                                                                   <block type="variables_get" id=",@24GC`!~}[shMtr[!w|">
                                                                     <field name="VAR" id=",i|ut(0wYas5^:/cgIlT">Stunde</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD7">
                                                                   <block type="text" id="}s}O!O%L8gTG4ajz_hG|">
                                                                     <field name="TEXT"> Uhr </field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD8">
                                                                   <block type="variables_get" id="Rye9.PNb{1V/s${n*:B;">
                                                                     <field name="VAR" id="Nao2zPy]Gh:tUN^{,?jw">Minute</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD9">
                                                                   <block type="text" id="SerOxNp7CMWQ34lorOH9">
                                                                     <field name="TEXT"> ,Die Außentemperatur beträgt </field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD10">
                                                                   <block type="variables_get" id="$n*K.5Ryc/)mjRz|!uri">
                                                                     <field name="VAR" id="6C%#L[`:Q.Jx1xcMSFWs">Aussentemperatur</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD11">
                                                                   <block type="text" id="ES{U_ZoXBKp5p=|hJqQ1">
                                                                     <field name="TEXT"> °C</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD12">
                                                                   <block type="text" id="5pr1s{0t$8Eun9.cQc=)">
                                                                     <field name="TEXT">/de-de</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="comment" id="]2RJfLK5VNnHW|-LIuw(">
                                                                 <field name="COMMENT">Infoansage Morgens</field>
                                                                 <next>
                                                                   <block type="http_get" id="HZyjDv(_WWtZJ/N~r)n#">
                                                                     <field name="TIMEOUT">5000</field>
                                                                     <field name="UNIT">sec</field>
                                                                     <field name="TYPE">text</field>
                                                                     <value name="URL">
                                                                       <shadow type="text" id="]QqbnelmljagyO6(JuII">
                                                                         <field name="TEXT">http://</field>
                                                                       </shadow>
                                                                       <block type="variables_get" id="oG[T`sBKo,TF)U9L=#$l">
                                                                         <field name="VAR" id="u.Y-DN^swG=N._[)_Ou;">URL</field>
                                                                       </block>
                                                                     </value>
                                                                     <statement name="STATEMENT">
                                                                       <block type="debug" id="`{4Q:A_;0/;v5ObGz@}V">
                                                                         <field name="Severity">info</field>
                                                                         <value name="TEXT">
                                                                           <shadow type="text" id="/t~R~V7vjx6C`.#64r#7">
                                                                             <field name="TEXT">test</field>
                                                                           </shadow>
                                                                           <block type="text_join" id="ejOhZtZ3{#s9#$R]]gY(">
                                                                             <mutation items="2"></mutation>
                                                                             <value name="ADD0">
                                                                               <block type="text" id="]YJDuc77F}fO!;khXoT:">
                                                                                 <field name="TEXT">Status Code: </field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD1">
                                                                               <block type="http_response" id="v~s/TH4lLH(9]rp!c!5G">
                                                                                 <field name="ATTR">response.statusCode</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <next>
                                                                           <block type="debug" id="Nm$c*oKwv-mg^-!CHgZ%">
                                                                             <field name="Severity">info</field>
                                                                             <value name="TEXT">
                                                                               <shadow type="text" id="/t~R~V7vjx6C`.#64r#7">
                                                                                 <field name="TEXT">test</field>
                                                                               </shadow>
                                                                               <block type="text_join" id="wU{//STC-,^TKv,~rW1G">
                                                                                 <mutation items="2"></mutation>
                                                                                 <value name="ADD0">
                                                                                   <block type="text" id="l.oO)Ds5u+Q|hvr@t2br">
                                                                                     <field name="TEXT">Antwortzeit: </field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD1">
                                                                                   <block type="http_response" id="1~;L#P0yMQ.n![GZRat$">
                                                                                     <field name="ATTR">response.responseTime</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="debug" id="65R*P%4ZDntHrdpaY%vI">
                                                                                 <field name="Severity">info</field>
                                                                                 <value name="TEXT">
                                                                                   <shadow type="text" id="tLR}z4`p(!vqnl85yERd">
                                                                                     <field name="TEXT">test</field>
                                                                                   </shadow>
                                                                                   <block type="text_join" id=":/IHh3YZVby/HDYu}vn6">
                                                                                     <mutation items="2"></mutation>
                                                                                     <value name="ADD0">
                                                                                       <block type="text" id="r|=EmI]2L|Ww`-Ek}R}4">
                                                                                         <field name="TEXT">response headers: </field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="ADD1">
                                                                                       <block type="http_response" id="~80D7|Xs2T66ZnBojvRb">
                                                                                         <field name="ATTR">response.headers</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                                 <next>
                                                                                   <block type="debug" id=":4IF62d+X?nzq*}dD0%$">
                                                                                     <field name="Severity">info</field>
                                                                                     <value name="TEXT">
                                                                                       <shadow type="text" id="/t~R~V7vjx6C`.#64r#7">
                                                                                         <field name="TEXT">test</field>
                                                                                       </shadow>
                                                                                       <block type="text_join" id="t?crVa1);ldCM{RRPR2K">
                                                                                         <mutation items="2"></mutation>
                                                                                         <value name="ADD0">
                                                                                           <block type="text" id="#JtLY!ix`OLR-3F4XeDN">
                                                                                             <field name="TEXT">Fehlermeldung: </field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD1">
                                                                                           <block type="http_response" id="C7YLZ{m}C6#$}Bcxu^2b">
                                                                                             <field name="ATTR">err</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </next>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </statement>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                      </xml>
                                      

                                      J Offline
                                      J Offline
                                      jwerlsdf
                                      schrieb am zuletzt editiert von jwerlsdf
                                      #20

                                      @xbit
                                      Den Fehler "error=socket hang up" habe ich auch manchmal. Und zwar dann, wenn ich mehrere Befehle hintereinander abfeuere, z.b. wenn ich dir Lautstärke schrittweise verändere.
                                      Das hat meines Wissens aber nicht mi blockly zu tun oder mit dem httpget Block, sonder an sonos selbst. Ich habe diese Probleme erst seitdem ich damals die neues Software, die nur Probleme macht, installiert habe. Mit der alten Software hatte ich mit meinen blocklys nie Probleme gehabt.

                                      XBiTX 1 Antwort Letzte Antwort
                                      0
                                      • J jwerlsdf

                                        @xbit
                                        Den Fehler "error=socket hang up" habe ich auch manchmal. Und zwar dann, wenn ich mehrere Befehle hintereinander abfeuere, z.b. wenn ich dir Lautstärke schrittweise verändere.
                                        Das hat meines Wissens aber nicht mi blockly zu tun oder mit dem httpget Block, sonder an sonos selbst. Ich habe diese Probleme erst seitdem ich damals die neues Software, die nur Probleme macht, installiert habe. Mit der alten Software hatte ich mit meinen blocklys nie Probleme gehabt.

                                        XBiTX Offline
                                        XBiTX Offline
                                        XBiT
                                        schrieb am zuletzt editiert von
                                        #21

                                        @jwerlsdf

                                        Vielen Dank für deine Info, denke mittlerweile auch es liegt nicht am Blockly, auch wenn ich diesen Fehler mit dem request Block nicht hatte (habe aber auch nie schrittweise die Lautstärke geändert).
                                        Meinst du mit der neuen Software die node-sonos-http-api also die den Server bereitstellt oder den Sonos S2 Controller?

                                        J 1 Antwort Letzte Antwort
                                        0
                                        • XBiTX XBiT

                                          @jwerlsdf

                                          Vielen Dank für deine Info, denke mittlerweile auch es liegt nicht am Blockly, auch wenn ich diesen Fehler mit dem request Block nicht hatte (habe aber auch nie schrittweise die Lautstärke geändert).
                                          Meinst du mit der neuen Software die node-sonos-http-api also die den Server bereitstellt oder den Sonos S2 Controller?

                                          J Offline
                                          J Offline
                                          jwerlsdf
                                          schrieb am zuletzt editiert von
                                          #22

                                          @xbit
                                          Die sonos App auf die Version 80.x. Ging auch ein Firmware Update der sonos Boxen einher. So ganz genau kann ich es aber nicht mehr sagen. Aber mit dieser neuen Version gingen bei mir alle Probleme los.

                                          1 Antwort Letzte Antwort
                                          1
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          713

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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