Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Cloud Dienste
    4. Neuer Adapter: iobroker.alexa2

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Neuer Adapter: iobroker.alexa2

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky last edited by

      mach doch eine günstigen sensor hin (bewegungsmelder) oder etwas über das handy damit du die cloud triggern bzw. einschalten kannst, wenn daheim.

      ich lasse den alexa2 adapter auch nicht triggern bzw. updaten, wenn niemand zuhause ist. mit tasker auf dem handy geht das in wenigen schritten (wenn netzwerk ssid verbunden - dann http post an iobroker)- oder vieleicht auch macrodroid

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

        @liv-in-sky:

        mach doch eine günstigen sensor hin (bewegungsmelder) oder etwas über das handy damit du die cloud triggern bzw. einschalten kannst, wenn daheim.

        ich lasse den alexa2 adapter auch nicht triggern bzw. updaten, wenn niemand zuhause ist. mit tasker auf dem handy geht das in wenigen schritten (wenn netzwerk ssid verbunden - dann http post an iobroker)- oder vieleicht auch macrodroid `

        Ich hab ja einen Schalter an der Wand mit dem ich div. Systemvariablen schalte.

        Ich würde aber gerne den Cloud-Adapter abschaffen.

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

          sorry - steh auf dem schlauch - ohne cloud adapter keine befehle über alexa ? was verstehe ich nicht ? irgend einen adapter (iobroker, oder handy tools) benötigt man doch immer, um mit alexa zu kommunizieren - der cloud adapter für iobroker - warum umlagern ?

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

            @liv-in-sky:

            sorry - steh auf dem schlauch - ohne cloud adapter keine befehle über alexa ? was verstehe ich nicht ? irgend einen adapter (iobroker, oder handy tools) benötigt man doch immer, um mit alexa zu kommunizieren - der cloud adapter für iobroker - warum umlagern ? `
            Ja, alles andere ist ja da.

            Ich möchte nur wissen ob es eine Möglichkeit gibt ohne den Cloud-Adapter als "Mittelsmann" (zum Beispiel über ein Script)

            mit Sprachbefehl an Alexa etwas zun steuern.

            1 Reply Last reply Reply Quote 0
            • haselchen
              haselchen Most Active last edited by

              @ ltsalvatore

              Ganz kurz mal dazwischengefunkt.

              Magst/Kannst Du Deine View von oben als Download zur Verfügung stellen?

              1 Reply Last reply Reply Quote 0
              • L
                ltsalvatore last edited by

                @haselchen:

                @ ltsalvatore

                Ganz kurz mal dazwischengefunkt.

                Magst/Kannst Du Deine View von oben als Download zur Verfügung stellen? `

                aber selbstverständlich
                6497_view_music.txt

                1 Reply Last reply Reply Quote 0
                • haselchen
                  haselchen Most Active last edited by

                  Daaaaaaaaaaaaaaanke 😄

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

                    @Paulchen67:

                    [Ich möchte nur wissen ob es eine Möglichkeit gibt ohne den Cloud-Adapter als "Mittelsmann" (zum Beispiel über ein Script)

                    mit Sprachbefehl an Alexa etwas zun steuern. `
                    Das solle über den node-red-Adapter gehen … steht hier im Forum auch was dazu.

                    Hab ich selber auch nie getestet, da die Einrichtung mit der Cloud einfacher ist.

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

                      Eine Grundidee ist die folgende: lege eine Routine an mit dem „Sprachbefehl“ den du willst und lass sie als Antwort immer Ok oder was auch immer sagen.

                      Im Adapter kannst du bei History den Text sehen der gesagt wurde und kannst so schauen das wenn dein Sprachbefehl gesagt wurde du eine Aktion auslöst.

                      Aktuelles Problem ist nur das das nicht in Echtzeit geht weil man aktuell nichts mitbekommt wenn was gesagt wurde.

                      Warte auf das nächste Update vom alexa2. 😉

                      Gesendet vom Handy …

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

                        @apollon77:

                        Eine Grundidee ist die folgende: lege eine Routine an mit dem „Sprachbefehl“ den du willst und lass sie als Antwort immer Ok oder was auch immer sagen.

                        Im Adapter kannst du bei History den Text sehen der gesagt wurde und kannst so schauen das wenn dein Sprachbefehl gesagt wurde du eine Aktion auslöst.

                        Aktuelles Problem ist nur das das nicht in Echtzeit geht weil man aktuell nichts mitbekommt wenn was gesagt wurde.

                        Warte auf das nächste Update vom alexa2. 😉

                        Gesendet vom Handy … `
                        Ja genau, das habe ich schon ausprobiert.

                        Habe eine Routine angelegt mit meinem Sprachbefehl und habe Alexa mit "Geht klar" antworten lassen.

                        Mit dieser Routine hab ich dann per Script eine Aktion auslösen wollen.

                        Wenn ich in ioBroker im Alexa2 Adapter hinter der Routine den Button drücke,

                        dann geht die Routine auf true und meine Aktion wird ausgelöst und Alexa antwortet mit "Geht klar".

                        Aber wenn ich den Sprachbefehl zu Alexa sage, dann antwortet sie zwar mit "Geht klar" aber die Routine

                        geht im Adapter nicht auf true und die Aktion wird auch nicht ausgelöst.

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

                          Hey All,

                          Im ersten schritt für alle Testwilligen User (ja kann kaputt sein und gehen!!) geht es hier weiter mit version 0.4.0 des Adapters

                          –> viewtopic.php?f=37&t=16095

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

                            @Paulchen67:

                            Aber wenn ich den Sprachbefehl zu Alexa sage, dann antwortet sie zwar mit "Geht klar" aber die Routine

                            geht im Adapter nicht auf true und die Aktion wird auch nicht ausgelöst. `

                            Das wird nicht tun weil es keine Möglichkeit/Rückmeldung gibt das es das ist.

                            Man könnte den text nehmen und schauen ob es zu einem Routinentext passt und dann da was setzen … weiss aber nicht wie zuverlässig das ist. Leg doch mal ein Github issue dazu an. Kann man mal versuchen

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

                              @apollon77:

                              Hey All,

                              Im ersten schritt für alle Testwilligen User (ja kann kaputt sein und gehen!!) geht es hier weiter mit version 0.4.0 des Adapters

                              –> viewtopic.php?f=37&t=16095 `

                              Adapter 0.4.0 installiert , keine Probleme bei der Installation.

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

                                0.4.0 Feedback bitte im anderen thread!!! :-))

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

                                  0.4.0 kommt morgen ins latest Repository.

                                  Andere Frage noch: "Playlist" davorschreiben bei den Music-Providern … geht das bei allen Music-providern oder bei welchen geht es?

                                  Eine idee wäre noch weitere "Amazon-Music-Playlist" States anzulegen wo das automatisch davorgeschrieben wird 🙂 Aber die Frage ist welche provider das unterstützen. Habt Ihr eine Info?

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    Jautze last edited by

                                    Hallo,

                                    ich habe ein Problem mit dem Alexa2 Adapter.

                                    Der Adapter kann sich nicht in Alexa einloggen bzw. bekommt kein Cookie.

                                    Auszug aus dem Log:

                                    TypeError: Cannot read property 'alexaCookie' of undefined

                                    Benutzername und Passwort sind definitiv korrekt. Auch kein 2fa

                                    Adapter & Instanz neu installiert.

                                    Node.js

                                    v6.14.3

                                    NPM

                                    v3.10.10

                                    host.IOBroker	2018-08-14 11:44:27.272	info	Restart adapter system.adapter.alexa2.0 because enabled
                                    host.IOBroker	2018-08-14 11:44:27.272	error	instance system.adapter.alexa2.0 terminated with code 0 (OK)
                                    host.IOBroker	2018-08-14 11:44:27.271	error	Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:104:9)
                                    host.IOBroker	2018-08-14 11:44:27.271	error	Caught by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:80:11)
                                    host.IOBroker	2018-08-14 11:44:27.271	error	Caught by controller[0]: at endReadableNT (_stream_readable.js:978:12)
                                    host.IOBroker	2018-08-14 11:44:27.270	error	Caught by controller[0]: at IncomingMessage.emit (events.js:185:7)
                                    host.IOBroker	2018-08-14 11:44:27.270	error	Caught by controller[0]: at emitNone (events.js:91:20)
                                    host.IOBroker	2018-08-14 11:44:27.270	error	Caught by controller[0]: at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/alexa-cookie2/alexa-cookie.js:107:33)
                                    host.IOBroker	2018-08-14 11:44:27.269	error	Caught by controller[0]: at request (/opt/iobroker/node_modules/alexa-cookie2/alexa-cookie.js:162:25)
                                    host.IOBroker	2018-08-14 11:44:27.269	error	Caught by controller[0]: at /opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:88:29
                                    host.IOBroker	2018-08-14 11:44:27.268	error	Caught by controller[0]: TypeError: Cannot read property 'alexaCookie' of undefined
                                    alexa2.0	2018-08-14 11:44:26.968	debug	Alexa-Cookie: Response (200)
                                    alexa2.0	2018-08-14 11:44:26.736	debug	Alexa-Cookie: Sending Request with {"host":"alexa.amazon.de","path":"/api/language","method":"GET","headers":{"DNT":"1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36
                                    alexa2.0	2018-08-14 11:44:26.734	debug	Alexa-Cookie: Step 4: get CSRF
                                    alexa2.0	2018-08-14 11:44:26.681	debug	Alexa-Cookie: Response (200)
                                    alexa2.0	2018-08-14 11:44:26.459	debug	Alexa-Cookie: Sending Request with {"host":"alexa.amazon.de","path":"/spa/index.html","method":"GET","headers":{"DNT":"1","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64)
                                    alexa2.0	2018-08-14 11:44:26.454	debug	Alexa-Cookie: Response (302) - Redirect to https://alexa.amazon.de/spa/index.html
                                    alexa2.0	2018-08-14 11:44:26.260	debug	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/5
                                    alexa2.0	2018-08-14 11:44:26.259	debug	Alexa-Cookie: Response (302) - Redirect to https://alexa.amazon.de/?
                                    alexa2.0	2018-08-14 11:44:25.792	debug	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) AppleW
                                    alexa2.0	2018-08-14 11:44:25.791	debug	Alexa-Cookie: Step 3: login with filled form, referer contains session id
                                    alexa2.0	2018-08-14 11:44:25.324	debug	Alexa-Cookie: Response (200)
                                    alexa2.0	2018-08-14 11:44:25.170	debug	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) AppleW
                                    alexa2.0	2018-08-14 11:44:25.169	debug	Alexa-Cookie: Step 2: login empty to generate session
                                    alexa2.0	2018-08-14 11:44:24.677	debug	Alexa-Cookie: Response (200)
                                    alexa2.0	2018-08-14 11:44:24.436	debug	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%2
                                    alexa2.0	2018-08-14 11:44:24.433	debug	Alexa-Cookie: Response (302) - Redirect to https://www.amazon.de/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%2Fid
                                    alexa2.0	2018-08-14 11:44:24.193	debug	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
                                    alexa2.0	2018-08-14 11:44:24.193	debug	Alexa-Cookie: Step 1: get first cookie and authentication redirect
                                    alexa2.0	2018-08-14 11:44:24.193	debug	Alexa-Cookie: Proxy-Mode enabled if needed: 192.168.1.138:8100 to listen on 0.0.0.0
                                    alexa2.0	2018-08-14 11:44:24.193	debug	Alexa-Cookie: Use as Accept-Language: de-DE
                                    alexa2.0	2018-08-14 11:44:24.193	debug	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
                                    alexa2.0	2018-08-14 11:44:24.193	debug	Alexa-Cookie: Use as Alexa-Service-Host: alexa.amazon.de
                                    alexa2.0	2018-08-14 11:44:24.193	debug	Alexa-Cookie: Use as Login-Amazon-URL: amazon.de
                                    alexa2.0	2018-08-14 11:44:24.193	debug	Alexa-Remote: No cookie given, generate one
                                    alexa2.0	2018-08-14 11:44:24.193	debug	Alexa-Remote: Use as Base-URL: alexa.amazon.de
                                    alexa2.0	2018-08-14 11:44:24.193	debug	Alexa-Remote: Use as Login-Amazon-URL: amazon.de
                                    alexa2.0	2018-08-14 11:44:24.191	debug	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
                                    alexa2.0	2018-08-14 11:44:23.112	info	starting. Version 0.4.0 in /opt/iobroker/node_modules/iobroker.alexa2, node: v6.14.3
                                    host.IOBroker	2018-08-14 11:44:22.053	info	instance system.adapter.alexa2.0 started with pid 29521</anonymous>
                                    

                                    Manuelles eintragen funktioniert leider auch nicht.

                                    Danke und viele Grüße

                                    Marcel Jaud

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

                                      @Jautze:

                                      NPM

                                      v3.10.10

                                      Danke und viele Grüße

                                      Marcel Jaud `

                                      Vielleicht liegt es an der NPM Version ?

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        Jautze last edited by

                                        Hallo,

                                        npm Update hat leider keine Besserung gebracht.

                                        Viele Grüße

                                        Marcel Jaud

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

                                          @Jautze:

                                          Hallo,

                                          npm Update hat leider keine Besserung gebracht.

                                          Viele Grüße

                                          Marcel Jaud `

                                          was ist wenn du mal auf iobroker.alexa2 V0.3.8 downgradest? und startest?

                                          sonst vielleicht einmal den js-controller neu starten.

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            Jautze last edited by

                                            Hallo,

                                            ging davor auch nicht. Da ging es aber wenn ich es manuell eingetragen habe.

                                            Komplette VM habe ich auch schon neu gestartet. Trotzdem geht es nicht.

                                            Habe in meiner Email Adresse ein "-" (Bindestrich) kann es daran liegen?

                                            Danke und viele Grüße

                                            Marcel

                                            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

                                            873
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            76
                                            581
                                            144617
                                            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