Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (gelöst) Alexa2 Adapter - immer gelb

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    (gelöst) Alexa2 Adapter - immer gelb

    This topic has been deleted. Only users with topic management privileges can see it.
    • Dr. Bakterius
      Dr. Bakterius Most Active last edited by

      Und hast du dich mittels des Links im Log bei Amazon angemeldet?

      1 Reply Last reply Reply Quote 0
      • F
        FredFesl last edited by

        Hi,

        Ich bekomm es auch nicht hin. Anmeldedaten und Cookie eingetragen. Anbei der Log…

        2018-11-23 19:38:58.901 - info: host.raspberrypi object change system.adapter.alexa2.0

        2018-11-23 19:38:58.903 - info: host.raspberrypi stopInstance system.adapter.alexa2.0

        2018-11-23 19:38:58.904 - info: host.raspberrypi stopInstance system.adapter.alexa2.0 killing pid 1306

        2018-11-23 19:38:58.973 - info: host.raspberrypi instance system.adapter.alexa2.0 terminated with code 0 (OK)

        2018-11-23 19:39:01.434 - info: host.raspberrypi instance system.adapter.alexa2.0 started with pid 1318

        2018-11-23 19:39:03.830 - debug: alexa2.0 objectDB connected

        2018-11-23 19:39:04.125 - debug: alexa2.0 statesDB connected

        2018-11-23 19:39:04.311 - info: alexa2.0 starting. Version 1.1.3 in /opt/iobroker/node_modules/iobroker.alexa2, node: v8.12.0

        2018-11-23 19:39:04.409 - debug: alexa2.0 Alexa-Remote: Use as User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

        2018-11-23 19:39:04.410 - debug: alexa2.0 Alexa-Remote: Use as Login-Amazon-URL: amazon.de

        2018-11-23 19:39:04.411 - debug: alexa2.0 Alexa-Remote: Use as Base-URL: alexa.amazon.de

        2018-11-23 19:39:04.413 - debug: alexa2.0 Alexa-Remote: cookie was provided

        2018-11-23 19:39:04.422 - debug: alexa2.0 Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}

        2018-11-23 19:39:06.185 - debug: alexa2.0 Alexa-Remote: Response: No body

        2018-11-23 19:39:06.189 - debug: alexa2.0 Alexa-Remote: Authentication checked: false

        2018-11-23 19:39:06.190 - debug: alexa2.0 Alexa-Remote: Cookie was set, but authentication invalid, retry with email/password ...

        2018-11-23 19:39:06.191 - debug: alexa2.0 Alexa-Remote: Use as User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

        2018-11-23 19:39:06.192 - debug: alexa2.0 Alexa-Remote: Use as Login-Amazon-URL: amazon.de

        2018-11-23 19:39:06.194 - debug: alexa2.0 Alexa-Remote: Use as Base-URL: alexa.amazon.de

        2018-11-23 19:39:06.195 - debug: alexa2.0 Alexa-Remote: No cookie given, generate one

        2018-11-23 19:39:08.485 - debug: alexa2.0 Alexa-Cookie: Use as Login-Amazon-URL: amazon.de

        2018-11-23 19:39:08.486 - debug: alexa2.0 Alexa-Cookie: Use as Alexa-Service-Host: alexa.amazon.de

        2018-11-23 19:39:08.486 - debug: alexa2.0 Alexa-Cookie: Use as User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

        2018-11-23 19:39:08.486 - debug: alexa2.0 Alexa-Cookie: Use as Accept-Language: de-DE

        2018-11-23 19:39:08.487 - debug: alexa2.0 Alexa-Cookie: Proxy-Mode enabled if needed: 192.168.0.123:0 to listen on 0.0.0.0

        2018-11-23 19:39:08.487 - debug: alexa2.0 Alexa-Cookie: Step 1: get first cookie and authentication redirect

        2018-11-23 19:39:08.490 - debug: alexa2.0 Alexa-Cookie: Sending Request with {"host":"alexa.amazon.de","path":"","method":"GET","headers":{"DNT":"1","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36","Accept-Language":"de-DE","Connection":"keep-alive","Accept":"/"}}

        2018-11-23 19:39:08.746 - debug: alexa2.0 Alexa-Cookie: Response (302) - Redirect to https://www.amazon.de/ap/signin?showRmr ... auth%2F2.0&

        2018-11-23 19:39:08.756 - debug: alexa2.0 Alexa-Cookie: Sending Request with {"host":"www.amazon.de","path":"/ap/signin?showRmrMe=1&openid.return_to=https%3A%2F%2Falexa.amazon.de%2F&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=amzn_dp_project_dee_de&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&","method":"GET","headers":{"DNT":"1","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36","Accept-Language":"de-DE","Connection":"keep-alive","Accept":"/","Cookie":""},"body":""}

        2018-11-23 19:39:09.019 - debug: alexa2.0 Alexa-Cookie: Response (200)

        2018-11-23 19:39:09.054 - debug: alexa2.0 Alexa-Cookie: Step 2: login empty to generate session

        2018-11-23 19:39:09.055 - debug: alexa2.0 Alexa-Cookie: Sending Request with {"host":"www.amazon.de","path":"/ap/signin","method":"POST","headers":{"DNT":"1","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36","Accept-Language":"de-DE","Connection":"keep-alive","Content-Type":"application/x-www-form-urlencoded","Referer":"https://www.amazon.de/ap/signin?showRmr ... 82-9066256; session-id-time=2173718348l","Accept":"/"},"gzip":true,"body":""}

        2018-11-23 19:39:09.220 - debug: alexa2.0 Alexa-Cookie: Response (404)

        2018-11-23 19:39:09.252 - debug: alexa2.0 Alexa-Cookie: Step 3: login with filled form, referer contains session id

        2018-11-23 19:39:09.253 - debug: alexa2.0 Alexa-Cookie: Sending Request with {"host":"www.amazon.de","path":"/ap/signin","method":"POST","headers":{"DNT":"1","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36","Accept-Language":"de-DE","Connection":"keep-alive","Content-Type":"application/x-www-form-urlencoded","Referer":"https://www.amazon.de/ap/signin/257-179 ... 82-9066256; session-id-time=2173718348l; ubid-acbde=257-8907943-9899514","Accept":"/"},"gzip":true,"body":"email=&password="}

        2018-11-23 19:39:09.436 - debug: alexa2.0 Alexa-Cookie: Response (404)

        2018-11-23 19:39:09.595 - debug: alexa2.0 Alexa-Cookie: Proxy-Server listening on port 33315

        2018-11-23 19:39:09.600 - debug: alexa2.0 Alexa-Remote: Error from retrieving cookies

        2018-11-23 19:39:09.601 - error: alexa2.0 Error: Login unsuccessfull. Please check credentials.

        2018-11-23 19:39:09.602 - error: alexa2.0 Error: You can try to get the cookie manually by opening http://192.168.0.123:33315/ with your browser.

        Vielen Dank!

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

          Dein cookie ist ungültig. Erst ließ mal genau das Ende des Logs was du gepostet hast und mach genau was da steht.

          Und dann nimm mal den Thread zu Alexa2 1.12/1.1.3 im Alexa unterforum. Der ist noch nicht so alt.

          Gesendet vom Handy …

          1 Reply Last reply Reply Quote 0
          • F
            FredFesl last edited by

            Ok, besten dank jetzt ist er grün. 😉

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

              Dann bitte in den ersten Post in den Titel ein gelöst reinsetzen.

              Gesendet vom Handy …

              1 Reply Last reply Reply Quote 0
              • C
                CMYK last edited by

                @apollon77 Halt stopp…der Threat wurde von mir eröffnet...dann würde auch ich ihn gerne wieder schließen :lol:

                Also nochmals zurück...

                ...tatsächlich habe ich keinen Cookie eingetragen. Ich hatte das Ganze so verstanden...entweder User und Passwort oder Cookie (da da auch extra steht...wenn Cookie dann werden die Zugangsdaten nicht benötigt.

                Tatsächlich scheint hier einfach ein Verständnisproblem meinerseits bestehen, deshalb nochmals die Frage...

                ...ein Cookie benötige ich also...es gibt eine Anleitung für die manuelle Erstellung eines Cookies...gibt es dann auch die Möglichkeit einen automatisch zu erstellen?

                Steh immer noch auf dem Schlauch!

                1 Reply Last reply Reply Quote 0
                • F
                  FredFesl last edited by

                  nachdem ich mich unter dieser Adresse im log angemeldet habe hat es funktioniert:

                  2018-11-23 19:39:09.602 - error: alexa2.0 Error: You can try to get the cookie manually by opening http://192.168.0.123:33315/ with your browser.

                  Schau mal bei dir im Log

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

                    @CMYK:

                    @apollon77 Halt stopp…der Threat wurde von mir eröffnet...dann würde auch ich ihn gerne wieder schließen :lol:

                    Also nochmals zurück...

                    ...tatsächlich habe ich keinen Cookie eingetragen. Ich hatte das Ganze so verstanden...entweder User und Passwort oder Cookie (da da auch extra steht...wenn Cookie dann werden die Zugangsdaten nicht benötigt.

                    Tatsächlich scheint hier einfach ein Verständnisproblem meinerseits bestehen, deshalb nochmals die Frage...

                    ...ein Cookie benötige ich also...es gibt eine Anleitung für die manuelle Erstellung eines Cookies...gibt es dann auch die Möglichkeit einen automatisch zu erstellen?

                    Steh immer noch auf dem Schlauch! `
                    Nimm den Proxy link und die v1.1.3! Dann geht es ca 2 Wochen falls automatisch nicht tut. Hoffentlich komm ich bald dazu mir was besseres zu überlegen.

                    Und wie oben geschrieben gibt es Millionen Threads dazu. Vor allem den zur alexa2 version 1.1.2/1.1.3

                    Gesendet vom Handy …

                    1 Reply Last reply Reply Quote 0
                    • C
                      CMYK last edited by

                      Du hast aber auch ein Cookie eingetragen, richtig?

                      Bei mir tut sich nichts auch nachdem ich mich unter diesem Link angemeldet hatte.

                      1 Reply Last reply Reply Quote 0
                      • C
                        CMYK last edited by

                        Ok, jetzt check ich das mit dem Proxy endlich.

                        Er hat jetzt selbstständig einen Cookie eingetragen…der Adapter bleibt aber gelb.

                        alexa2.0 2018-11-23 21:33:13.612 error Error: You can try to get the cookie manually by opening http://192.168.0.199:44810/ with your browser.

                        alexa2.0 2018-11-23 21:33:13.610 error Error: Login unsuccessfull. Please check credentials.

                        alexa2.0 2018-11-23 21:33:12.046 info starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.alexa2, node: v6.11.5

                        host.IoBrokerEG2.0 2018-11-23 21:33:11.260 info instance system.adapter.alexa2.0 started with pid 20635

                        host.IoBrokerEG2.0 2018-11-23 21:33:08.800 info instance system.adapter.alexa2.0 terminated with code 0 (OK)

                        alexa2.0 2018-11-23 21:33:08.775 info terminating

                        1 Reply Last reply Reply Quote 0
                        • C
                          CMYK last edited by

                          Jetzt läuft er…danke für alle Tipps!

                          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

                          948
                          Online

                          32.1k
                          Users

                          80.7k
                          Topics

                          1.3m
                          Posts

                          5
                          15
                          2521
                          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