Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Alexa2 3.10.x (Beta!): Push-Verbindung tut wieder

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Alexa2 3.10.x (Beta!): Push-Verbindung tut wieder

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

      Also, bei mir funktioniert das mit false/true

      SmartSelect_20211013-175215_Chrome.gif

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

        @newbie2007 sagte in Alexa2 3.10.x (Beta!): Push-Verbindung tut wieder:

        2021-10-13 17:06:16.184 info Alexa-Push-Connection Error: TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer. Received undefined

        Das sieht aus wie ein Bug ... Bitte Debug Log aktivieren udnd ann nochmal posten ... muss sehen wann das passiert. AM besten File mir per email an iobroker@fischer-ka.de

        1 Reply Last reply Reply Quote 1
        • apollon77
          apollon77 @newbie2007 last edited by

          @newbie2007 Ok, habe geschaut ... scheinbar ist bei dir das "neue "nicht korrekt da ... bitte Rest Cookies in den Sesstings machen und neu bei Amazon über den Proxy einloggen

          N 1 Reply Last reply Reply Quote 0
          • N
            newbie2007 @apollon77 last edited by newbie2007

            @apollon77 Hallo zusammen,
            Ich habe jetzt den Alexa2-Adapter komplett deinstalliert und nur die v3.11.2 installiert. Also nicht ein Update von einer vorherigen Version durchgeführt. Nebenbei habe ich den kompletten Datenbaum vom Alexa2-Adapter gelöscht.
            Jetzt scheint es erstmal zu funktionieren.
            Fehlermeldung im Log ist auch weg.
            Ich werde es aber noch ausgiebig testen. Allerdings kann ich aber erst morgen eine Rückmeldung geben, muss jetzt weg.
            Aber vielen Dank an euch alle.

            Gruß und schönen Abend
            Uwe

            N 1 Reply Last reply Reply Quote 0
            • N
              newbie2007 @newbie2007 last edited by

              @newbie2007 konnte doch nicht anders….
              Auch mein benötigter Datenpunkt „triggered“ wird jetzt korrekt gesetzt, damit ich meine Lichter mit dem Wecker steuern kann.
              @Apollon77: sehr gute Arbeit💪👍

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

                @apollon77

                Bei mir wird die History leider egal mit welcher Version nicht befüllt.
                Cookie neu geholt, brachte auch nichts.

                Nach ca.2min wird der Befehl dann ausgeführt.

                Das kommt auch nach einem Neustart:

                alexa2.0	2021-10-13 23:29:18.981	info	(13536) Alexa-Push-Connection disconnected - retry: Retry Connection in 45s
                alexa2.0	2021-10-13 23:28:38.517	info	(13536) Alexa-Push-Connection disconnected - retry: Retry Connection in 40s
                alexa2.0	2021-10-13 23:28:03.050	info	(13536) Alexa-Push-Connection disconnected - retry: Retry Connection in 35s
                

                Edit

                alexa2.0	2021-10-14 00:28:43.021	info	(17357) Alexa-Push-Connection disconnected - retry: Retry Connection in 15s
                alexa2.0	2021-10-14 00:28:43.021	debug	(17357) Alexa-Remote WS-MQTT: Retry Connection in 15s
                alexa2.0	2021-10-14 00:28:43.021	debug	(17357) Alexa-Remote WS-MQTT: Close: 1005:
                alexa2.0	2021-10-14 00:28:43.019	debug	(17357) Alexa-Remote WS-MQTT: Open: wss://dp-gw-na.amazon.de/tcomm/
                
                apollon77 1 Reply Last reply Reply Quote 0
                • P
                  peterfido last edited by

                  Bei mir arbeitet die 3.9.3 unauffällig durch.

                  proxbroker
                  Plattform
                  linux
                  Betriebssystem
                  linux
                  Architektur
                  x64
                  CPUs
                  4
                  Geschwindigkeit
                  2304 MHz
                  Modell
                  Common KVM processor
                  RAM
                  7.79 GB
                  System-Betriebszeit
                  21 T. 21:49:41
                  Node.js
                  v12.22.6 (Es gibt eine neuere Version: v12.22.7)
                  NPM
                  6.14.15
                  Datenträgergröße
                  15.5 GB
                  freier Festplattenspeicher
                  5.43 GB
                  Anzahl der Adapter
                  362
                  Betriebszeit
                  8 T. 08:29:57
                  Aktive Instanzen
                  39
                  location
                  /opt/iobroker/
                  Hostname
                  proxbroker
                  
                  apollon77 1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @haselchen last edited by

                    @haselchen dann installier mal ne aktuelle latest version. Du scheinst eine der ersten 3.10er zu haben danach wurde noch optimiert.

                    haselchen 1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @peterfido last edited by

                      @peterfido dann wärst du der einzige. Aber ok, schön für dich.

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

                        @apollon77

                        Habe wie gesagt alle Versionen durch.
                        Aktuell mit der 3.11.2

                        alexa2.0	2021-10-14 08:35:45.762	info	(31277) Alexa-Push-Connection disconnected - retry: Retry Connection in 25s
                        alexa2.0	2021-10-14 08:35:25.303	info	(31277) Alexa-Push-Connection disconnected - retry: Retry Connection in 20s
                        alexa2.0	2021-10-14 08:35:09.575	info	(31277) Alexa-Push-Connection disconnected - retry: Retry Connection in 15s
                        
                        apollon77 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @haselchen last edited by

                          @haselchen Ohne Debug log vom start kann ich nichts dazu sagen. Und du hast mit der 3.11.2 auch mal "reset Cookies" gemacht und dich bei Amazon neu angemeldet?

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

                            @apollon77

                            Aaaaaaalllles durch.
                            Jede Version und x mal Cookie geholt.

                            alexa2.0	2021-10-14 10:12:22.760	debug	(2614) Alexa-Remote: No authentication check needed (time elapsed 0)
                            alexa2.0	2021-10-14 10:12:22.760	debug	(2614) Alexa-Remote: Authentication checked: true
                            alexa2.0	2021-10-14 10:12:22.759	debug	(2614) Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":false,"customerEmail":"","customerId"","customerName":
                            alexa2.0	2021-10-14 10:12:22.510	debug	(2614) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
                            alexa2.0	2021-10-14 10:12:22.505	debug	(2614) Alexa-Remote: cookie was provided
                            alexa2.0	2021-10-14 10:12:22.503	debug	(2614) Alexa-Remote: Use as Base-URL: alexa.amazon.de
                            alexa2.0	2021-10-14 10:12:22.503	debug	(2614) Alexa-Remote: Use as Login-Amazon-URL: amazon.de
                            alexa2.0	2021-10-14 10:12:22.502	debug	(2614) 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	2021-10-14 10:12:24.779	info	(2614) Alexa-Push-Connection disconnected - retry: Retry Connection in 10s
                            alexa2.0	2021-10-14 10:12:24.778	debug	(2614) Alexa-Remote WS-MQTT: Retry Connection in 10s
                            alexa2.0	2021-10-14 10:12:24.778	debug	(2614) Alexa-Remote WS-MQTT: Close: 1005:
                            alexa2.0	2021-10-14 10:12:24.771	debug	(2614) Alexa-Remote WS-MQTT: Open: wss://dp-gw-na.amazon.de/tcomm/
                            alexa2.0	2021-10-14 10:12:24.612	debug	(2614) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/behaviors/v2/automations?limit=2000","method":"GET","timeout":30000,"headers":{}}
                            alexa2.0	2021-10-14 10:12:24.611	debug	(2614) Alexa-Remote: No authentication check needed (time elapsed 1851)
                            alexa2.0	2021-10-14 10:12:24.610	debug	(2614) Alexa-Remote: Response: [{"id":"AMAZON_MUSIC","displayName":"Amazon Music","description":"Music provider","supportedProperties":["Alexa.Music.PlaySearchPhrase"],"supportedTriggers":[],"supporte
                            alexa2.0	2021-10-14 10:12:24.334	debug	(2614) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/behaviors/entities?skillId=amzn1.ask.1p.music","method":"GET","timeout":10000,"headers":{"Routines-Version":"1.1.210292
                            alexa2.0	2021-10-14 10:12:24.333	debug	(2614) Alexa-Remote: No authentication check needed (time elapsed 1573)
                            alexa2.0	2021-10-14 10:12:24.311	debug	(2614) Alexa-Remote: Initialize WS-MQTT Push Connection
                            alexa2.0	2021-10-14 10:12:24.309	debug	(2614) Alexa-Remote: Response: {"notifications":[]}
                            alexa2.0	2021-10-14 10:12:23.998	debug	(2614) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/notifications?cached=true&_=","method":"GET","timeout":10000,"headers":{}}
                            alexa2.0	2021-10-14 10:12:23.995	debug	(2614) Alexa-Remote: No authentication check needed (time elapsed 1234)
                            alexa2.0	2021-10-14 10:12:23.993	debug	(2614) Alexa-Remote: Response: {"bluetoothStates":[{"deviceSerialNumber":"","deviceType":"A3S5BH2HU6VAYF","friendlyName":"Echo Dot-EK0","gadgetPaired":false,"online":true,"pairedDevice
                            alexa2.0	2021-10-14 10:12:23.586	debug	(2614) Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/bluetooth?cached=true&_=","method":"GET","timeout":10000,"headers":{}}
                            alexa2.0	2021-10-14 10:12:23.586	debug	(2614) Alexa-Remote: No authentication check needed (time elapsed 826)
                            
                            alexa2.0	2021-10-14 10:18:23.929	info	(2614) Alexa-Push-Connection disconnected - retry: Retry Connection in 60s
                            alexa2.0	2021-10-14 10:18:23.929	debug	(2614) Alexa-Remote WS-MQTT: Retry Connection in 60s
                            alexa2.0	2021-10-14 10:18:23.928	debug	(2614) Alexa-Remote WS-MQTT: Close: 1006:
                            alexa2.0	2021-10-14 10:18:23.928	info	(2614) Alexa-Push-Connection disconnected - retry: Retry Connection in 60s
                            alexa2.0	2021-10-14 10:18:23.928	debug	(2614) Alexa-Remote WS-MQTT: Retry Connection in 60s
                            alexa2.0	2021-10-14 10:18:23.928	debug	(2614) Alexa-Remote WS-MQTT: Close: undefined: undefined
                            alexa2.0	2021-10-14 10:18:23.923	info	(2614) Alexa-Push-Connection Error: Error: WebSocket was closed before the connection was established
                            alexa2.0	2021-10-14 10:18:23.923	debug	(2614) Alexa-Remote WS-MQTT: Error: Error: WebSocket was closed before the connection was established
                            alexa2.0	2021-10-14 10:18:23.922	debug	(2614) Alexa-Remote WS-MQTT: Initialization not done within 30s
                            alexa2.0	2021-10-14 10:18:00.348	debug	(2614) Alexa-Remote WS-MQTT: Unexpected Response: [object Object]
                            
                            apollon77 padrino 2 Replies Last reply Reply Quote 0
                            • apollon77
                              apollon77 @haselchen last edited by

                              @haselchen sagte in Alexa2 3.10.x (Beta!): Push-Verbindung tut wieder:

                              alexa2.0 2021-10-14 10:18:00.348 debug (2614) Alexa-Remote WS-MQTT: Unexpected Response: [object Object]

                              Ich mach heute abend mal ne neue Version, da ist vllt mehr logging zu sehen. Aktuell - und auch mit den von dir gewählten Teil-Log ausschnitten ist schwierig was zu sagen

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

                                @haselchen
                                Lösch am Besten mal Dein Log.
                                Dann (re)starte alexa2 im Debug Modus.
                                Warte im Log eine Weile bis es ruhig ist.
                                Dann pack das ganze Ding in eine Email und schick sie @apollon77.
                                Ich denke, dann musste Dir um vermeintlich sensible(re) Daten drin nicht ganz so viele Gedanken machen und er bekommt einen besseren Überblick. 😌

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

                                  @padrino
                                  @apollon77

                                  Das sind schon die relevantesten Daten.
                                  Der Rest sind die Geräte , die der Adapter auflistet.

                                  Retry Connection ist der Hauptsatz in dem Log.

                                  c_hoch_b 1 Reply Last reply Reply Quote 0
                                  • c_hoch_b
                                    c_hoch_b @haselchen last edited by c_hoch_b

                                    @haselchen @apollon77

                                    Ich habe den Alexa Adapter gelöscht und neu Installiert auf 3.11.2

                                    Der Log ist nun sauber aber der DP "triggered" bleibt immer auf false.

                                    Der DP wird nun jedesmal auf false Aktualisiert, wenn ein Timer auslöst (und wieder gestoppt wird).

                                    Ich könnte meine Skripte jetzt entsprechend umbauen, habe aber sorge dass der DP auch durch andere Aktionen Aktualisiert wird und damit die Automationen getriggert werden.

                                    Danke für deine Arbeit!

                                    Viele Grüße

                                    N 1 Reply Last reply Reply Quote 0
                                    • padrino
                                      padrino Most Active @apollon77 last edited by

                                      @apollon77 sagte in Alexa2 3.10.x (Beta!): Push-Verbindung tut wieder:

                                      @haselchen Da daran nichts geändert wurde tippe ich das das vorher schon so war. keine Ahnung ob eine "App" genau behandelt wird wie ein "Gerät". Msste man wieder im Debug Log suchen

                                      Ne, das war vorher nicht so. 😉
                                      Vermutlich liegt es an Amazon...
                                      Konnte heute meine Garage nicht von unterwegs öffnen. 😎
                                      Ob ein Log was bringt?

                                      da_Woody 1 Reply Last reply Reply Quote 0
                                      • da_Woody
                                        da_Woody @padrino last edited by

                                        @padrino hmm, gerade getestet, meine garage macht, was ich sage...

                                        padrino 1 Reply Last reply Reply Quote 0
                                        • padrino
                                          padrino Most Active @da_Woody last edited by

                                          @da_woody sagte in Alexa2 3.10.x (Beta!): Push-Verbindung tut wieder:

                                          @padrino hmm, gerade getestet, meine garage macht, was ich sage...

                                          🤣👍

                                          Du triggerst vermutlich auch nicht auf summary dafür und sendest den Befehl via Handy. 😉
                                          Ist ja kein generelles "Garagenproblem". 😅

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

                                            @apollon77

                                            Ich weiß , zaubern kannst auch Du nicht , gibt es denn Licht am Ende des Tunnels ?
                                            Meine halbe Automation läuft über Summary.
                                            Und da geht momentan gar nix mehr .
                                            Wenn überhaupt wird der Befehl 2min später ausgeführt .

                                            apollon77 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

                                            634
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            24
                                            156
                                            12019
                                            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