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.
    • apollon77
      apollon77 last edited by

      Warum sollte meine Version auf Windows nicht gehen? Sollte tun. Da ist nichts Linux spezifisches.

      Gesendet vom Handy …

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

        iobroker	2018-07-10 19:14:42.933	info	npm ERR! Please check if you have git installed and in your PATH.
        iobroker	2018-07-10 19:14:42.933	info	npm ERR! Failed using git.
        iobroker	2018-07-10 19:14:42.933	info	ERR! No git binary found in $PATHnpm ERR!
        iobroker	2018-07-10 19:14:42.933	info	npm
        iobroker	2018-07-10 19:14:42.932	info	ERR! code ENOGIT
        iobroker	2018-07-10 19:14:42.932	info	npm
        cloud.0	2018-07-10 19:14:40.334	info	Connection not changed: was connected
        cloud.0	2018-07-10 19:14:40.314	info	Connection changed: connect
        cloud.0	2018-07-10 19:14:40.232	info	Trying to connect as system.user.admin
        iobroker	2018-07-10 19:14:37.445	info	npm install https://github.com/Apollon77/ioBroker.alexa/tarball/master --production --save --prefix "C:/ioBroker" (System call)
        iobroker	2018-07-10 19:14:36.706	info	install https://github.com/Apollon77/ioBroker.alexa/tarball/master
        
        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 last edited by

          apt-get install git

          … wie im ersten Post geschrieben. 😉

          Gesendet vom Handy ...

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

            Funktioniert aber das mit dem umbenennen in state hab ich auch bei mir

            Gruss

            1 Reply Last reply Reply Quote 0
            • T
              Turbo last edited by

              Hab ich was übersehen? Bei mir kommt nach dem Starten im Log "Error: Captcha needed" und Amazon sendet mir eine SMS mit Sicherheitscode…

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

                @ringdingringding:

                Funktioniert aber das mit dem umbenennen in state hab ich auch bei mir

                Gruss `
                Ich brauche ein debug log wenn das passiert. Dann kann ich reinschauen.

                Gesendet vom Handy …

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

                  @Turbo:

                  Hab ich was übersehen? Bei mir kommt nach dem Starten im Log "Error: Captcha needed" und Amazon sendet mir eine SMS mit Sicherheitscode… `
                  Das geht generell nur wenn du two factor auth ausschaltest!!

                  Sonst musst du dir das Cookie selbst holen.

                  Gesendet vom Handy …

                  1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky last edited by

                    habe versucht, dass nochmal nachzuvollziehen mit allen debugs an.

                    murphy's law - jetzt geht es auf einmal

                    vielleicht versuch ich es morgen nochmal

                    1 Reply Last reply Reply Quote 0
                    • T
                      Turbo last edited by

                      @apollon77:

                      @Turbo:

                      Hab ich was übersehen? Bei mir kommt nach dem Starten im Log "Error: Captcha needed" und Amazon sendet mir eine SMS mit Sicherheitscode… `
                      Das geht generell nur wenn du two factor auth ausschaltest!!

                      Sonst musst du dir das Cookie selbst holen.

                      Gesendet vom Handy … `

                      Jep, läuft! Danke.

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

                        @apollon77:

                        apt-get install git

                        … wie im ersten Post geschrieben. 😉

                        Gesendet vom Handy ... `

                        Ist eine Windows Installation….

                        Wie soll ich das installieren unter Win?

                        Stehe auf der Leitung......... 🙂

                        1 Reply Last reply Reply Quote 0
                        • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            477
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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