Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Cloud Dienste
    4. Alexa Adapter renewed (0.1.0+)

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Alexa Adapter renewed (0.1.0+)

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

      https://git-scm.com/download/win

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

        Danke, das habe ich schon installiert.

        Nach einen Neustart von ioBroker ging es…

        2858_screenshot__155__li.jpg

        Einige Daten bekomme ich. Beim Script von Hauke wurde mir aber viel mehr angezeigt: Titel, Album usw.

        STATES PLAYING, da ändert sich der Wert nicht.

        Ist ja erst in der Anfangsphase…..

        Volume kann ich aber schon steuern.

        1 Reply Last reply Reply Quote 0
        • D
          dfoerster last edited by

          Ich konnte jetzt etwas ausführlicher testen: Installation des Adapters auf einer Synology ging ohne Probleme. Die TuneIn Sender lassen sich sowohl auf einzelnen Echos wie auch in Multiroom Gruppen wechseln. Leider konnte ich noch keinen Status finden aus dem erkennbar ist ob und auf welcher Gruppe gerade die Wiedergabe läuft um es im VIS anzuzeigen.

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

            @sigi234:

            Einige Daten bekomme ich. Beim Script von Hauke wurde mir aber viel mehr angezeigt: Titel, Album usw.

            STATES PLAYING, da ändert sich der Wert nicht. `

            Welches Skript genau meinst Du?

            Aktuell werden die Daten glaube nur bei Aktionen aktualisiert … Ein Polling müsste man ggf noch einbauen.Vllt kann ich ja anregungen nehmen 🙂

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

              Dieses:

              viewtopic.php?f=37&p=127877&sid=2d6da48 … c7#p127659

              Uns so sehen die Views aus die leider nicht mehr funktioniert:

              2858_screenshot__6_.png
              2858_screenshot__4_.png
              2858_screenshot__5_.png

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

                So, bitte alle neu vom Github updaten (und danach neu starten). Versionsnummer ist dann die 0.1.1

                Ich have erst einmal nur das Logging erweitert und optimiert (das Cookie und so wird jetzt nicht mehr geloggt damit wird es einfacher Logs hier zu posten und weniger/übersichtlicher).

                Logs ab da sind noch besser 🙂 Daher bitte updaten!!

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User last edited by

                  Erweitertes Skript von Hauke

                  viewtopic.php?f=37&p=127877&sid=2d6da48 … c7#p127659

                  Übrigens funktioniert das Skript immer noch genauso.

                  Man muss dort nur auch den Cookie manuell schreiben.
                  2534_vis.png

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

                    @Pocky:

                    Übrigens funktioniert das Skript immer noch genauso.

                    Man muss dort nur auch den Cookie manuell schreiben. `

                    Nein, geht bei mir nicht, Cookie wurde manuell gesetzt…...

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

                      Hab auch Probleme beim Installieren. Git ist bereits installiert.

                      Während Installation:

                      iobroker	2018-07-10 23:02:27.484	info	exit 0
                      iobroker	2018-07-10 23:02:27.378	info	run `npm audit fix` to fix them, or `npm audit` for details
                      iobroker	2018-07-10 23:02:27.378	info	found 86 vulnerabilities (46 low, 23 moderate, 17 high)
                      iobroker	2018-07-10 23:02:27.378	info	added 4 packages from 3 contributors and audited 7071 packages in 47.374s
                      iobroker	2018-07-10 23:02:27.378	info	+ iobroker.alexa@0.1.0
                      iobroker	2018-07-10 23:02:27.363	info	npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                      iobroker	2018-07-10 23:02:27.363	info	npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})npm WARN optional SKIPPING OPTIO
                      iobroker	2018-07-10 23:02:27.362	info	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                      iobroker	2018-07-10 23:01:38.445	info	npm install https://github.com/Apollon77/ioBroker.alexa/tarball/master --production --save --prefix "/opt/iobroker" (System call)
                      iobroker	2018-07-10 23:01:37.775	info	install https://github.com/Apollon77/ioBroker.alexa/tarball/master
                      iobroker	2018-07-10 23:01:37.131	info	url "https://github.com/Apollon77/ioBroker.alexa" --debug
                      iobroker	2018-07-10 23:00:34.344	info	exit 0
                      iobroker	2018-07-10 22:59:50.047	info	npm uninstall iobroker.alexa --silent --save --prefix "/opt/iobroker" (System call)
                      iobroker	2018-07-10 22:59:49.457	info	host.brix-3150 Deleting 1 state(s).
                      iobroker	2018-07-10 22:59:49.436	info	host.brix-3150 Deleting 2 object(s).
                      iobroker	2018-07-10 22:59:49.422	info	host.brix-3150 Counted 1 states (system.adapter.alexa.*) from states
                      iobroker	2018-07-10 22:59:49.193	info	host.brix-3150 Counted 1 states of alexa
                      iobroker	2018-07-10 22:59:44.412	info	host.brix-3150 Counted 1 adapters for alexa
                      iobroker	2018-07-10 22:59:44.219	info	host.brix-3150 no instances of adapter alexa found
                      iobroker	2018-07-10 22:59:44.106	info	Delete adapter "alexa"
                      iobroker	2018-07-10 22:59:43.396	info	del alexa
                      iobroker	2018-07-10 22:51:51.192	info	exit 0
                      

                      Dann füge ich Instanz hinzu mit den Einstellungen. Basis-URL lasse ich frei!?

                      Dann kommt immer wieder wie bei liv-in-sky:

                      host.brix-3150	2018-07-10 23:10:06.578	info	Restart adapter system.adapter.alexa.0 because enabled
                      host.brix-3150	2018-07-10 23:10:06.578	error	instance system.adapter.alexa.0 terminated with code 0 (OK)
                      Caught	2018-07-10 23:10:06.578	error	by controller[1]: at TCP.done [as _onclose] (_tls_wrap.js:356:7)
                      Caught	2018-07-10 23:10:06.578	error	by controller[1]: at _handle.close (net.js:557:12)
                      Caught	2018-07-10 23:10:06.578	error	by controller[1]: at TLSSocket.emit (events.js:211:7)
                      Caught	2018-07-10 23:10:06.578	error	by controller[1]: at emitOne (events.js:121:20)
                      Caught	2018-07-10 23:10:06.578	error	by controller[1]: at TLSSocket.socketCloseListener (_http_client.js:363:9)
                      Caught	2018-07-10 23:10:06.578	error	by controller[1]: at ClientRequest.emit (events.js:211:7)
                      Caught	2018-07-10 23:10:06.578	error	by controller[1]: at emitOne (events.js:116:13)
                      Caught	2018-07-10 23:10:06.578	error	by controller[1]: at ClientRequest. <anonymous>(/opt/iobroker/node_modules/iobroker.alexa/node_modules/alexa-cookie/alexa-cookie.js:76:24)
                      Caught	2018-07-10 23:10:06.577	error	by controller[1]: at request (/opt/iobroker/node_modules/iobroker.alexa/node_modules/alexa-cookie/alexa-cookie.js:184:46)
                      Caught	2018-07-10 23:10:06.577	error	by controller[1]: TypeError: Cannot read property 'startsWith' of null
                      Caught	2018-07-10 23:10:06.577	error	by controller[0]: at process._tickCallback (internal/process/next_tick.js:180:9)
                      Caught	2018-07-10 23:10:06.577	error	by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:138:11)
                      Caught	2018-07-10 23:10:06.577	error	by controller[0]: at emitErrorNT (internal/streams/destroy.js:64:8)
                      Caught	2018-07-10 23:10:06.577	error	by controller[0]: at TLSSocket.emit (events.js:211:7)
                      Caught	2018-07-10 23:10:06.577	error	by controller[0]: at emitOne (events.js:116:13)
                      Caught	2018-07-10 23:10:06.577	error	by controller[0]: at TLSSocket.socketErrorListener (_http_client.js:387:9)
                      Caught	2018-07-10 23:10:06.577	error	by controller[0]: at ClientRequest.emit (events.js:211:7)
                      Caught	2018-07-10 23:10:06.577	error	by controller[0]: at emitOne (events.js:116:13)
                      Caught	2018-07-10 23:10:06.577	error	by controller[0]: at ClientRequest. <anonymous>(/opt/iobroker/node_modules/iobroker.alexa/node_modules/alexa-cookie/alexa-cookie.js:76:24)
                      Caught	2018-07-10 23:10:06.577	error	by controller[0]: at request (/opt/iobroker/node_modules/iobroker.alexa/node_modules/alexa-cookie/alexa-cookie.js:184:46)
                      Caught	2018-07-10 23:10:06.576	error	by controller[0]: TypeError: Cannot read property 'startsWith' of null
                      alexa.0	2018-07-10 23:10:06.494	error	at TCP.done [as _onclose] (_tls_wrap.js:356:7)
                      alexa.0	2018-07-10 23:10:06.494	error	at _handle.close (net.js:557:12)
                      alexa.0	2018-07-10 23:10:06.494	error	at TLSSocket.emit (events.js:211:7)
                      alexa.0	2018-07-10 23:10:06.494	error	at emitOne (events.js:121:20)
                      alexa.0	2018-07-10 23:10:06.494	error	at TLSSocket.socketCloseListener (_http_client.js:363:9)
                      alexa.0	2018-07-10 23:10:06.494	error	at ClientRequest.emit (events.js:211:7)
                      alexa.0	2018-07-10 23:10:06.494	error	at emitOne (events.js:116:13)
                      alexa.0	2018-07-10 23:10:06.494	error	at ClientRequest. <anonymous>(/opt/iobroker/node_modules/iobroker.alexa/node_modules/alexa-cookie/alexa-cookie.js:76:24)
                      alexa.0	2018-07-10 23:10:06.494	error	at request (/opt/iobroker/node_modules/iobroker.alexa/node_modules/alexa-cookie/alexa-cookie.js:184:46)
                      alexa.0	2018-07-10 23:10:06.494	error	TypeError: Cannot read property 'startsWith' of null
                      alexa.0	2018-07-10 23:10:06.494	error	uncaught exception: Cannot read property 'startsWith' of null
                      alexa.0	2018-07-10 23:10:06.489	error	at process._tickCallback (internal/process/next_tick.js:180:9)
                      alexa.0	2018-07-10 23:10:06.489	error	at _combinedTickCallback (internal/process/next_tick.js:138:11)
                      alexa.0	2018-07-10 23:10:06.489	error	at emitErrorNT (internal/streams/destroy.js:64:8)
                      alexa.0	2018-07-10 23:10:06.489	error	at TLSSocket.emit (events.js:211:7)
                      alexa.0	2018-07-10 23:10:06.489	error	at emitOne (events.js:116:13)
                      alexa.0	2018-07-10 23:10:06.489	error	at TLSSocket.socketErrorListener (_http_client.js:387:9)
                      alexa.0	2018-07-10 23:10:06.489	error	at ClientRequest.emit (events.js:211:7)
                      alexa.0	2018-07-10 23:10:06.489	error	at emitOne (events.js:116:13)
                      alexa.0	2018-07-10 23:10:06.489	error	at ClientRequest. <anonymous>(/opt/iobroker/node_modules/iobroker.alexa/node_modules/alexa-cookie/alexa-cookie.js:76:24)
                      alexa.0	2018-07-10 23:10:06.489	error	at request (/opt/iobroker/node_modules/iobroker.alexa/node_modules/alexa-cookie/alexa-cookie.js:184:46)
                      alexa.0	2018-07-10 23:10:06.489	error	TypeError: Cannot read property 'startsWith' of null
                      alexa.0	2018-07-10 23:10:06.488	error	uncaught exception: Cannot read property 'startsWith' of null
                      alexa.0	2018-07-10 23:10:02.958	info	starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.alexa, node: v8.11.3
                      host.brix-3150	2018-07-10 23:10:02.166	info	instance system.adapter.alexa.0 started with pid 32590
                      host.brix-3150	2018-07-10 23:09:32.141	info	Restart adapter system.adapter.alexa.0 because enabled</anonymous></anonymous></anonymous></anonymous>
                      

                      Upload Alexa macht keinen Unterschied.

                      Hab dann ioBroker neugestartet. Bringt auch nichts. Login über alexa.amazon kein Problem.

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

                        @apollon77:

                        Ich have erst einmal nur das Logging erweitert und optimiert `

                        Logt sich immer ein und aus und der Log( auf Debug gesetzt) verschwindet…..:

                        alexa.0 2018-07-10 23:15:34.254 debug system.adapter.admin.0: logging true

                        alexa.0 2018-07-10 23:15:29.876 debug system.adapter.admin.0: logging false

                        alexa.0 2018-07-10 23:15:01.576 debug system.adapter.admin.0: logging true

                        alexa.0 2018-07-10 23:15:01.276 debug system.adapter.admin.0: logging false

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

                          @lobomau: Bitte Debug-Log einschalten und schicken. (und vorher auf 0.1.1 updaten!) Ich kann den Fehler anfangen aber irgendwas geht bei Dir bei den Requests zu Alexa schieff.

                          @sigi234: Diese Meldung hat mit Logging vom Adapter nix zu tun. Das ist der Admin Adapter der sich für Logs subscribed und wieder unsubscribed wenn DU die UI auf hast oder zu machst.

                          Log auf Debug heisst Du hast die Instanz unter dem was in meiner Signatur steht in Debug-Loglevel gesetzt? Dann muss mehr log da sein!

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

                            @apollon77:

                            @lobomau: Bitte Debug-Log einschalten und schicken. (und vorher auf 0.1.1 updaten!) Ich kann den Fehler anfangen aber irgendwas geht bei Dir bei den Requests zu Alexa schieff.

                            @sigi234: Diese Meldung hat mit Logging vom Adapter nix zu tun. Das ist der Admin Adapter der sich für Logs subscribed und wieder unsubscribed wenn DU die UI auf hast oder zu machst.

                            Log auf Debug heisst Du hast die Instanz unter dem was in meiner Signatur steht in Debug-Loglevel gesetzt? Dann muss mehr log da sein! `
                            ok, alles klar hab dir den debug-log zugeschickt mit 0.1.1.

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

                              @lobomau:

                              ok, alles klar hab dir den debug-log zugeschickt mit 0.1.1. `

                              siehe PN, 0.1.2 testen und dann mal schauen warum Amazon ne Challenge abfragt

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

                                Hallo,

                                bei mir läuft der Alexaadapter 0.1.2 ohne probleme ,keine Fehlermeldungen und alle echos lassen sich steuern !

                                nur zu Info. 🙂

                                mfg

                                mikewolf

                                1 Reply Last reply Reply Quote 0
                                • O
                                  ooooli last edited by

                                  Bei mir funktioniert 0.1.2 auch grundsätzlich erstmal. Nur wie starte ich Tunein und wähle den Sender? Bei Button Play spielt er die zuvor eingestellte Quelle (Spotify) und der Tunein State hat keine Funktion bei mir. Ne kleine Hilfe wäre prima, dann kann das Skipt weg und ich kann den zusätzlich Komfort sich nicht mehr ums Cookie kümmern zu müssen nutzen.

                                  Danke schonmal an apollon77 für die Weiterentwicklung. Klasse Geschichte!

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

                                    Ist mit der 0.1.2 das Problem mit dem umbenennen auch gelöst?

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

                                      @oooli: Theoretisch in den "TuneI"NDatenpunkt sden Station Namen rein und der sollte dann gesetzt werden.

                                      AM besten Debug einschalten, machen und mit Log schicken 🙂

                                      @ringdingringding: An der Stelle habe ich bisher im Code nichts gefunden was einen Echo umbenennen würde. Wenn es dennoch passiert sind wir wieder bei "Logs bitte" 🙂

                                      @All:

                                      Ich bin aber auch ehrlich. Ich habe den Adapter gerade übernommen, ziehe gerade das Glatt was da ist und mache mir nen Plan wie es weiter geht.

                                      Daher: Nachvollziehbare Bugs bitte als Issues im Github anlegen mit Logs (oder Logs per PN senden mit verweis auf das Problem!)

                                      WICHTIG: Logs bitte aus der Logdatei (verzeichnis log im ioBroker-verzeichnis) und NICHT aus dem Admin, da dort abgeschnitten wird!

                                      Auf Github ist jetzt v0.1.3. Es sind nur Korrekturen. Keine neuen Funktionen dazugekommen. Unter anderem sind alle falschen Rollender Datenpunkte nun korrigiert. Also bitte entweder alle Objekte unter alex.0 löschen oder Instanz löschen und neu anlegen.

                                      Weiterhin habe ich auf der Readme alle aktuellen Datenpunkte mit Ihren gedachten aktuellen Funktionen beschrieben. Ich hoffe (auch wenn aktuell englisch) das es hilft zu verstehen was aktuell geht und was nicht.

                                      https://github.com/Apollon77/ioBroker.a … rokeralexa

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        m.nestler last edited by

                                        Habe auch komischerweise hin und wieder , nach dem löschen das einer ( der letzte in Verwendung ) auf host

                                        Umbenannt wird -

                                        Ist aber für mich nicht tragisch lässt sich ja leicht ändern

                                        Nochmals danke für die Weiterentwicklung !!

                                        Mit freundlichen Grüßen

                                        Mikewolf

                                        Gesendet von iPhone mit Tapatalk

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

                                          @m.nestler:

                                          Habe auch komischerweise hin und wieder , nach dem löschen das einer ( der letzte in Verwendung ) auf host

                                          Umbenannt wird - `

                                          Nach was für einem löschen? Also am besten log mitlaufen lassen bzw wenn Ihr es reproduzieren könnt … und wenn logs da sind her damit 🙂

                                          Aktuell loggt der eh nicht so viel

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            m.nestler last edited by

                                            Löschen Erklärung ,

                                            Da ich die Objekte vom alexa Adapter immer lösche ,

                                            Dh zuerst stoppe ich den Adapter dann lösche ich die alexa Objekte dann wird neue Version des Adapters installiert dannach gestartet

                                            Um zu sehen ob die Objekte neu angelegt werden .

                                            Ich logge derzeit nur wie immer kommt jetzt der Fehler natürlich nich [emoji848][emoji34]

                                            Gesendet von iPhone mit Tapatalk

                                            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

                                            453
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            23
                                            207
                                            25413
                                            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