Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Alexa2 Adapter 3.13/3.14/3.15/3.16/3.17 (Beta)

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Alexa2 Adapter 3.13/3.14/3.15/3.16/3.17 (Beta)

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @DJMarc75 last edited by

      @djmarc75 Wie setzt du es denn? Da muss eine ZAHL ankommen (an sich schon immer, da wurde nichts dran geändert). Kann es sein das Du einen String schreibst? Dann bitte dein Skript korrigieren. Kein Adapterfehler

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

        @apollon77 sagte in Alexa2 Adapter 3.13.0 (Beta):

        Da muss eine ZAHL ankommen (an sich schon immer, da wurde nichts dran geändert)

        Da kommt seit ich das Skript erstellt habe eine Zahl an und kein String.
        Screenshot 2022-07-03 163649.png

        Die 3.12.0 macht ja da auch keine Mucken.

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

          @djmarc75 Dann bitte mal die Alexa 2 Instanz auf Debug stellen, nach dem Start und wenn sich das Log beruhtigt hat und dein skript das nächste mal läuft solltest Du vor dem "error" eine Zeile "State changed ..." sehen die genau das beinhaltet was ankommt. Was ist das denn? Zeig mal

          PS: Und um genau zuschauen was das Blockly tut bitte mal auf das generierte JavaScript schauen (im JS Adapter auf das Blockly|JS" Icon klicken ... und mal zeigen bitte

          PS: Log sieht bei mir so aus

          2022-07-03 16:48:05.091  - debug: alexa2.0 (57490) State changed alexa2.0.Echo-Devices.XXXXX.Commands.speak-volume: {"val":40,"ack":false,"ts":1656859685090,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1656859685090}
          2022-07-03 16:48:05.091  - debug: alexa2.0 (57490) Set speak-Volume for XXXXX: 40
          2022-07-03 16:48:05.093  - debug: alexa2.0 (57490) State changed alexa2.0.Echo-Devices.XXXXX.Commands.speak-volume: {"val":40,"ack":true,"ts":1656859685093,"q":0,"from":"system.adapter.alexa2.0","user":"system.user.admin","lc":1656859685090}
          
          
          DJMarc75 1 Reply Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @apollon77 last edited by

            @apollon77 Hiermit möchte ich höflichst um Entschuldigung bitten, da der Fehler an mir lag. Ich habe nach dem update vergessen die ENUMS (Aufzählungen) zu aktualisieren, also quasi neu anzulegen, da ich alle Objekte im Adapter gelöscht habe. Adapter in 3.13.0 läuft quasi super. Sorry für die Verwirrungen.

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

              @djmarc75 Danke, das wichtigste ist das wir die Ursache gefunden haben

              1 Reply Last reply Reply Quote 1
              • BananaJoe
                BananaJoe Most Active last edited by BananaJoe

                Öhm, ich gebe dem Echo im Badezimmer per TextCommand den Befehl "Spiele NDR zwei Niedersachsen" sobald man das Licht anmacht.

                Das funktioniert auch noch, aber er ändert jetzt jedesmal die Lautstärke auf 50%.
                Also erst die Lautstärke auf 50% mit dem diesem Ton der kommt wenn man die Lautstärke ändert, dann spielt er den Stream. Auch wenn die Lautstärke schon 50% ist.

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

                  @bananajoe Hm ...ja so überlegt denke ich sollte man textCommand von dem "lautstärke setzen" ausnehmen. Ändere ich in der nächsten version.

                  PS: GitHub version hat (neben anderen Dingen) bereits check das speak-colume nicht gesetzt wird wenn volume schon passt oder bei textCommand. Gern testen

                  BananaJoe 2 Replies Last reply Reply Quote 1
                  • BananaJoe
                    BananaJoe Most Active @apollon77 last edited by

                    @apollon77 Superschnell und schon erkannt trotz spärlicher Informationen - DANKE!

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

                      @apollon77 ich hab gestern gegen 09:30 die Github Version gezogen.

                      textCommand macht jetzt nichts mehr, es passiert also nichts (und meine Familienmitglieder sind ganz schlechte Fehlermelder)

                      Logmeldungen schaue ich gleich mal.

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

                        @bananajoe Fixed auf GitHub

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

                          @apollon77 sagte in Alexa2 Adapter 3.13.0 (Beta):

                          @bananajoe Fixed auf GitHub

                          Mhh, also passiert immer noch nichts. Befehl erscheint auch nicht oder das Gerät mit dem letzten textCommand Befehl unter

                          alexa2.0.History.xxx
                          

                          Im Log - auf Info - ist nichts zu sehen

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

                            @bananajoe Dann bitte mal ein Debug Log zeigen. Hats Du auch wirklich neu von GitHub aktualisiert? 🙂 Sonst gehe zurück auf die 3.13 aus dem Repo und warte auf die offizielle 3.14

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

                              @apollon77 sagte in Alexa2 Adapter 3.13.0 (Beta):

                              @bananajoe Dann bitte mal ein Debug Log zeigen. Hats Du auch wirklich neu von GitHub aktualisiert? 🙂 Sonst gehe zurück auf die 3.13 aus dem Repo und warte auf die offizielle 3.14

                              Ich hatte "über die Katze" mit der direkten URL des GitHub-Projektes aktualisiert.
                              Bin zurück auf die 3.12 (da ich erst heute Abend wieder zu Hause bin und den "Ehefrauen-Akzeptanz-Faktor" heute nicht weiter ausreizen wollte) mit der meine Skripte etc. wie gewohnt funktionieren.

                              Ich wurde zwar oft ungläubig angestarrt "Was soll der Quatsch denn schon wieder!" - Aber missen will das keiner mehr vorn den dreien (Frau + 2 Kinder)

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

                                @apollon77 Habe gerade die letzte Version von Gut gezogen. Leider geht speak bei mir nicht. Traffic z.B. lässt sich triggern. Jedoch ist speak tot bei mir

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

                                  @flexer und mit der 3.13 aus Beta? GitHub ist grad schon massiv weiter in der nächsten Version. Und bitte debug log von dem speak call.

                                  M Flexer 2 Replies Last reply Reply Quote -1
                                  • M
                                    Marty56 @apollon77 last edited by Marty56

                                    @apollon77

                                    Gerade bemerkt, dass sich der Datenpunkt
                                    'alexa2.0.Echo-Devices.Gxxxxxxx.Music-Provider.Amazon Music'
                                    geändert hat, vorher war ein Bindestrich zwischen
                                    "Amazon-Music".

                                    Keine Ahnung, ob das gewollt ist oder nicht. Ich habe mein Script angepasst.

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

                                      @marty56 ooohhh. Nein nicht Absicht. Ändere ich in neuer Version die heute kommt zurück. Sorry und danke für die Meldung.

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

                                        @apollon77 Ich habe mal ein Hallo in den Speak DP geschrieben. Es kommt kein Fehler aber das im Protokoll. Letzte Version Git. Ich mache gleich noch ein Downgrade auf die 3.13. Beta und mache das selbe. Siehe unten. Text to Command geht auch nicht.

                                        
                                        alexa2.0
                                        2022-07-06 09:36:02.061	debug	Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}} and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.SerialNode\",\"name\":null,\"nodesToExecute\":[{\"@type\":\"com.amazon.alexa.behaviors.model.ParallelNode\",\"name\":null,\"nodesToExecute\":[{\"@type\":\"com.amazon.alexa.behaviors.model.SerialNode\",\"name\":null,\"nodesToExecute\":[{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A1RABVCI4QCIKC\",\"deviceSerialNumber\":\"G090XG07936526UB\",\"locale\":\"de-DE\",\"customerId\":\"AALB885UUQNQH\",\"textToSpeak\":\"ALEXA\"},\"type\":\"Alexa.Speak\"}]}]}]}}","status":"ENABLED"}
                                        
                                        alexa2.0
                                        2022-07-06 09:36:02.061	debug	Alexa-Remote: Authentication check successfull
                                        
                                        alexa2.0
                                        2022-07-06 09:36:02.060	debug	Alexa-Remote: Response: {"authentication":{"authenticated":true,"canAccessPrimeMusicContent":true,"customerEmail":"tristan.baumann@gmx.de","customerId":"AALB885UUQNQH","customerName":"Tristan Baumann"}}
                                        
                                        alexa2.0
                                        2022-07-06 09:36:01.867	debug	Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/bootstrap?version=0","method":"GET","timeout":10000,"headers":{}}
                                        
                                        alexa2.0
                                        2022-07-06 09:36:01.866	debug	State changed alexa2.0.Echo-Devices.G090XG07936526UB.Commands.speak: {"val":"ALEXA","ack":false,"ts":1657092961865,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1657092961865}
                                        

                                        So hier Version 3.13. Beta.
                                        Wenn man in Speak etwas schreibt kommt ein Biep aber kein Text. Im Datenpunkt Speak Volume muss eine Zahl stehen. Vorher konnte dieser leer sein wodurch kein Biep ausgelöst wurde. Es kam einfach nur der Text aus Speak. Jetzt kommt Biep und kein Text.

                                        Hier das Log nach dem schreiben von Speak

                                        
                                        alexa2.0
                                        2022-07-06 09:42:50.492	debug	State changed alexa2.0.Echo-Devices.G090XG07936526UB.Player.muted: {"val":false,"ack":true,"ts":1657093370489,"q":0,"from":"system.adapter.alexa2.0","user":"system.user.admin","lc":1637514912094}
                                        
                                        alexa2.0
                                        2022-07-06 09:42:50.490	debug	State changed alexa2.0.Echo-Devices.G090XG07936526UB.Player.volume: {"val":40,"ack":true,"ts":1657093370489,"q":0,"from":"system.adapter.alexa2.0","user":"system.user.admin","lc":1657092893260}
                                        
                                        alexa2.0
                                        2022-07-06 09:42:50.487	debug	Alexa-Push-Connection Device Volume change for G090XG07936526UB -> 40/false
                                        
                                        alexa2.0
                                        2022-07-06 09:42:50.487	debug	Alexa-Remote WS-MQTT: Command PUSH_VOLUME_CHANGE: { "destinationUserId": "ANW35Y9CPLLQA", "dopplerId": { "deviceType": "A1RABVCI4QCIKC", "deviceSerialNumber": "G090XG07936526UB" }, "volumeSetting": 40, "isMuted": false }
                                        
                                        alexa2.0
                                        2022-07-06 09:42:50.486	debug	Alexa-Remote WS-MQTT: Incoming message: {"service":"FABE","messageType":"MSG","channel":866,"messageId":1215079711,"moreFlag":1711276032,"seq":1,"checksum":459724553,"content":{"messageType":"GWM","subMessageType":"MSG","channel":46201,"destinationIdentityUrn":"urn:tcomm-endpoint:service:serviceName:DeeWebsiteMessagingService:domain:prod:realm:USAmazon","deviceIdentityUrn":"urn:tcomm-endpoint:device:customerId:AALB885UUQNQH:deviceType:A2IVLV5VM2W81:deviceSerialNumber:885931c2366cae49232d93a7fb7b820a","payload":{"command":"PUSH_VOLUME_CHANGE","payload":{"destinationUserId":"ANW35Y9CPLLQA","dopplerId":{"deviceType":"A1RABVCI4QCIKC","deviceSerialNumber":"G090XG07936526UB"},"volumeSetting":40,"isMuted":false},"timeStamp":1657093370427}}}
                                        
                                        alexa2.0
                                        2022-07-06 09:42:50.486	debug	Alexa-Remote WS-MQTT: Incoming RAW message: 4d534700000362486ca51f66000000011b66d7090000021747574d204d5347203078303030306234373920307830303030303035632075726e3a74636f6d6d2d656e64706f696e743a736572766963653a736572766963654e616d653a446565576562736974654d6573736167696e67536572766963653a646f6d61696e3a70726f643a7265616c6d3a5553416d617a6f6e20307830303030303037662075726e3a74636f6d6d2d656e64706f696e743a6465766963653a637573746f6d657249643a41414c423838355555514e51483a646576696365547970653a413249564c5635564d325738313a64657669636553657269616c4e756d6265723a3838353933316332333636636165343932333264393361376662376238323061207b22636f6d6d616e64223a22505553485f564f4c554d455f4348414e4745222c227061796c6f6164223a227b5c2264657374696e6174696f6e5573657249645c223a5c22414e573335593943504c4c51415c222c5c22646f70706c657249645c223a7b5c22646576696365547970655c223a5c224131524142564349345143494b435c222c5c2264657669636553657269616c4e756d6265725c223a5c22473039305847303739333635323655425c227d2c5c22766f6c756d6553657474696e675c223a34302c5c2269734d757465645c223a66616c73657d222c2274696d655374616d70223a313635373039333337303432377d46414245
                                        
                                        alexa2.0
                                        2022-07-06 09:42:49.805	debug	Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/behaviors/preview","method":"POST","timeout":10000,"headers":{}} and data={"behaviorId":"PREVIEW","sequenceJson":"{\"@type\":\"com.amazon.alexa.behaviors.model.Sequence\",\"startNode\":{\"@type\":\"com.amazon.alexa.behaviors.model.SerialNode\",\"name\":null,\"nodesToExecute\":[{\"@type\":\"com.amazon.alexa.behaviors.model.ParallelNode\",\"name\":null,\"nodesToExecute\":[{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A1RABVCI4QCIKC\",\"deviceSerialNumber\":\"G090XG07936526UB\",\"locale\":\"de-DE\",\"customerId\":\"AALB885UUQNQH\",\"value\":40},\"type\":\"Alexa.DeviceControls.Volume\"}]},{\"@type\":\"com.amazon.alexa.behaviors.model.ParallelNode\",\"name\":null,\"nodesToExecute\":[{\"@type\":\"com.amazon.alexa.behaviors.model.SerialNode\",\"name\":null,\"nodesToExecute\":[{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A1RABVCI4QCIKC\",\"deviceSerialNumber\":\"G090XG07936526UB\",\"locale\":\"de-DE\",\"customerId\":\"AALB885UUQNQH\",\"textToSpeak\":\"Ingo\"},\"type\":\"Alexa.Speak\"}]}]},{\"@type\":\"com.amazon.alexa.behaviors.model.ParallelNode\",\"name\":null,\"nodesToExecute\":[{\"@type\":\"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\",\"operationPayload\":{\"deviceType\":\"A1RABVCI4QCIKC\",\"deviceSerialNumber\":\"G090XG07936526UB\",\"locale\":\"de-DE\",\"customerId\":\"AALB885UUQNQH\",\"value\":40},\"type\":\"Alexa.DeviceControls.Volume\"}]}]}}","status":"ENABLED"}
                                        
                                        alexa2.0
                                        2022-07-06 09:42:49.805	debug	Alexa-Remote: No authentication check needed (time elapsed 215450)
                                        
                                        alexa2.0
                                        2022-07-06 09:42:49.804	debug	State changed alexa2.0.Echo-Devices.G090XG07936526UB.Commands.speak: {"val":"Ingo","ack":false,"ts":1657093369802,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1657093369802}
                                        

                                        Text Command geht auch nicht. Muss noch eine Version weiter runter gehen, dass meine Türklingel mit TextCommand wieder geht. Die spielt für mich eine MP3 ab.

                                        Liebe Grüüüße

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

                                          @flexer Dann bitte volles Debug Log vom Start bis alles erledigt ist mit der Version wo es geht und der 3.13 bitte per E-mail an mich iobroker@fischer-ka.de (Bitte aus dem Logfile nehmen und nicht vom Admin oder so kopieren)

                                          EDIT: ABer bitte lig mit Speak dannmachen und nicht TextCommand. Bei TextCommand gibts in 1.13.1 ein known issue

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

                                            So, damit Euch nicht langweilig wird hier das nächste Alexa2 Featurepack, aka 3.14.0, welches demnächst im Repo autuchen sollte.

                                            Changelog:

                                            • (Apollon77) Allow to define if Lists and Smart home devices are synced by the adapter with the Amazon Cloud at all
                                            • (Apollon77) Enhance Smart Home Device support by adding various controllers and states. If in your Alexa App something is configurable which is not in ioBroker please send a debug log!
                                            • (Apollon77) Re-Introduce the ability to poll smart home device states in intervals, but only devices are queried that report their status proactively to Amazon-Cloud to prevent Skill developer costs! ioBroker (and OpenHab) devices are NOT queried! The interval can be configured but must not be lower than 60s! Querying is disabled by default.
                                            • (Apollon77) Add message to send out sequences of commands to alexa devices
                                            • (Apollon77) Add Info states for macAddress and WifiSSID of the Alexa devices
                                            • (Apollon77) Add several new states for Player for allowed actions, medium quality
                                            • (Apollon77) Add mediaId and also allow to set it to jump to a defined entry in the playlist
                                            • (Apollon77) Add Commands.sound to play a sound
                                            • (Apollon77) Do not set the speak-volume when executing textCommand and deviceStop
                                            • (Apollon77) Do not set speak-volume if the volume is already as wanted when executing commands
                                            • (Apollon77) update Do-Not-Disturb status once on start and with device configuration updates
                                            • (Apollon77) Allow to specify the title in notification commands
                                            • (Apollon77) When a device plays music in a group then new states in "Player"will indicate this together with the group ID
                                            • (Apollon77) Allow to enable and disable smart home devices - this will be synced together with the smart home state updates from the cloud if changed in the app!
                                            • (Apollon77) Detect Rate limit exceeded response and do one automatic request retry 10s later (plus a random part)
                                            • (Apollon77) Slow down the update of player status to prevent rate limit exceeded errors. initial update of the player states is delayed on startup of the adapter
                                            • (Apollon77) Restore character replacement for Music providers (space is now again a "-")
                                            • (Apollon77) Add more devices
                                            • (Apollon77) Optimize startup and unload handling

                                            Wer mit der 3.13. Probleme hatte bitte die 3.14.0 nehmen wenn es darum geht Logs zu erzeugen.

                                            DJMarc75 1 Reply Last reply Reply Quote 4
                                            • First post
                                              Last post

                                            Support us

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

                                            492
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            39
                                            391
                                            44902
                                            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