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. [Blockly] Skript für "Sprich mir nach" auf beliebigem Echo

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    23
    1
    1.3k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

[Blockly] Skript für "Sprich mir nach" auf beliebigem Echo

Geplant Angeheftet Gesperrt Verschoben Blockly
74 Beiträge 9 Kommentatoren 8.7k Aufrufe 15 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.
  • nurChrisN nurChris

    @padrino Hallo! Sieht interessant aus dein Skript. Habe aber Grundsatz fragen zum Prinzip deines blocklys.
    Ich verstehe den "schreibe" block nicht. Du schreibst in die summary "Alexa2.0.Echo-Devices.Seriennummer.commands.speak"???
    Und dann steuerst du die summary mit "ok".
    Wozu das?
    Da Blick ich grad garnicht durch, würdest du mir das erläutern was es mit den schreibe Blöcken auf sich hat?
    Vielen Dank und beste Grüße
    Chris

    thewhoboxT Offline
    thewhoboxT Offline
    thewhobox
    schrieb am zuletzt editiert von
    #7

    @nurChris Der Block "Schreiben" nimmt einen String als Objekt-ID (in diesem Fall Alexa2.0.Echo-Devices.XXXX.commands.speak) und schreibt den Wert "Ok" rein.
    Das hat nix mit dem Datenpunkt summery zu tun.

    Meine Adapter: emby | discovery
    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    nurChrisN padrinoP 2 Antworten Letzte Antwort
    2
    • thewhoboxT thewhobox

      @nurChris Der Block "Schreiben" nimmt einen String als Objekt-ID (in diesem Fall Alexa2.0.Echo-Devices.XXXX.commands.speak) und schreibt den Wert "Ok" rein.
      Das hat nix mit dem Datenpunkt summery zu tun.

      nurChrisN Offline
      nurChrisN Offline
      nurChris
      schrieb am zuletzt editiert von
      #8

      @thewhobox Achso! Ok. Dann erschließt sich mir so einiges. Vielen Dank.

      1 Antwort Letzte Antwort
      0
      • thewhoboxT thewhobox

        @nurChris Der Block "Schreiben" nimmt einen String als Objekt-ID (in diesem Fall Alexa2.0.Echo-Devices.XXXX.commands.speak) und schreibt den Wert "Ok" rein.
        Das hat nix mit dem Datenpunkt summery zu tun.

        padrinoP Online
        padrinoP Online
        padrino
        Most Active
        schrieb am zuletzt editiert von
        #9

        @thewhobox
        Du musst hier aber nicht meinen Support leisten. :flushed: ;)

        @nurChris
        Das ist nur eine Sprachausgabe von "ok" auf dem aktuellen Echo, die ein wenig zurück geben soll, dass alles geklappt hat, und wohl auch um Alexas evtl. unpassende Antwort zu "überschreiben". Kann also auch weggelassen werden. :)

        thewhoboxT 1 Antwort Letzte Antwort
        0
        • padrinoP padrino

          @thewhobox
          Du musst hier aber nicht meinen Support leisten. :flushed: ;)

          @nurChris
          Das ist nur eine Sprachausgabe von "ok" auf dem aktuellen Echo, die ein wenig zurück geben soll, dass alles geklappt hat, und wohl auch um Alexas evtl. unpassende Antwort zu "überschreiben". Kann also auch weggelassen werden. :)

          thewhoboxT Offline
          thewhoboxT Offline
          thewhobox
          schrieb am zuletzt editiert von
          #10

          @padrino Das waren ja eh allgemeine Fragen und nicht nur speziell auf dein Skript bezogen.
          Außerdem hab ich die änderungen am JS-Adapter eingebunden und somit mein Support ;)

          Meine Adapter: emby | discovery
          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          1 Antwort Letzte Antwort
          1
          • padrinoP Online
            padrinoP Online
            padrino
            Most Active
            schrieb am zuletzt editiert von
            #11

            Achtung: Seit heute bekomme ich hier eine Endlosschleife, wenn ich versuche mit meinem Skript versuche eine Ausgabe auf einen anderen Echo umzuleiten. :(
            Habe keine Ahnung, woran das liegt, wollte aber mal kurz Bescheid geben, evtl. gab is irgendeine Änderung seitens amazon... vielleich auch nur ein lokales Problem meinerseits.
            Wenn/falls ich etwas rausbekomme, melde ich mich... :flushed:
            Hier noch ein Log von den JS Fehlern:

            javascript.0	2019-09-17 12:55:41.960	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:41.959	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:41.959	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:41.959	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:41.959	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:41.957	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:41.811	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:41.811	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:41.811	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:41.811	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:41.811	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:41.810	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:41.674	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:41.674	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:41.674	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:41.674	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:41.674	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:41.674	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:41.539	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:41.539	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:41.539	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:41.538	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:41.538	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:41.538	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:41.408	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:41.408	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:41.408	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:41.408	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:41.408	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:41.408	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:41.285	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:41.285	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:41.285	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:41.285	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:41.284	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:41.283	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:41.109	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:41.109	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:41.109	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:41.108	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:41.108	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:41.104	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:40.971	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:40.971	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:40.971	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:40.971	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:40.971	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:40.970	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:40.836	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:40.835	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:40.835	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:40.835	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:40.835	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:40.835	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:40.835	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:40.835	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:40.835	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:40.835	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:40.835	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:40.833	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:40.566	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:40.566	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:40.566	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:40.566	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:40.566	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:40.565	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:40.434	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:40.433	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:40.433	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:40.433	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:40.433	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:40.432	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:40.275	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:40.275	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:40.275	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:40.272	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:40.272	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:40.271	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:40.141	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:40.141	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:40.141	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:40.141	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:40.140	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:40.140	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:40.006	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:40.006	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:40.006	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:40.006	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:40.006	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:40.004	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:39.868	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:39.868	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:39.868	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:39.868	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:39.867	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:39.866	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            javascript.0	2019-09-17 12:55:39.730	error	at Timer.listOnTimeout (timers.js:290:5)
            javascript.0	2019-09-17 12:55:39.729	error	at tryOnTimeout (timers.js:323:5)
            javascript.0	2019-09-17 12:55:39.729	error	at ontimeout (timers.js:511:34)
            javascript.0	2019-09-17 12:55:39.729	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
            javascript.0	2019-09-17 12:55:39.729	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
            javascript.0	2019-09-17 12:55:39.727	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
            
            thewhoboxT 1 Antwort Letzte Antwort
            0
            • padrinoP padrino

              Achtung: Seit heute bekomme ich hier eine Endlosschleife, wenn ich versuche mit meinem Skript versuche eine Ausgabe auf einen anderen Echo umzuleiten. :(
              Habe keine Ahnung, woran das liegt, wollte aber mal kurz Bescheid geben, evtl. gab is irgendeine Änderung seitens amazon... vielleich auch nur ein lokales Problem meinerseits.
              Wenn/falls ich etwas rausbekomme, melde ich mich... :flushed:
              Hier noch ein Log von den JS Fehlern:

              javascript.0	2019-09-17 12:55:41.960	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:41.959	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:41.959	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:41.959	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:41.959	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:41.957	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:41.811	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:41.811	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:41.811	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:41.811	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:41.811	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:41.810	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:41.674	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:41.674	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:41.674	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:41.674	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:41.674	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:41.674	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:41.539	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:41.539	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:41.539	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:41.538	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:41.538	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:41.538	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:41.408	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:41.408	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:41.408	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:41.408	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:41.408	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:41.408	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:41.285	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:41.285	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:41.285	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:41.285	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:41.284	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:41.283	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:41.109	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:41.109	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:41.109	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:41.108	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:41.108	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:41.104	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:40.971	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:40.971	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:40.971	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:40.971	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:40.971	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:40.970	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:40.836	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:40.835	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:40.835	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:40.835	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:40.835	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:40.835	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:40.835	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:40.835	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:40.835	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:40.835	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:40.835	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:40.833	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:40.566	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:40.566	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:40.566	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:40.566	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:40.566	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:40.565	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:40.434	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:40.433	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:40.433	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:40.433	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:40.433	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:40.432	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:40.275	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:40.275	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:40.275	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:40.272	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:40.272	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:40.271	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:40.141	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:40.141	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:40.141	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:40.141	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:40.140	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:40.140	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:40.006	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:40.006	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:40.006	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:40.006	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:40.006	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:40.004	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:39.868	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:39.868	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:39.868	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:39.868	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:39.867	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:39.866	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              javascript.0	2019-09-17 12:55:39.730	error	at Timer.listOnTimeout (timers.js:290:5)
              javascript.0	2019-09-17 12:55:39.729	error	at tryOnTimeout (timers.js:323:5)
              javascript.0	2019-09-17 12:55:39.729	error	at ontimeout (timers.js:511:34)
              javascript.0	2019-09-17 12:55:39.729	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1855:34)
              javascript.0	2019-09-17 12:55:39.729	error	at Object.<anonymous> (script.js.common.sprich_mir_nach:21:30)
              javascript.0	2019-09-17 12:55:39.727	error	Error in callback: TypeError: Cannot read property 'toUpperCase' of null
              
              thewhoboxT Offline
              thewhoboxT Offline
              thewhobox
              schrieb am zuletzt editiert von
              #12

              @padrino in Zeile 21 ist eine Variable (vor toUpperCase) Null.
              Hast du vll noch den passenden Code dazu?

              Meine Adapter: emby | discovery
              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              1 Antwort Letzte Antwort
              0
              • padrinoP Online
                padrinoP Online
                padrino
                Most Active
                schrieb am zuletzt editiert von
                #13

                @thewhobox
                Sorry, habe Deinen Beitrag jetzt er gesehen. :(

                @all
                Auf jeden Fall mal Entwarnung.
                Habe mich damit auseinander gesetzt. :nerd_face:
                Der Fehler war, dass ich den Datenpunktbaum des Alexa Adapters an einer anderen Stelle gespiegelt/geklont hatte, damit kam das Skript nicht klar (zu viele falsche Treffer :innocent:).
                Da das bei Euch vermutlich nicht der Fall sein wird, sollte das Skript auch weiter (zumindest an der Stelle :wink:) rund laufen. :relieved:

                1 Antwort Letzte Antwort
                0
                • padrinoP padrino

                  Hi,

                  da ich schon die ganze Zeit mal Echos in anderen Räumen per Sprache etwas sagen lassen wollte, hab' ich mal versucht mir ein Blockly zu basteln. :)
                  Also, hier mein Ansatz, vielleicht ist er ja noch jemandem nützlich. =)
                  Achja, beim Aufruf gehe ich von folgendem aus:

                  Wakeword, xxx Echoname sprich mir nach Wunschtext

                  "xxx" kann dabei ein(!) beliebiges Wort sein, wie z.B. "auf", "im", "in"...
                  "Echoname" müsst Ihr Euch ausdenken und dann entsprechd im Blockly mit der richtigen Seriennummer verknüpfen. ;) (nicht mehr nötig ab Version 1.5 - benötigt JavaScript Adapter 4.1.13 oder höher)
                  Aktuelle Version: V2.2 (vom 11.03.2021)

                  Ürsprünglicher Blockly Code (veraltet!) ist im "Spoiler". :sunglasses:

                  Viel Spaß damit,
                  padrino

                  sprich_mir_nach.jpg

                  <xml xmlns="http://www.w3.org/1999/xhtml">
                    <variables>
                      <variable type="" id="xci3X!4nlXF:sZ?64H_G">Echo_Name</variable>
                      <variable type="" id="u+Fa?OFVu31w|2/cTtG*">Echo_Seriennummer</variable>
                    </variables>
                    <block type="on" id="fhfKzXrq)P[aOmo9~(rW" x="-1937" y="-512">
                      <field name="OID">alexa2.0.History.summary</field>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="OElmPyfLv#/1YKRV;(yB">
                          <value name="IF0">
                            <block type="logic_compare" id="7|bX(FK%8-kvxd;yxQbo">
                              <field name="OP">GT</field>
                              <value name="A">
                                <block type="text_indexOf" id="Iu^2N42]m*BM7c;Q2K-m">
                                  <field name="END">FIRST</field>
                                  <value name="VALUE">
                                    <block type="get_value" id="(l7jpF^32#IjwHF;zonD">
                                      <field name="ATTR">val</field>
                                      <field name="OID">alexa2.0.History.summary</field>
                                    </block>
                                  </value>
                                  <value name="FIND">
                                    <shadow type="text" id="1GVke=Zw#PVlU,W6aLH/">
                                      <field name="TEXT">bis</field>
                                    </shadow>
                                    <block type="text" id="(~gUYI,1p[/KsA?AEFaA">
                                      <field name="TEXT">sprich mir nach</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="qoffb!hgM^%hj6qW|}p;">
                                  <field name="NUM">1</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control_ex" id="sez5|xCaiobR.:f_@XNN">
                              <field name="TYPE">false</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="OID">
                                <shadow type="field_oid" id="fwZLrtqkG5Ro2sbRcbdL">
                                  <field name="oid">Object ID</field>
                                </shadow>
                                <block type="text_join" id="Uc(C1*DhkN=(Ej:3;/_{">
                                  <mutation items="3"></mutation>
                                  <value name="ADD0">
                                    <block type="text" id="3N=uEC@l*)_nr#{g4uNp">
                                      <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                    </block>
                                  </value>
                                  <value name="ADD1">
                                    <block type="get_value" id="mTQ}3#/=?3VG-*}4O,m-">
                                      <field name="ATTR">val</field>
                                      <field name="OID">alexa2.0.History.serialNumber</field>
                                    </block>
                                  </value>
                                  <value name="ADD2">
                                    <block type="text" id="E|q29/u43a=DeTghbcsC">
                                      <field name="TEXT">.Commands.speak</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="VALUE">
                                <shadow type="logic_boolean" id="4Q-~O)0Tq3Bl0SL#OKOU">
                                  <field name="BOOL">TRUE</field>
                                </shadow>
                                <block type="text" id="qRG2]*J2z/#-u~eydoca">
                                  <field name="TEXT">Ok.</field>
                                </block>
                              </value>
                              <value name="DELAY_MS">
                                <shadow type="math_number" id="E6wr0Gr)4kRK?U+WJxmQ">
                                  <field name="NUM">0</field>
                                </shadow>
                              </value>
                              <next>
                                <block type="variables_set" id="#(KOcl2PK``7{9,ihtgn">
                                  <field name="VAR" id="xci3X!4nlXF:sZ?64H_G" variabletype="">Echo_Name</field>
                                  <value name="VALUE">
                                    <block type="text_getSubstring" id="Zf;s@pJw,rWD||Jvmnbk" inline="false">
                                      <mutation at1="true" at2="true"></mutation>
                                      <field name="WHERE1">FROM_START</field>
                                      <field name="WHERE2">FROM_START</field>
                                      <value name="STRING">
                                        <block type="get_value" id="uxX_JKmQ2Ut%tn[X+go3">
                                          <field name="ATTR">val</field>
                                          <field name="OID">alexa2.0.History.summary</field>
                                        </block>
                                      </value>
                                      <value name="AT1">
                                        <block type="math_arithmetic" id="OYk4;y5{czDP`m+gzp#x">
                                          <field name="OP">ADD</field>
                                          <value name="A">
                                            <shadow type="math_number" id=":Pt%sy);(Elj}B;/,1ix">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="text_indexOf" id="8iVOD?ge5zEWtZNYR)Xa">
                                              <field name="END">FIRST</field>
                                              <value name="VALUE">
                                                <block type="get_value" id="z`*qzQ5VD}D4x2aBmgBa">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">alexa2.0.History.summary</field>
                                                </block>
                                              </value>
                                              <value name="FIND">
                                                <shadow type="text" id="=SDY/u1Y#~]_%{#8u2q?">
                                                  <field name="TEXT"> </field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number" id="}zdvVy2;C-Jy`,}Gyhxv">
                                              <field name="NUM">1</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="AT2">
                                        <block type="math_arithmetic" id="SH2qw5Y([Kz61GRYELOb">
                                          <field name="OP">MINUS</field>
                                          <value name="A">
                                            <shadow type="math_number" id=":Pt%sy);(Elj}B;/,1ix">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="text_indexOf" id="?4FxA-!N!j0aWW@J,Wve">
                                              <field name="END">FIRST</field>
                                              <value name="VALUE">
                                                <block type="get_value" id="5t07C-miTCblEb7(~GlL">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">alexa2.0.History.summary</field>
                                                </block>
                                              </value>
                                              <value name="FIND">
                                                <shadow type="text" id="frF5wE;Uu[cV+_/+]y;/">
                                                  <field name="TEXT">sprich mir nach</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number" id="46zj.O5@$,TNr[sKB%Wy">
                                              <field name="NUM">2</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="controls_if" id="geG}]-ufGPzpP@6^=bVw">
                                      <mutation elseif="3"></mutation>
                                      <value name="IF0">
                                        <block type="logic_compare" id="fW4caV)A!+`dLiFg~bfn">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="variables_get" id="Ql[tJ[bZ?CLh`KHb,)kB">
                                              <field name="VAR" id="xci3X!4nlXF:sZ?64H_G" variabletype="">Echo_Name</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="text" id="0/Agn1a7].a,Rhx)nIY?">
                                              <field name="TEXT">wohnzimmer</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="variables_set" id="P!g)(]st+nmv0UZfs28R">
                                          <field name="VAR" id="u+Fa?OFVu31w|2/cTtG*" variabletype="">Echo_Seriennummer</field>
                                          <value name="VALUE">
                                            <block type="text" id="xg)l8Pm#XHH+6!6,MG!a">
                                              <field name="TEXT">G090XXXXXXXXXXXX</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <value name="IF1">
                                        <block type="logic_compare" id="!!cFu9dOX/=yhEPQ^w^=">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="variables_get" id="!n?[_;P:i)35RG;!UIe#">
                                              <field name="VAR" id="xci3X!4nlXF:sZ?64H_G" variabletype="">Echo_Name</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="text" id="nU:0EYv*Q4_0H@sMZF|F">
                                              <field name="TEXT">küche</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO1">
                                        <block type="variables_set" id="#e_TZiz/Rx8(Ar).2L9,">
                                          <field name="VAR" id="u+Fa?OFVu31w|2/cTtG*" variabletype="">Echo_Seriennummer</field>
                                          <value name="VALUE">
                                            <block type="text" id="Zf;Wfq|xp*n%z*36XHz`">
                                              <field name="TEXT">G090XXXXXXXXXXXX</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <value name="IF2">
                                        <block type="logic_compare" id=",pLk;xxU3Z3Hclu^dZh`">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="variables_get" id="N)4zi}0hVrOQ.r96$yW=">
                                              <field name="VAR" id="xci3X!4nlXF:sZ?64H_G" variabletype="">Echo_Name</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="text" id="}QhS3;B+Qql+-pN38TgG">
                                              <field name="TEXT">schlafzimmer</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO2">
                                        <block type="variables_set" id="OJg0I9t!rg;1C1*/P{1u">
                                          <field name="VAR" id="u+Fa?OFVu31w|2/cTtG*" variabletype="">Echo_Seriennummer</field>
                                          <value name="VALUE">
                                            <block type="text" id="l=6U^^/CKJcP6RsH;{V+">
                                              <field name="TEXT">G090XXXXXXXXXXXX</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <value name="IF3">
                                        <block type="logic_compare" id="QxAwY#pUT#I!]7ATNXBW">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="variables_get" id="w^V1P07t|9gb*GUt|8$-">
                                              <field name="VAR" id="xci3X!4nlXF:sZ?64H_G" variabletype="">Echo_Name</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="text" id="Wcv?-G=`b^t==g9N#M.{">
                                              <field name="TEXT">italien</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO3">
                                        <block type="variables_set" id=".N/Z4]uMF%m$s}wn4rJD">
                                          <field name="VAR" id="u+Fa?OFVu31w|2/cTtG*" variabletype="">Echo_Seriennummer</field>
                                          <value name="VALUE">
                                            <block type="text" id="efTH4pq)+D!D*Vdam{Qc">
                                              <field name="TEXT">G090XXXXXXXXXXXX</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="control_ex" id="X~Tiu+]Y5hd4Sc;n(jCD">
                                          <field name="TYPE">false</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="OID">
                                            <shadow type="field_oid" id="t*5aSjuTu%);@{ti5y;O">
                                              <field name="oid">Object ID</field>
                                            </shadow>
                                            <block type="text_join" id="(mf@@!nx}pJB._9;:sQ4">
                                              <mutation items="3"></mutation>
                                              <value name="ADD0">
                                                <block type="text" id="]]bUZ,MQP=#JQ?3k-:P6">
                                                  <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                                </block>
                                              </value>
                                              <value name="ADD1">
                                                <block type="variables_get" id="}kMB/?r2/Bq(SGl|Z~LH">
                                                  <field name="VAR" id="u+Fa?OFVu31w|2/cTtG*" variabletype="">Echo_Seriennummer</field>
                                                </block>
                                              </value>
                                              <value name="ADD2">
                                                <block type="text" id="H60usv-3xC(wpzMX*z:*">
                                                  <field name="TEXT">.Commands.speak</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="VALUE">
                                            <shadow type="logic_boolean" id="4Q-~O)0Tq3Bl0SL#OKOU">
                                              <field name="BOOL">TRUE</field>
                                            </shadow>
                                            <block type="text_getSubstring" id="%B5?NrR/^@Yo,^V+%OhP" inline="false">
                                              <mutation at1="true" at2="true"></mutation>
                                              <field name="WHERE1">FROM_START</field>
                                              <field name="WHERE2">FROM_START</field>
                                              <value name="STRING">
                                                <block type="get_value" id="(uO~YUVkgC6)YZfZ(O}6">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">alexa2.0.History.summary</field>
                                                </block>
                                              </value>
                                              <value name="AT1">
                                                <block type="math_arithmetic" id=")%)x6|Y|YNte:#s,[#k6">
                                                  <field name="OP">ADD</field>
                                                  <value name="A">
                                                    <shadow type="math_number" id=":Pt%sy);(Elj}B;/,1ix">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="text_indexOf" id=",|z]4aSUy?sDT,c1AvJL">
                                                      <field name="END">FIRST</field>
                                                      <value name="VALUE">
                                                        <block type="get_value" id="*c~4e(URYo9ak,}l2poM">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">alexa2.0.History.summary</field>
                                                        </block>
                                                      </value>
                                                      <value name="FIND">
                                                        <shadow type="text" id="gG59_T:atKMo)MfX?b8R">
                                                          <field name="TEXT">sprich mir nach</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <shadow type="math_number" id="~hv6Rq;ZlwM/_wQTUG?3">
                                                      <field name="NUM">16</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="AT2">
                                                <block type="text_length" id="j,aA?;CGsN39IC+!p{+c">
                                                  <value name="VALUE">
                                                    <shadow type="text" id="j)^dV@z~!#TrZgQK7!.1">
                                                      <field name="TEXT">abc</field>
                                                    </shadow>
                                                    <block type="get_value" id="4@M4|ZN/?CKJVQ?r{njM">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">alexa2.0.History.summary</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="DELAY_MS">
                                            <shadow type="math_number" id="%fu?CI_z.69W0V8wXiBl">
                                              <field name="NUM">0</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </xml>
                  

                  AphofisA Offline
                  AphofisA Offline
                  Aphofis
                  schrieb am zuletzt editiert von Aphofis
                  #14

                  @padrino
                  Als was wird der Datenpunkt Summary deklariert !?
                  und kann sich der Datenpunkt irgendwo befindet ?
                  ist es denn so korrekt bis auf den noch nicht verknüpften Datenpunkt Summary???

                  Mann Oh Mann Spoiler gefunden, auch den Datenpunkt! Frage hat sich erledigt
                  Nur mit dem Aktiveirungswort habe ich nicht ganz verstanden.
                  Wo kommt es rein um dan Ecko oder Alexa zu aktivieren mit dem Wort???

                  padrinoP 2 Antworten Letzte Antwort
                  0
                  • AphofisA Aphofis

                    @padrino
                    Als was wird der Datenpunkt Summary deklariert !?
                    und kann sich der Datenpunkt irgendwo befindet ?
                    ist es denn so korrekt bis auf den noch nicht verknüpften Datenpunkt Summary???

                    Mann Oh Mann Spoiler gefunden, auch den Datenpunkt! Frage hat sich erledigt
                    Nur mit dem Aktiveirungswort habe ich nicht ganz verstanden.
                    Wo kommt es rein um dan Ecko oder Alexa zu aktivieren mit dem Wort???

                    padrinoP Online
                    padrinoP Online
                    padrino
                    Most Active
                    schrieb am zuletzt editiert von
                    #15

                    @Aphofis

                    Also "summary" ist der Datenpunkt, den der Alexa2 Adapter schon von Haus aus mirbringt, unter

                    alexa2.0.History.summary

                    Und wieso programmierst Du es nach? Du kannst es doch ganz einfach in Blockly importieren (oder geht es darum zu lernen?).
                    Dafür den obigen Quelltext kopieren und dann in einem Blockly blanko Skript einfügen (und nimm V1.5, da musste nicht mehr alle Geräte von Hand eintragen :wink:)

                    blockly_import.png

                    AphofisA 1 Antwort Letzte Antwort
                    1
                    • padrinoP padrino

                      @Aphofis

                      Also "summary" ist der Datenpunkt, den der Alexa2 Adapter schon von Haus aus mirbringt, unter

                      alexa2.0.History.summary

                      Und wieso programmierst Du es nach? Du kannst es doch ganz einfach in Blockly importieren (oder geht es darum zu lernen?).
                      Dafür den obigen Quelltext kopieren und dann in einem Blockly blanko Skript einfügen (und nimm V1.5, da musste nicht mehr alle Geräte von Hand eintragen :wink:)

                      blockly_import.png

                      AphofisA Offline
                      AphofisA Offline
                      Aphofis
                      schrieb am zuletzt editiert von
                      #16

                      @padrino sagte in "Sprich mir nach" auf Echo XY:

                      @Aphofis

                      Also "summary" ist der Datenpunkt, den der Alexa2 Adapter schon von Haus aus mirbringt, unter

                      alexa2.0.History.summary

                      Und wieso programmierst Du es nach? Du kannst es doch ganz einfach in Blockly importieren (oder geht es darum zu lernen?).
                      Dafür den obigen Quelltext kopieren und dann in einem Blockly blanko Skript einfügen (und nimm V1.5, da musste nicht mehr alle Geräte von Hand eintragen :wink:)

                      blockly_import.png

                      Ne spoiler nicht gesehen! War ein anstrengender Tag aber so kann man auch lernen.

                      1 Antwort Letzte Antwort
                      0
                      • AphofisA Aphofis

                        @padrino
                        Als was wird der Datenpunkt Summary deklariert !?
                        und kann sich der Datenpunkt irgendwo befindet ?
                        ist es denn so korrekt bis auf den noch nicht verknüpften Datenpunkt Summary???

                        Mann Oh Mann Spoiler gefunden, auch den Datenpunkt! Frage hat sich erledigt
                        Nur mit dem Aktiveirungswort habe ich nicht ganz verstanden.
                        Wo kommt es rein um dan Ecko oder Alexa zu aktivieren mit dem Wort???

                        padrinoP Online
                        padrinoP Online
                        padrino
                        Most Active
                        schrieb am zuletzt editiert von
                        #17

                        @Aphofis sagte in "Sprich mir nach" auf Echo XY:

                        Mann Oh Mann Spoiler gefunden, auch den Datenpunkt! Frage hat sich erledigt

                        Ok. =)

                        Nur mit dem Aktiveirungswort habe ich nicht ganz verstanden.
                        Wo kommt es rein um dan Ecko oder Alexa zu aktivieren mit dem Wort???

                        Wie meinste das?
                        Meinst Du den Aufruf?

                        Ein Beispiel (Echo Dot heißt bei mir "Küche Bad"):

                        • Alexa, in Küche sprich mir nach das ist ein test
                        • Alexa, im Bad sprich mir nach kaum zu glauben komma noch ein test
                        AphofisA 1 Antwort Letzte Antwort
                        0
                        • padrinoP padrino

                          @Aphofis sagte in "Sprich mir nach" auf Echo XY:

                          Mann Oh Mann Spoiler gefunden, auch den Datenpunkt! Frage hat sich erledigt

                          Ok. =)

                          Nur mit dem Aktiveirungswort habe ich nicht ganz verstanden.
                          Wo kommt es rein um dan Ecko oder Alexa zu aktivieren mit dem Wort???

                          Wie meinste das?
                          Meinst Du den Aufruf?

                          Ein Beispiel (Echo Dot heißt bei mir "Küche Bad"):

                          • Alexa, in Küche sprich mir nach das ist ein test
                          • Alexa, im Bad sprich mir nach kaum zu glauben komma noch ein test
                          AphofisA Offline
                          AphofisA Offline
                          Aphofis
                          schrieb am zuletzt editiert von
                          #18

                          @padrino
                          Irgendwie klappt das bei mir nicht!
                          wenn ich sage Ecko im Wohnzimmer sprich mir nach das ist ein test
                          dann kommt nix

                          1 Antwort Letzte Antwort
                          0
                          • padrinoP Online
                            padrinoP Online
                            padrino
                            Most Active
                            schrieb am zuletzt editiert von padrino
                            #19

                            Du hast V1.5 importiert?

                            Was steht denn in "summary" drin, nachdem Du den Befehl gesagt hast (also, was hat Alexa genau verstanden)?

                            (übrigens, dass Alexa evtl. noch dazwischen funkt ist normal und kann ich auch nix dagegen machen, sobald man aber das "ok" hört, sollt es klappen)

                            AphofisA 2 Antworten Letzte Antwort
                            0
                            • padrinoP padrino

                              Du hast V1.5 importiert?

                              Was steht denn in "summary" drin, nachdem Du den Befehl gesagt hast (also, was hat Alexa genau verstanden)?

                              (übrigens, dass Alexa evtl. noch dazwischen funkt ist normal und kann ich auch nix dagegen machen, sobald man aber das "ok" hört, sollt es klappen)

                              AphofisA Offline
                              AphofisA Offline
                              Aphofis
                              schrieb am zuletzt editiert von Aphofis
                              #20

                              @padrino kommt kein ok!
                              Wenn ich sage: "Ecko im wohnzimmer sprich mir nach kaum zu glauben kommt deding und nix weiter
                              Was ist denn V 1.5 ???
                              Gesehen! Sorry
                              ich importiere mal die Version 1.5 und gucke dann

                              padrinoP 2 Antworten Letzte Antwort
                              0
                              • padrinoP padrino

                                Du hast V1.5 importiert?

                                Was steht denn in "summary" drin, nachdem Du den Befehl gesagt hast (also, was hat Alexa genau verstanden)?

                                (übrigens, dass Alexa evtl. noch dazwischen funkt ist normal und kann ich auch nix dagegen machen, sobald man aber das "ok" hört, sollt es klappen)

                                AphofisA Offline
                                AphofisA Offline
                                Aphofis
                                schrieb am zuletzt editiert von
                                #21

                                @padrino
                                Meine Serien Nummern, muss ich wohl anscheinend nicht mehr eingeben !?

                                1 Antwort Letzte Antwort
                                0
                                • AphofisA Aphofis

                                  @padrino kommt kein ok!
                                  Wenn ich sage: "Ecko im wohnzimmer sprich mir nach kaum zu glauben kommt deding und nix weiter
                                  Was ist denn V 1.5 ???
                                  Gesehen! Sorry
                                  ich importiere mal die Version 1.5 und gucke dann

                                  padrinoP Online
                                  padrinoP Online
                                  padrino
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #22

                                  @Aphofis sagte in "Sprich mir nach" auf Echo XY:

                                  Was ist denn V 1.5 ???

                                  Vielleicht sollte ich die alte Version ganz raus nehmen, verwirrt wohl nur... :flushed:

                                  Wenn es nicht klappt, dann müsste ich wissen, was in Summary steht, um zu schauen, wo der Fehler liegen könnte.
                                  summary.png

                                  AphofisA 1 Antwort Letzte Antwort
                                  1
                                  • AphofisA Offline
                                    AphofisA Offline
                                    Aphofis
                                    schrieb am zuletzt editiert von
                                    #23

                                    Also Ecko sagt nur Ok und er fängt auch an dazwischen zu quatschen aber es kommt dann nur Ok

                                    1 Antwort Letzte Antwort
                                    0
                                    • padrinoP padrino

                                      @Aphofis sagte in "Sprich mir nach" auf Echo XY:

                                      Was ist denn V 1.5 ???

                                      Vielleicht sollte ich die alte Version ganz raus nehmen, verwirrt wohl nur... :flushed:

                                      Wenn es nicht klappt, dann müsste ich wissen, was in Summary steht, um zu schauen, wo der Fehler liegen könnte.
                                      summary.png

                                      AphofisA Offline
                                      AphofisA Offline
                                      Aphofis
                                      schrieb am zuletzt editiert von Aphofis
                                      #24

                                      @padrino
                                      Das steht bei mir drin!
                                      Bildschirmfoto 2019-10-08 um 19.59.37.png
                                      Obwohl ich sage
                                      Ecko im wohnzimmer sprich mir nach das ist ein test

                                      AphofisA 1 Antwort Letzte Antwort
                                      0
                                      • AphofisA Aphofis

                                        @padrino
                                        Das steht bei mir drin!
                                        Bildschirmfoto 2019-10-08 um 19.59.37.png
                                        Obwohl ich sage
                                        Ecko im wohnzimmer sprich mir nach das ist ein test

                                        AphofisA Offline
                                        AphofisA Offline
                                        Aphofis
                                        schrieb am zuletzt editiert von
                                        #25

                                        Wenn ich sage Ecko sprich mir nach das ist ein test
                                        dann kommt
                                        das ist ein Test

                                        padrinoP 1 Antwort Letzte Antwort
                                        0
                                        • padrinoP Online
                                          padrinoP Online
                                          padrino
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #26

                                          a) schau Dir mal den Datenpunkt live an (der ändert sich ja), steht da evtl. bei Deiner Anfrage das Wort "Echo" mit drin?

                                          b) was sagt der Datenpunkt "speak" von Deinem Echo Wohnzimmer, leer?

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          749

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          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