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@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Alexa Adapter renewed (0.1.0+)

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

      Also ich glaube hier sollte sich Amazon was Einfallen lassen , kann ja nicht sein das automation bedeutet

      Immer wieder händisch einloggen oder captcha oder …

      Selbst Cookies anlegt kopiert , sollte ja auch in deren Sinne sein nachdem man evt über Risiken informiert wurde ?

      Sollte doch reichen User und Pw einzugeben ..

      Mit freundlichen Grüßen

      Mikewolf

      Gesendet von iPhone mit Tapatalk

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

        @Pocky:

        /tmp/.alexa.cookie hat aber nichts mit diesem Adapter zu tun.

        Es ist für das Skript von Lötzimmer gedacht. `
        Korrekt. Eine Anleitung wie man an den coolere kommt ist im Admin des Adapters verlinkt.

        Gesendet vom Handy …

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

          @apollon77:

          @ringdingringding:

          Nach update auf 0.1.4 kommt das bei mir.

          Error: Captcha needed

          Hilft das?

          Log Auszug:

          ! alexa.0 2018-07-11 18:24:58.813 error Error: Captcha needed alexa.0 2018-07-11 18:24:56.898 info starting. Version 0.1.4 in /opt/iobroker/node_modules/iobroker.alexa, node: v6.13.0 alexa.0 2018-07-11 18:24:56.736 info States connected to redis: 127.0.0.1:6379 host.debian-iobroker 2018-07-11 18:24:55.801 info instance system.adapter.alexa.0 started with pid 23628 host.debian-iobroker 2018-07-11 18:24:53.333 info instance system.adapter.alexa.0 terminated with code 0 (OK) host.debian-iobroker 2018-07-11 18:24:53.256 info stopInstance system.adapter.alexa.0 killing pid 23565 host.debian-iobroker 2018-07-11 18:24:53.255 info stopInstance system.adapter.alexa.0 alexa.0 2018-07-11 18:24:53.262 info terminating host.debian-iobroker 2018-07-11 18:24:53.246 info object change system.adapter.alexa.0 host.debian-iobroker 2018-07-11 18:24:03.348 info instance system.adapter.tankerkoenig.0 terminated with code 0 (OK) host.debian-iobroker 2018-07-11 18:24:00.035 info instance system.adapter.tankerkoenig.0 started with pid 23597 javascript.0 2018-07-11 18:23:08.538 warn at Object. <anonymous>(script.js.common.Alexa_cube:3:5) javascript.0 2018-07-11 18:23:08.537 warn State "alexa.0.echo-devices.G090LF107204149Q.Commands.volume" not found javascript.0 2018-07-11 18:23:08.075 warn at Object. <anonymous>(script.js.common.Alexa_cube:3:5) javascript.0 2018-07-11 18:23:08.073 warn State "alexa.0.echo-devices.G090LF107204149Q.Commands.volume" not found javascript.0 2018-07-11 18:23:07.652 warn at Object. <anonymous>(script.js.common.Alexa_cube:3:5) javascript.0 2018-07-11 18:23:07.650 warn State "alexa.0.echo-devices.G090LF107204149Q.Commands.volume" not found javascript.0 2018-07-11 18:23:06.806 warn at Object. <anonymous>(script.js.common.Alexa_cube:3:5) javascript.0 2018-07-11 18:23:06.804 warn State "alexa.0.echo-devices.G090LF107204149Q.Commands.volume" not found javascript.0 2018-07-11 18:23:06.340 warn at Object. <anonymous>(script.js.common.Alexa_cube:3:5) javascript.0 2018-07-11 18:23:06.338 warn State "alexa.0.echo-devices.G090LF107204149Q.Commands.volume" not found javascript.0 2018-07-11 18:23:05.912 warn at Object. <anonymous>(script.js.common.Alexa_cube:3:5) javascript.0 2018-07-11 18:23:05.911 warn State "alexa.0.echo-devices.G090LF107204149Q.Commands.volume" not found javascript.0 2018-07-11 18:23:04.657 warn at Object. <anonymous>(script.js.common.Alexa_cube:3:5) javascript.0 2018-07-11 18:23:04.648 warn State "alexa.0.echo-devices.G090LF107204149Q.Commands.volume" not found alexa.0 2018-07-11 18:22:43.150 error Error: Captcha needed alexa.0 2018-07-11 18:22:41.319 info starting. Version 0.1.4 in /opt/iobroker/node_modules/iobroker.alexa, node: v6.13.0 alexa.0 2018-07-11 18:22:41.163 info States connected to redis: 127.0.0.1:6379 host.debian-iobroker 2018-07-11 18:22:40.278 info instance system.adapter.alexa.0 started with pid 23565 host.debian-iobroker 2018-07-11 18:22:37.795 info instance system.adapter.alexa.0 terminated with code 0 (OK) host.debian-iobroker 2018-07-11 18:22:37.752 info stopInstance system.adapter.alexa.0 killing pid 23539 host.debian-iobroker 2018-07-11 18:22:37.752 info stopInstance system.adapter.alexa.0 alexa.0 2018-07-11 18:22:37.759 info terminating host.debian-iobroker 2018-07-11 18:22:37.749 info object change system.adapter.alexa.0 alexa.0 2018-07-11 18:22:19.403 error Error: cookie not provided alexa.0 2018-07-11 18:22:19.236 info starting. Version 0.1.4 in /opt/iobroker/node_modules/iobroker.alexa, node: v6.13.0 alexa.0 2018-07-11 18:22:19.082 info States connected to redis: 127.0.0.1:6379 iobroker 2018-07-11 18:22:16.908 info exit 0 iobroker 2018-07-11 18:22:16.865 info host.debian-iobroker object system.adapter.alexa.0 created host.debian-iobroker 2018-07-11 18:22:16.853 info instance system.adapter.alexa.0 started with pid 23539 host.debian-iobroker 2018-07-11 18:22:16.829 info object change system.adapter.alexa.0 iobroker 2018-07-11 18:22:16.797 info host.debian-iobroker object system.adapter.alexa.0.alive created iobroker 2018-07-11 18:22:16.760 info host.debian-iobroker object system.adapter.alexa.0.connected created iobroker 2018-07-11 18:22:16.719 info host.debian-iobroker object system.adapter.alexa.0.memHeapUsed created iobroker 2018-07-11 18:22:16.682 info host.debian-iobroker object system.adapter.alexa.0.memHeapTotal created iobroker 2018-07-11 18:22:16.643 info host.debian-iobroker object system.adapter.alexa.0.memRss created iobroker 2018-07-11 18:22:16.605 info host.debian-iobroker object system.adapter.alexa.0.uptime created iobroker 2018-07-11 18:22:16.569 info host.debian-iobroker object system.adapter.alexa.0.inputCount created iobroker 2018-07-11 18:22:16.531 info host.debian-iobroker object system.adapter.alexa.0.outputCount created iobroker 2018-07-11 18:22:16.513 info host.debian-iobroker create instance alexa iobroker 2018-07-11 18:22:16.482 info host.debian-iobroker object system.adapter.alexa created iobroker 2018-07-11 18:22:16.314 info upload [0] alexa.admin /opt/iobroker/node_modules/iobroker.alexa/admin/alexa.png alexa.png image/png iobroker 2018-07-11 18:22:16.224 info upload [1] alexa.admin /opt/iobroker/node_modules/iobroker.alexa/admin/index.html index.html text/html iobroker 2018-07-11 18:22:16.194 info got /opt/iobroker/node_modules/iobroker.alexa/admin iobroker 2018-07-11 18:22:16.141 info host.debian-iobroker install adapter alexa iobroker 2018-07-11 18:22:15.061 info add alexa</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous> `
          Naja er will ein captcha gelöst haben. Siehe weiter oben im Thread zu den Lösungsmöglichkeiten. 😞

          Gesendet vom Handy … ` Wie soll ich Captcha lösen wenn iobroker in einer vm aufm nuc läuft?

          edit

          Cookie von Hand eintragen geht. Mal die Tage abwarten.

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

            @liv-in-sky:

            @ appollon

            habe gesehen,du diskutierst auf github mit dem scriptersteller. nachdem sich ein echodot völlig verabschiedet hatte (musste ihn resetten und neu einrichten), läuft bei mir das script nicht mehr. bekomme jetzt die captcha meldung !

            als lösung soll man sich mit chrome einloggen - muss das auf dem rechner sein, der das script aufruft(das ist debian ohne gui!). ich konnte mit chrome von einem anderen rechner ein captcha abfragen und eingeben. der fehler auf dem iobroker rechner bleibt. ich habe auch versucht ein cookie (chrome-entwicklertools) von dort zu kopieren und in /tmp/.alexa.cookie eingesetzt - bringt auch nichts - setzte ich das cookie in das alte hauke script kommt immer falscher raum als fehler.

            hast du irgendeine idee, wie ich das wieder hinbekomme, `
            Hm … keine echt simple.

            Ideen wären irgendwie den netzwerkverkehr über dem Rechner Tunneln oder so.

            Oder schau mal bei den Debian Paketen bzw Google. Es gibt bestimmt „Browser für Konsole“ die per Shell funktionieren ... aber da musst du selbst schauen.

            Alternative: mal paar Tage warten und dann nochmal versuchen?! Sorry.

            Gesendet vom Handy ...

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

              danke für's überlegen - warten hat schon mal etwas gebracht - ich versuch es dir nächsten tage mal

              den browser für terminal-session ? muss ich mich mal schlau machen ob es sowas gibt

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

                @liv-in-sky:

                den browser für terminal-session ? muss ich mich mal schlau machen ob es sowas gibt `

                Mehr als einen 😉

                https://opensource.com/article/16/12/we … mmand-line

                Gesendet vom Handy ...

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

                  genau auf der seite war ich auch gerade 🙂

                  aber nur links hat wohl javascript - sonst öffnet sich alexa.amazon.de eh nicht !

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

                    Du brauchst kein JavaScript. Muss aus sein. Und keine Cookies und Kram haben.

                    Und ja am Ende wenn alles geklappt hat landest du auf einer Amazon Seite die er ohne JavaScript nicht anzeigen kann aber das ist ok!!! Dann bist du erfolgreich durch.

                    Gesendet vom Handy …

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

                      Alexa.amazon.de fällt ohne JavaScript zu einem Login Formular für alte mobile Browser zurück … da kommt ne normale login maske.

                      Dachte du hast es schon ohne JavaScript und ohne Cookies (=inkognito/ privater Modus) versucht gehabt??

                      Gesendet vom Handy ...

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

                        ja auf meinem desktop - aber die seite (chrome) war nur weiß

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

                          Die Seite am Ende oder gleich zu Beginn?

                          Also ich bekomme eine Login Maske auch ohne JavaScript.

                          Gesendet vom Handy …

                          1 Reply Last reply Reply Quote 0
                          • M
                            mikiline last edited by

                            bei mir läuft ioBroker auf einem QNAP. Seit Anbeginn dieses Adapters (renewed) funktioniert dieser bei mir. Auch mit der neuesten Version
                            2678_funkt.png

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

                              hab jetzt elinks und w3m probiert - beide haben mit der amazon seite mit den cookies - ich komme immer wieder auf die seite, wo amazon sagt, ich solle cookies aktivieren - hab ich - geht trotzdem nicht - andere seiten kann ich öffnen

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

                                @liv-in-sky

                                Bei mir läuft iobroker auf einem Raspberry.

                                Wenn ich den Cookie manuell gesetzt habe, dann habe ich den nicht über einen Browser auf dem Raspi ausgelesen.

                                Das mache ich über mein Laptop ein paar Räume weiter.

                                Ist Ubuntu drauf und lese mit Chrome oder Firefox aus.

                                Muss also nicht über den Raspberry ausgelesen werden.

                                Was läuft denn da überhaupt bei Dir.

                                Soweit ich das bisher mitbekommen habe:

                                Hauke Skript ohne gültigen Cookie

                                Lötzimmer Skript ohne gültigen Cookie

                                Alexa Adapter ohne gültigen Cookie.

                                Ich denke Du solltest diesen MischMasch erstmal abschalten und Dich fragen was Du benötigst.

                                Lass erstmal den Adapter vernünftig laufen und dann kannst Du Dich wieder an die anderen Skripte machen.

                                Wer weiss was dieses durcheinander so alles bewirkt bei Dir.

                                Schreib den Cookie auf dem Adapter erstmal manuell damit Du Dich überhaupt verbinden kannst.

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

                                  pocky - das chaos begann jedoch erst mit dem adapter - ich wollte das testen um das projekt von appollon zu unterstützen - siehe früher im thread - der adapter ist längst wieder gelöscht

                                  • das hauke skript ist wieder abgeschaltet - wollt nur etwas testen (ob cookie wieder geht - es kommen keine fehler im log aber die echos spielen nichts)

                                  • es ist nur das alexa_remote script aktiv - welches jetzt nicht mehr funktioniert

                                  den cookie lese ich auch "händisch" auf dem desktoprechner aus - hilft aber auch nicht - es geht ja nur um den captcha fehler, der bei diesem skript auftaucht (bei manchen) https://github.com/thorsten-gehrig/alex … /issues/10

                                  ich warte mal 2 tage ab - bemi hauke skript hat das früher auch immer geholfen bevor ich neuen cookie holte

                                  danke dir

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

                                    Bei mir ist die gleiche Situation. Seitdem der Adapter kurz lief geht er nun nicht mehr wegen dem Captcha Fehler und das Script mag mit dem Cookie auch nicht mehr [emoji849]

                                    Gesendet von iPhone mit Tapatalk

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

                                      So kurzer Zwischenstand: Ja der Adapter erlaubt das ändern der Namen und ich habe ein paar Stellen im Code gefunden wo durch komische Konstellationen sowas passieren kann (auch bei mir einmal passiert). Das habe ich jetzt mal bei mir gefixt und spiele noch ein bissl rum.

                                      Wenn das bei mir soweit stabil läuft dann gibt es morgen eine neue Version. Stay tuned

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

                                        Hallo habe was probiert, weis jedoch nicht ob es helfen kann ? :?: :?: :?:

                                        Zitat:

                                        Ich bin gestern auf das gleiche Problem mit dem Captcha gestoßen und habe alles ausprobiert (einloggen mit versch. IP-Adressen etc.). Nach einigem hin und her hab ich das Problem dann gefixt, in dem ich folgenden User-Agent verwendet habe:

                                        Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

                                        Vlt. hilft dies ja dem ein oder anderen.

                                        nur so ein gedanke

                                        habe es auf nen 2ten rapsi probiert ,allerdings script von lötzimmer/gehring da hat dieser Tip funktioniert und cookie wurde geschrieben

                                        vorher kam auch die Captcha meldung …..

                                        mfg mikewolf

                                        ps

                                        LANGUAGE="de-DE"

                                        #LANGUAGE="en-US"

                                        AMAZON='amazon.de'

                                        #AMAZON='amazon.com'

                                        ALEXA='layla.amazon.de'

                                        #ALEXA='pitangui.amazon.com'

                                        cURL binary

                                        CURL='/usr/bin/curl'

                                        cURL options

                                        -k : if your cURL cannot verify CA certificates, you'll have to trust any

                                        --compressed : if your cURL was compiled with libz you may use compression

                                        --http1.1 : cURL defaults to HTTP/2 on HTTPS connections if available

                                        OPTS='--compressed --http1.1'

                                        #OPTS='-k --compressed --http1.1'

                                        browser identity

                                        BROWSER='Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0'

                                        BROWSER='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36'

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

                                          Coole Idee. Dann macht mal nix ihr anderen. Ich Bäuerin die Version morgen ein das der User Agent konfigurierbar ist in den Adapter Einstellungen. Dann könnt ihr den Standard der aktuell benutzt wird so ändern wie ggf für euch besser.

                                          Gesendet vom Handy …

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

                                            OK! Ich warte 😉

                                            Super Arbeit danke schon mal dafür

                                            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

                                            527
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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