Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Cloud Dienste
    4. Iobroker.alexa2 v0.4+

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Iobroker.alexa2 v0.4+

    This topic has been deleted. Only users with topic management privileges can see it.
    • JohGre
      JohGre last edited by

      Hallo,

      verwendet den Adapter nun schon seit den ersten Versionen und bin super zufrieden damit. 😄

      Großes Danke an die Entwickler, habe aber trotzdem eine Frage.

      Es werden ja in der Objekt-Struktur auch andere Amazon-Devices wie Fire TV Stick und Fire TV angezeigt. Ein Attribut dieser Devices ist online, welches meiner Erwartungshaltung nach anzeigt ob das Gerät online ist oder nicht, sprich eingeschaltet.

      Leider wird dieses Attribut zu keiner Zeit auf einen anderen Wert als false gesetzt, funktioniert da was nicht oder ist da noch was nicht fertig? :?

      Würde nämlich gerne über diese Status die Jalousien im Zimmer schließen wenn der Stick online geht.

      Habe auch schon den Fire TV Adapter mit adb Verbindung probiert, aber auch der bekommt, wenn er mal läuft, Änderungen nicht mit.

      Danke

      1 Reply Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active last edited by

        viewtopic.php?f=37&t=15547&hilit=tv&start=500#p168346

        1 Reply Last reply Reply Quote 0
        • JohGre
          JohGre last edited by

          OK

          Danke, schade.

          1 Reply Last reply Reply Quote 0
          • S
            Secrenz last edited by

            Guten morgen an alle 🙂

            ich hab da so ein paar Probleme, ich kann den Adapter installieren aber er schafft es nicht sich die Cookies zu holen.

            Passwort und Adresse meines Amazon Acc. sind richtig.

            Im Log steht immer nur
            ` > alexa2.0 2018-08-16 10:44:26.607 warn Exception: TypeError: Cannot read property 'alexaCookie' of undefined

            alexa2.0 2018-08-16 10:44:26.602 error at process._tickCallback (internal/process/next_tick.js:104:9)

            alexa2.0 2018-08-16 10:44:26.602 error at _combinedTickCallback (internal/process/next_tick.js:80:11)

            alexa2.0 2018-08-16 10:44:26.602 error at endReadableNT (_stream_readable.js:974:12)

            alexa2.0 2018-08-16 10:44:26.602 error at IncomingMessage.emit (events.js:185:7)

            alexa2.0 2018-08-16 10:44:26.602 error at emitNone (events.js:91:20)

            alexa2.0 2018-08-16 10:44:26.602 error at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/alexa-cookie2/alexa-cookie.js:107:33)

            alexa2.0 2018-08-16 10:44:26.602 error at request (/opt/iobroker/node_modules/alexa-cookie2/alexa-cookie.js:162:25)

            alexa2.0 2018-08-16 10:44:26.602 error at /opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:88:29

            alexa2.0 2018-08-16 10:44:26.602 error TypeError: Cannot read property 'alexaCookie' of undefined

            alexa2.0 2018-08-16 10:44:26.598 error uncaught exception: Cannot read property 'alexaCookie' of undefined

            alexa2.0 2018-08-16 10:44:20.411 info starting. Version 0.4.0 in /opt/iobroker/node_modules/iobroker.alexa2, node: v6.13.0</anonymous> `

            kann mir jemand helfen?

            Vielen Dank schonmal

            iobroker Version: 3.5.1

            Node Version: 6.13.0

            1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 last edited by

              @sigi234:

              Hallo,

              habe jetzt zum 2.Mal die Objekte: Echo-Device und History verloren bzw. sie wurden nicht angezeigt.

              Nach einen Adapter-Restart kommen sie wieder. Aber ich hatte vorher einige Objekte mit History aufzeichnen lassen, diese wurden dann automatisch deaktiviert.

              Habe leider den Adapter auf INFO umgestellt, daher kein Debug Log…..

              history.0	2018-08-16 09:02:24.656	info	disabled logging of alexa2.0.History.summary
              history.0	2018-08-16 09:02:24.483	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5bc417fc.Player.volume
              history.0	2018-08-16 09:02:24.454	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxxxxxxxxx315bc417fc.Player.currentAlbum
              history.0	2018-08-16 09:02:24.453	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxxxxxxxxxx39315bc417fc.Player.currentArtist
              history.0	2018-08-16 09:02:24.450	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxxxxxxxxxxxc.Player.currentTitle
              history.0	2018-08-16 09:02:24.172	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxx14T6.Player.volume
              history.0	2018-08-16 09:02:24.141	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxxxx214T6.Player.currentAlbum
              history.0	2018-08-16 09:02:24.138	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxx214T6.Player.currentArtist
              history.0	2018-08-16 09:02:24.135	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxxxxxxxx804214T6.Player.currentTitle
              history.0	2018-08-16 09:02:23.812	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxxxx501XG.Player.volume
              history.0	2018-08-16 09:02:23.781	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxxxx01XG.Player.currentAlbum
              history.0	2018-08-16 09:02:23.779	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxxxxxxxx501XG.Player.currentArtist
              history.0	2018-08-16 09:02:23.776	info	disabled logging of alexa2.0.Echo-Devices.xxxxxxxxxxxxxxxxxxxxxxx01XG.Player.currentTitle
              alexa2.0	2018-08-16 09:02:23.509	info	Alexa-Push-Connection established. Disable Polling
              alexa2.0	2018-08-16 09:02:20.175	info	starting. Version 0.4.0 in C:/ioBroker/node_modules/iobroker.alexa2, node: v8.11.3
              host.Medion	2018-08-16 09:02:18.868	info	instance system.adapter.alexa2.0 started with pid 10728
              host.Medion	2018-08-16 09:02:16.346	info	instance system.adapter.alexa2.0 terminated with code null ()
              host.Medion	2018-08-16 09:02:16.346	warn	instance system.adapter.alexa2.0 terminated due to SIGTERM
              host.Medion	2018-08-16 09:02:16.334	info	stopInstance system.adapter.alexa2.0 killing pid 3620
              host.Medion	2018-08-16 09:02:16.334	info	stopInstance system.adapter.alexa2.0
              host.Medion	2018-08-16 09:02:16.333	info	object change system.adapter.alexa2.0
              ```` `  
              

              Also wenn ich das log korrekt verstehe passiert es direkt beim Start? Aber auch dann sollte es ein Logging geben wenn er states löscht. Ich kann nur sagen schalt debug ein auch wenn es inzwischen viel ist und warte bis es wieder passiert das wir log haben. Sorry. Bist aktuell der einzige bei dem das passiert … strange!

              1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 last edited by

                @JohGre:

                Hallo,

                verwendet den Adapter nun schon seit den ersten Versionen und bin super zufrieden damit. 😄

                Großes Danke an die Entwickler, habe aber trotzdem eine Frage.

                Es werden ja in der Objekt-Struktur auch andere Amazon-Devices wie Fire TV Stick und Fire TV angezeigt. Ein Attribut dieser Devices ist online, welches meiner Erwartungshaltung nach anzeigt ob das Gerät online ist oder nicht, sprich eingeschaltet.

                Leider wird dieses Attribut zu keiner Zeit auf einen anderen Wert als false gesetzt, funktioniert da was nicht oder ist da noch was nicht fertig? :?

                Würde nämlich gerne über diese Status die Jalousien im Zimmer schließen wenn der Stick online geht.

                Habe auch schon den Fire TV Adapter mit adb Verbindung probiert, aber auch der bekommt, wenn er mal läuft, Änderungen nicht mit.

                Danke `

                Also wenn Du die "Push-Verbindung" aktivierst sollte der Online-Status der Devices aktualisiert werden, so wie es gemeldet wird.

                1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 last edited by

                  @Secrenz:

                  Guten morgen an alle 🙂

                  ich hab da so ein paar Probleme, ich kann den Adapter installieren aber er schafft es nicht sich die Cookies zu holen.

                  Passwort und Adresse meines Amazon Acc. sind richtig.

                  Im Log steht immer nur
                  ` > alexa2.0 2018-08-16 10:44:26.607 warn Exception: TypeError: Cannot read property 'alexaCookie' of undefined

                  alexa2.0 2018-08-16 10:44:26.602 error at process._tickCallback (internal/process/next_tick.js:104:9)

                  alexa2.0 2018-08-16 10:44:26.602 error at _combinedTickCallback (internal/process/next_tick.js:80:11)

                  alexa2.0 2018-08-16 10:44:26.602 error at endReadableNT (_stream_readable.js:974:12)

                  alexa2.0 2018-08-16 10:44:26.602 error at IncomingMessage.emit (events.js:185:7)

                  alexa2.0 2018-08-16 10:44:26.602 error at emitNone (events.js:91:20)

                  alexa2.0 2018-08-16 10:44:26.602 error at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/alexa-cookie2/alexa-cookie.js:107:33)

                  alexa2.0 2018-08-16 10:44:26.602 error at request (/opt/iobroker/node_modules/alexa-cookie2/alexa-cookie.js:162:25)

                  alexa2.0 2018-08-16 10:44:26.602 error at /opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:88:29

                  alexa2.0 2018-08-16 10:44:26.602 error TypeError: Cannot read property 'alexaCookie' of undefined

                  alexa2.0 2018-08-16 10:44:26.598 error uncaught exception: Cannot read property 'alexaCookie' of undefined

                  alexa2.0 2018-08-16 10:44:20.411 info starting. Version 0.4.0 in /opt/iobroker/node_modules/iobroker.alexa2, node: v6.13.0</anonymous> `

                  kann mir jemand helfen?

                  Vielen Dank schonmal

                  iobroker Version: 3.5.1

                  Node Version: 6.13.0 `

                  Known bug in 0.4.0 wie hier und in 2 anderen threads schon dokumentiert … Wird in nächster Version behoben sein.Denke heute Abend, spätestens morgen.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Secrenz last edited by

                    Ah das hab ich leider nicht gelesen

                    Sry 🙂

                    Aber danke für die schnelle Antwort, dann werde ich paar Tage mal warten und dann gebe ich auch mal mein Senf dazu xD

                    1 Reply Last reply Reply Quote 0
                    • JohGre
                      JohGre last edited by

                      > Also wenn Du die "Push-Verbindung" aktivierst sollte der Online-Status der Devices aktualisiert werden, so wie es gemeldet wird.

                      Push-Verbindung ist aktiviert aber trotzdem keine Aktualisierung des Online-Status 😞

                      Hab den Datenpunkt auch für den History Adapter aktiviert, und auch da keinerlei Änderung des Wertes.

                      1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 last edited by

                        Dann schalt mal Debug ein. Da siehst Du im log z.B. unter "Alexa-Remote WS-MQTT: Command …" sehr genau was an Kommandos reinkommen.

                        Was nicht reinkommt kann der Adapter nicht melden.

                        Bzw stimmt der Online-Status in der Alexa-App?

                        1 Reply Last reply Reply Quote 0
                        • E
                          eve11 last edited by

                          Hallo zusammen,

                          ich habe insgesamt 4 Alexa Geräte:

                          1 x Echo

                          1 x Dot

                          1 x Show

                          1 x Spot

                          Mein Problem ist, dass ich keine Lautstärke mit IOB steuern kann, auf allen Geräten. Dabei hat alles sowohl direkt über Objekte als auch über Vis ohne Probleme funktioniert. Wenn ich über die Alexa App auf dem Handy die Lautstärke verändere sehe ich dies auch jeweils bei dem Lautstärke Objekt (Player/Volume) bei dem dementsprechenden Echo.

                          Auch alle Punkte aus "Commands" haben keine Funktion mehr.

                          Folgendes habe ich schon probiert:

                          • Neustart Adapter

                          • Neustart IoBroker

                          • Verschiedene Versionen von Alexa 2 Adapter

                          • Neu angemeldet

                          Update:

                          Auch das Objekt "Speak" funktioniert auf keinem Echo. D.h. alle Scripte funktionieren dementsprechend nicht mehr.

                          Update:

                          Meine Adapter Version ist 0.4

                          Wenn ich die Lautstärke ändern möchte kommt folgendes im Logfile

                          alexa2.0	2018-08-16 12:28:57.966	debug	Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"
                          alexa2.0	2018-08-16 12:28:57.966	debug	Alexa-Remote: No authentication check needed (time elapsed 27377)
                          alexa2.0	2018-08-16 12:28:57.965	debug	State changed alexa2.0.Echo-Devices.G000MW0xxxxxxxxx.Player.volume: {"val":82,"ack":false,"ts":1534415337959,"q":0,"from":"system.adapter.admin.0","lc":1534415337959}
                          

                          In diesem Fall wollte ich die Lautstärke auf 82 setzen, es passiert aber nichts. Wenn ich die Lautstärke via Alexa verändere wird diese korrekt angezeigt.

                          Das selbe Problem / Meldung kommt auch wenn ich mittels "Speak" eine Befehl absetzen möchte.

                          Vielen Dank für eure Hilfe.

                          eve11

                          1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 last edited by

                            Naja das Spannende kommt in dem Log was nicht gepostet ist … also zeitlich danach.

                            nach einem "Request" müsste ein "Response" kommen und 2-5 Sekunden danach (nicht mehr im Kopf) sollten alle Player-States aktualisiert werden ... Falls die Push-verbindung eingeschaltet ist müsste noch mehr im Log stehen.

                            Also mehr Daten bitte

                            1 Reply Last reply Reply Quote 0
                            • JohGre
                              JohGre last edited by

                              ` > Dann schalt mal Debug ein. Da siehst Du im log z.B. unter "Alexa-Remote WS-MQTT: Command …" sehr genau was an Kommandos reinkommen.

                              Was nicht reinkommt kann der Adapter nicht melden.

                              Bzw stimmt der Online-Status in der Alexa-App? `

                              So Debug ist ein und es kommt keinerlei Meldung bzgl. Statusänderung eines Fire TV Sticks. Auch in der Alexa APP ist der Status nicht ersichtlich. Somit hat dieses Attribut keinen verwendbaren Wert für mich. 😞

                              1 Reply Last reply Reply Quote 0
                              • sigi234
                                sigi234 Forum Testing Most Active last edited by

                                @eve11:

                                • Verschiedene Versionen von Alexa 2 Adapter

                                eve11 `

                                Warum verschiedene Versionen, sind die zuvor deinstalliert worden, und die Objekte gelöscht?

                                Welches System verwendest du ,Adapter alle aktuell?

                                NPM Version?

                                Node Version?

                                Sigi

                                1 Reply Last reply Reply Quote 0
                                • E
                                  eve11 last edited by

                                  Hier alles was ich nach einer Lautstärken Änderung bekomme. In diesem Fall auf "20".

                                  alexa2.0	2018-08-16 13:01:34.822	debug	Alexa-Remote WS-MQTT: Received Pong
                                  alexa2.0	2018-08-16 13:01:34.720	debug	Alexa-Remote WS-MQTT: Send Ping
                                  alexa2.0	2018-08-16 13:01:06.210	debug	State changed alexa2.0.Echo-Devices.G000MW0xxxxxxxxxx.Player.muted: {"val":false,"ack":true,"ts":1534417266207,"q":0,"from":"system.adapter.alexa2.0","lc":1534413932342}
                                  alexa2.0	2018-08-16 13:01:06.208	debug	State changed alexa2.0.Echo-Devices.G000MW0xxxxxxxxxx.Player.volume: {"val":50,"ack":true,"ts":1534417266205,"q":0,"from":"system.adapter.alexa2.0","lc":1534417266205}
                                  alexa2.0	2018-08-16 13:01:06.204	info	Alexa-Push-Connection Device Volume change for G000MW0xxxxxxxxxx -> 50/false
                                  alexa2.0	2018-08-16 13:01:06.204	debug	Alexa-Remote WS-MQTT: Command PUSH_VOLUME_CHANGE: { "destinationUserId": "A2Z9TULxxxxxxx", "dopplerId": { "deviceSerialNumber": "G000MW0xxxxxxxxxx", "deviceType": "A1NL4xxxxxxxx
                                  alexa2.0	2018-08-16 13:01:06.204	info	Alexa-Push-Connection Unknown Command - send to Developer: {"destinationUserId":"A2Z9TULxxxxxxx","bass":0,"treble":0,"dopplerId":{"deviceSerialNumber":"G000MW0xxxxxxxxxx","deviceType":"A1NL4Bxxxxxxxx"}
                                  alexa2.0	2018-08-16 13:01:06.204	debug	Alexa-Remote WS-MQTT: Command PUSH_EQUALIZER_STATE_CHANGE: { "destinationUserId": "A2Z9TULxxxxxxx", "bass": 0, "treble": 0, "dopplerId": { "deviceSerialNumber": "G000MW07xxxxxx
                                  alexa2.0	2018-08-16 12:58:34.817	debug	Alexa-Remote WS-MQTT: Received Pong
                                  alexa2.0	2018-08-16 12:58:34.716	debug	Alexa-Remote WS-MQTT: Send Ping
                                  alexa2.0	2018-08-16 12:58:34.055	debug	system.adapter.admin.0: logging true
                                  alexa2.0	2018-08-16 12:58:11.680	debug	Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\
                                  alexa2.0	2018-08-16 12:58:11.680	debug	Alexa-Remote: No authentication check needed (time elapsed 530645)
                                  alexa2.0	2018-08-16 12:58:11.680	debug	State changed alexa2.0.Echo-Devices.G000MW0xxxxxxxxxx.Player.volume: {"val":20,"ack":false,"ts":1534417091678,"q":0,"from":"system.adapter.admin.0","lc":1534417091678
                                  

                                  Node.js: v6.12.2

                                  NPM: 3.10.10

                                  Ja, ich habe den kompletten Adapter und Objekte einmal gelöscht und wieder neu installiert.Vorher hatte ich auch andere Versionen vom Adapter probiert, aber immer das selbe Ergebnis.

                                  Danke

                                  eve11

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Apropo last edited by

                                    Ich benutze aktuell noch die Version 0.3.8

                                    Bisher ist alles gut gelaufen. Heute morgen dann ohne irgendwas zu ändern folgene Meldung in den Logs

                                    javascript.0	2018-08-16 13:33:40.852	warn	at Object. <anonymous>(script.js.Meine_Schalter.Anrufer:24:7)
                                    javascript.0	2018-08-16 13:33:40.842	warn	Wrong type of alexa2.0.Echo-Devices.G090LF1174660MWC.Player.volume: "string". Please fix, while deprecated and will not work in next versions.
                                    javascript.0	2018-08-16 13:32:47.993	info	script.js.Meine_Schalter.Anrufer: registered 1 subscription and 0 schedules
                                    javascript.0	2018-08-16 13:32:47.982	info	Start javascript script.js.Meine_Schalter.Anrufer
                                    javascript.0	2018-08-16 13:32:41.009	info	Stop script script.js.Meine_Schalter.Anrufer
                                    javascript.0	2018-08-16 13:23:55.514	info	Stop script script.js.Meine_Schalter.Skript1
                                    alexa2.0	2018-08-16 11:39:49.949	warn	Device-type:A2M4YX06LWP8WI (MICROPHONE,PEONY,ASX_TIME_ZONE,VOLUME_SETTING,SUPPORTS_SOFTWARE_VERSION)
                                    alexa2.0	2018-08-16 11:39:49.946	warn	Disabling some commands for device because of unknown type. Report to developer as GitHub issue with details for device. Please grab full next line pot. from logfile on disk if cutted
                                    alexa2.0	2018-08-16 11:39:46.755	info	starting. Version 0.3.8 in /opt/iobroker/node_modules/iobroker.alexa2, node: v6.14.3
                                    host.iobrokervm	2018-08-16 11:39:45.702	info	instance system.adapter.alexa2.0 started with pid 4774
                                    host.iobrokervm	2018-08-16 11:39:15.668	info	Restart adapter system.adapter.alexa2.0 because enabled
                                    host.iobrokervm	2018-08-16 11:39:15.668	error	instance system.adapter.alexa2.0 terminated with code 0 (OK)
                                    Caught	2018-08-16 11:39:15.668	error	by controller[1]: at TCP.done [as _onclose] (_tls_wrap.js:332:7)
                                    Caught	2018-08-16 11:39:15.668	error	by controller[1]: at _handle.close (net.js:509:12)
                                    Caught	2018-08-16 11:39:15.668	error	by controller[1]: at TLSSocket.emit (events.js:188:7)
                                    Caught	2018-08-16 11:39:15.668	error	by controller[1]: at emitOne (events.js:101:20)
                                    Caught	2018-08-16 11:39:15.667	error	by controller[1]: at TLSSocket.socketCloseListener (_http_client.js:290:9)
                                    Caught	2018-08-16 11:39:15.667	error	by controller[1]: at ClientRequest.emit (events.js:188:7)
                                    Caught	2018-08-16 11:39:15.667	error	by controller[1]: at emitOne (events.js:96:13)
                                    Caught	2018-08-16 11:39:15.667	error	by controller[1]: at ClientRequest. <anonymous>(/opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:377:24)
                                    Caught	2018-08-16 11:39:15.667	error	by controller[1]: at /opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:392:16
                                    Caught	2018-08-16 11:39:15.667	error	by controller[1]: at /opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:283:52
                                    Caught	2018-08-16 11:39:15.667	error	by controller[1]: TypeError: Cannot read property 'password' of undefined
                                    Caught	2018-08-16 11:39:15.666	error	by controller[0]: at process._tickCallback (internal/process/next_tick.js:104:9)
                                    Caught	2018-08-16 11:39:15.666	error	by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:80:11)
                                    Caught	2018-08-16 11:39:15.666	error	by controller[0]: at emitErrorNT (net.js:1290:8)
                                    Caught	2018-08-16 11:39:15.666	error	by controller[0]: at TLSSocket.emit (events.js:188:7)
                                    Caught	2018-08-16 11:39:15.666	error	by controller[0]: at emitOne (events.js:96:13)
                                    Caught	2018-08-16 11:39:15.666	error	by controller[0]: at TLSSocket.socketErrorListener (_http_client.js:314:9)
                                    Caught	2018-08-16 11:39:15.666	error	by controller[0]: at ClientRequest.emit (events.js:188:7)
                                    Caught	2018-08-16 11:39:15.665	error	by controller[0]: at emitOne (events.js:96:13)
                                    Caught	2018-08-16 11:39:15.665	error	by controller[0]: at ClientRequest. <anonymous>(/opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:377:24)
                                    Caught	2018-08-16 11:39:15.665	error	by controller[0]: at /opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:392:16
                                    Caught	2018-08-16 11:39:15.664	error	by controller[0]: at /opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:283:52
                                    Caught	2018-08-16 11:39:15.659	error	by controller[0]: TypeError: Cannot read property 'password' of undefined</anonymous></anonymous></anonymous>
                                    

                                    Da ich jetzt gelesen habe, dass die Version 0.4 wohl auch noch nicht richtig läuft … Soll ich lieber noch auf ein weiteres Update warten, oder schon das Update auf 0.4 machen?

                                    1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 last edited by

                                      @eve11:

                                      Hier alles was ich nach einer Lautstärken Änderung bekomme. In diesem Fall auf "20".

                                      alexa2.0	2018-08-16 13:01:34.822	debug	Alexa-Remote WS-MQTT: Received Pong
                                      alexa2.0	2018-08-16 13:01:34.720	debug	Alexa-Remote WS-MQTT: Send Ping
                                      alexa2.0	2018-08-16 13:01:06.210	debug	State changed alexa2.0.Echo-Devices.G000MW0xxxxxxxxxx.Player.muted: {"val":false,"ack":true,"ts":1534417266207,"q":0,"from":"system.adapter.alexa2.0","lc":1534413932342}
                                      alexa2.0	2018-08-16 13:01:06.208	debug	State changed alexa2.0.Echo-Devices.G000MW0xxxxxxxxxx.Player.volume: {"val":50,"ack":true,"ts":1534417266205,"q":0,"from":"system.adapter.alexa2.0","lc":1534417266205}
                                      alexa2.0	2018-08-16 13:01:06.204	info	Alexa-Push-Connection Device Volume change for G000MW0xxxxxxxxxx -> 50/false
                                      alexa2.0	2018-08-16 13:01:06.204	debug	Alexa-Remote WS-MQTT: Command PUSH_VOLUME_CHANGE: { "destinationUserId": "A2Z9TULxxxxxxx", "dopplerId": { "deviceSerialNumber": "G000MW0xxxxxxxxxx", "deviceType": "A1NL4xxxxxxxx
                                      alexa2.0	2018-08-16 13:01:06.204	info	Alexa-Push-Connection Unknown Command - send to Developer: {"destinationUserId":"A2Z9TULxxxxxxx","bass":0,"treble":0,"dopplerId":{"deviceSerialNumber":"G000MW0xxxxxxxxxx","deviceType":"A1NL4Bxxxxxxxx"}
                                      alexa2.0	2018-08-16 13:01:06.204	debug	Alexa-Remote WS-MQTT: Command PUSH_EQUALIZER_STATE_CHANGE: { "destinationUserId": "A2Z9TULxxxxxxx", "bass": 0, "treble": 0, "dopplerId": { "deviceSerialNumber": "G000MW07xxxxxx
                                      alexa2.0	2018-08-16 12:58:34.817	debug	Alexa-Remote WS-MQTT: Received Pong
                                      alexa2.0	2018-08-16 12:58:34.716	debug	Alexa-Remote WS-MQTT: Send Ping
                                      alexa2.0	2018-08-16 12:58:34.055	debug	system.adapter.admin.0: logging true
                                      alexa2.0	2018-08-16 12:58:11.680	debug	Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}}and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\
                                      alexa2.0	2018-08-16 12:58:11.680	debug	Alexa-Remote: No authentication check needed (time elapsed 530645)
                                      alexa2.0	2018-08-16 12:58:11.680	debug	State changed alexa2.0.Echo-Devices.G000MW0xxxxxxxxxx.Player.volume: {"val":20,"ack":false,"ts":1534417091678,"q":0,"from":"system.adapter.admin.0","lc":1534417091678
                                      

                                      Node.js: v6.12.2

                                      NPM: 3.10.10

                                      Ja, ich habe den kompletten Adapter und Objekte einmal gelöscht und wieder neu installiert.Vorher hatte ich auch andere Versionen vom Adapter probiert, aber immer das selbe Ergebnis.

                                      Danke

                                      eve11 `

                                      Tja, scheinbar hat Alexa die Volume Änderung nicht akzeptiert weil Sie im Event den Wert 50 zurückliefert …

                                      Kannst Du per Alexa-App eine Routine anlegen die für dieses Device die Lautstärke ändert und tut das? Wenn ja bitte Routine lassen und Debug log vom Adapterstart (komplett und aus dem Logfile unter /opt/iobroker/log/ senden als PN oder so.

                                      1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 last edited by

                                        @Apropo:

                                        Ich benutze aktuell noch die Version 0.3.8

                                        Bisher ist alles gut gelaufen. Heute morgen dann ohne irgendwas zu ändern folgene Meldung in den Logs

                                        javascript.0	2018-08-16 13:33:40.852	warn	at Object. <anonymous>(script.js.Meine_Schalter.Anrufer:24:7)
                                        javascript.0	2018-08-16 13:33:40.842	warn	Wrong type of alexa2.0.Echo-Devices.G090LF1174660MWC.Player.volume: "string". Please fix, while deprecated and will not work in next versions.
                                        javascript.0	2018-08-16 13:32:47.993	info	script.js.Meine_Schalter.Anrufer: registered 1 subscription and 0 schedules
                                        javascript.0	2018-08-16 13:32:47.982	info	Start javascript script.js.Meine_Schalter.Anrufer
                                        javascript.0	2018-08-16 13:32:41.009	info	Stop script script.js.Meine_Schalter.Anrufer
                                        javascript.0	2018-08-16 13:23:55.514	info	Stop script script.js.Meine_Schalter.Skript1
                                        alexa2.0	2018-08-16 11:39:49.949	warn	Device-type:A2M4YX06LWP8WI (MICROPHONE,PEONY,ASX_TIME_ZONE,VOLUME_SETTING,SUPPORTS_SOFTWARE_VERSION)
                                        alexa2.0	2018-08-16 11:39:49.946	warn	Disabling some commands for device because of unknown type. Report to developer as GitHub issue with details for device. Please grab full next line pot. from logfile on disk if cutted
                                        alexa2.0	2018-08-16 11:39:46.755	info	starting. Version 0.3.8 in /opt/iobroker/node_modules/iobroker.alexa2, node: v6.14.3
                                        host.iobrokervm	2018-08-16 11:39:45.702	info	instance system.adapter.alexa2.0 started with pid 4774
                                        host.iobrokervm	2018-08-16 11:39:15.668	info	Restart adapter system.adapter.alexa2.0 because enabled
                                        host.iobrokervm	2018-08-16 11:39:15.668	error	instance system.adapter.alexa2.0 terminated with code 0 (OK)
                                        Caught	2018-08-16 11:39:15.668	error	by controller[1]: at TCP.done [as _onclose] (_tls_wrap.js:332:7)
                                        Caught	2018-08-16 11:39:15.668	error	by controller[1]: at _handle.close (net.js:509:12)
                                        Caught	2018-08-16 11:39:15.668	error	by controller[1]: at TLSSocket.emit (events.js:188:7)
                                        Caught	2018-08-16 11:39:15.668	error	by controller[1]: at emitOne (events.js:101:20)
                                        Caught	2018-08-16 11:39:15.667	error	by controller[1]: at TLSSocket.socketCloseListener (_http_client.js:290:9)
                                        Caught	2018-08-16 11:39:15.667	error	by controller[1]: at ClientRequest.emit (events.js:188:7)
                                        Caught	2018-08-16 11:39:15.667	error	by controller[1]: at emitOne (events.js:96:13)
                                        Caught	2018-08-16 11:39:15.667	error	by controller[1]: at ClientRequest. <anonymous>(/opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:377:24)
                                        Caught	2018-08-16 11:39:15.667	error	by controller[1]: at /opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:392:16
                                        Caught	2018-08-16 11:39:15.667	error	by controller[1]: at /opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:283:52
                                        Caught	2018-08-16 11:39:15.667	error	by controller[1]: TypeError: Cannot read property 'password' of undefined
                                        Caught	2018-08-16 11:39:15.666	error	by controller[0]: at process._tickCallback (internal/process/next_tick.js:104:9)
                                        Caught	2018-08-16 11:39:15.666	error	by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:80:11)
                                        Caught	2018-08-16 11:39:15.666	error	by controller[0]: at emitErrorNT (net.js:1290:8)
                                        Caught	2018-08-16 11:39:15.666	error	by controller[0]: at TLSSocket.emit (events.js:188:7)
                                        Caught	2018-08-16 11:39:15.666	error	by controller[0]: at emitOne (events.js:96:13)
                                        Caught	2018-08-16 11:39:15.666	error	by controller[0]: at TLSSocket.socketErrorListener (_http_client.js:314:9)
                                        Caught	2018-08-16 11:39:15.666	error	by controller[0]: at ClientRequest.emit (events.js:188:7)
                                        Caught	2018-08-16 11:39:15.665	error	by controller[0]: at emitOne (events.js:96:13)
                                        Caught	2018-08-16 11:39:15.665	error	by controller[0]: at ClientRequest. <anonymous>(/opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:377:24)
                                        Caught	2018-08-16 11:39:15.665	error	by controller[0]: at /opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:392:16
                                        Caught	2018-08-16 11:39:15.664	error	by controller[0]: at /opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:283:52
                                        Caught	2018-08-16 11:39:15.659	error	by controller[0]: TypeError: Cannot read property 'password' of undefined</anonymous></anonymous></anonymous>
                                        

                                        Da ich jetzt gelesen habe, dass die Version 0.4 wohl auch noch nicht richtig läuft … Soll ich lieber noch auf ein weiteres Update warten, oder schon das Update auf 0.4 machen? `

                                        Meldung im Log ist das eine … Läuft es denn wieder? Der Fehler kommt bei der Erneuerung des Cookies, aber der Adapter sollte automatisch neu starten und dann ist wieder alles gut.

                                        Versionstechnisch am besten auf 0.5 warten (heute abend oder morgen)

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          Apropo last edited by

                                          Ja, soweit ich sehen kann läuft es wieder. Dann warte ich mit dem Update mal noch.

                                          Danke dir

                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            eve11 last edited by

                                            @apollon77: Ja, die Routine funktioniert wenn ich sie im Adapter mittels Push button auslöse. Die Lautstärke wird verändert.

                                            Das Log habe ich per PN geschickt.

                                            Danke

                                            eve11

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            596
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            95
                                            618
                                            140191
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo