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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

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

      @newbie2007 Also ich finde im ganzen Adapter Code nichts was da jemand ein "false" setzt ausser einmalig beim Adapterstart 🙂

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

        @apollon77 hmmm
        War aber vorher so.
        Auch der Enabled Datenpunkt geht nicht wieder auf falsch, wenn die Wecker ausgeschaltet/Deaktiviert werden.

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

          @newbie2007 Dazu müsste ich ein Debug log sehen weil an sich push messages kommen wenn sich timer ändern - vor allem wenn disabled ...

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

            @apollon77 was soll ich machen?

            
            alexa2.0
            2021-10-13 17:06:17.627	info	Device-type:A324YMIUSWQDGE (SPEECH_RECOGNIZER_USS,GOLDFISH,REMINDERS,VOLUME_SETTING,AUDIBLE,SET_TIME_ZONE,AMAZON_MUSIC,KINDLE_BOOKS,DIALOG_INTERFACE_VERSION,CUSTOM_ALARM_TONE,AUDIO_PLAYER,APPLE_MUSIC,DEREGISTER_DEVICE,MULTI_WAKEWORDS_SUPPORTED,MUSIC_SKILL,SOUND_SETTINGS,ASCENDING_ALARM_VOLUME,DEEZER,TIMERS_AND_ALARMS,TIDAL,TUNE_IN,SIRIUSXM,SUPPORTS_CONNECTED_HOME_CLOUD_ONLY,SUPPORTS_LOCALE,SUPPORTS_LOCALE_SWITCH,MICROPHONE,SET_LOCALE,ADAPTIVE_LISTENING,PERSISTENT_CONNECTION,EARCONS,CHANGE_NAME,DREAM_TRAINING,SLEEP,I_HEART_RADIO)
            
            alexa2.0
            2021-10-13 17:06:17.627	info	Report to developer as GitHub issue with details for device. Please grab full next line pot. from logfile on disk if cutted
            
            alexa2.0
            2021-10-13 17:06:17.626	info	Unknown Device, but enabling commands, Try it and report back if commands work.
            
            alexa2.0
            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
            
            alexa2.0
            2021-10-13 17:06:13.217	info	starting. Version 3.11.2 in /opt/iobroker/node_modules/iobroker.alexa2, node: v12.22.7, js-controller: 3.3.18
            
            alexa2.0
            2021-10-13 17:06:09.477	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            
            alexa2.0
            2021-10-13 17:06:09.475	info	terminating
            
            alexa2.0
            2021-10-13 17:06:09.463	info	Got terminate signal TERMINATE_YOURSELF
            
            F apollon77 3 Replies Last reply Reply Quote 0
            • F
              fastfoot @newbie2007 last edited by

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

              @apollon77 was soll ich machen?

              das kann ich nicht sagen, allerdings ändern sich bei mir (v3.11.2) die Datenpunkte so wie von dir erwartet. Schalte ich einen Wecker aus dann geht enabled auf false, stoppe ich den Wecker während des Signals dann geht auch triggered auf false

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

                @fastfoot genau, so war es bei mir auch vorher…

                Und jetzt habe ich auch 3.11.2

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

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

                  @fastfoot genau, so war es bei mir auch vorher…

                  aber jetzt hast du ja einen Push-Connection error im LOG, da wundert mich das nicht. Evtl. hilft ein Reset der Cookies, ist aber geraten

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

                                            Support us

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

                                            963
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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