Interactions

bonjour j ai migré sur alexaapi premium et je n’arrive pas a faire fonctionner les interactions .

mes phrases fonctionnent bien avec le test mais pas de trace dans les log interact .

ya t il quelque chose a faire en plus que de cocher la case « intreractions avec Jeedom »

car cela fonctionnai bien sur l’ancienne version alexaapi avant que le dernier dialogue ne fonctionne plus.

Version : 4.5
Source : default
Branche : beta
Système : RPI 4 B

merci

Bonjour
comment tu procèdes ?

je dit a alexa « allume la lumière de la mezzanine » par exemple

et la ma page interaction.

ca ne prend pas en compte la phrase dans le log interaction .

il faut un mot clé pour déclencher une interaction et éviter une commande accidentelle.
Pour l’instant c’est ‹ jacques dit ›, il faut que je le rende personnalisable.
essaye « jacques dit allume la lumière de la mezzanine ».

Toutefois les interactions via alexa restent fragiles, pour récupérer le « dernier dialogue » il faut une requête extra-Api et amz a imposé des quotas dessus donc ça ne fonctionne pas à tout les coups malgré mes efforts.

cela ne fonctionne pas non plus


pas visible dans le logs interact

regarde surtout si l’action s’exécute.
active les logs debug et regarde dans alexaapiv2_push

deviceSn: G0911B0593651348
deviceName: Alexa mezzanine
utteranceType: GENERAL
domain: HomeAutomation
intent: TurnOffApplianceIntent
time: 2025-05-09 14:43
question: alexa éteins la lumière de la mezzanine
response: L’appareil Mezzanine ne prend pas en charge cette commande.
[2025-05-09 14:55:56] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (46, speakerVolume, , ECHO, G0723H08247601Q6)
[2025-05-09 14:56:02] DEBUG  💠=> alexa_push:: commande: voiceHistory => {"recordKey":"A3N9ARVWQPU9GR#1746794631671#A4ZP7ZC4PI6TO#G0911B0593651348","recordType":"VOICE_HISTORY","timestamp":1746794631671,"customerId":"A3N9ARVWQPU9GR","device":{"deviceName":"Alexa mezzanine","deviceEntityId":null},"isBinaryFeedbackProvided":false,"isFeedbackPositive":false,"utteranceType":"NO_EXPRESSED_INTENT_SILENCE","domain":"","intent":"Unknown","skillName":"","voiceHistoryRecordItems":[{"recordItemKey":"1746794631671#A4ZP7ZC4PI6TO#G0911B0593651348#1746794631671-0","recordItemType":"ASR_REPLACEMENT_TEXT","utteranceId":"A4ZP7ZC4PI6TO:1.0\/2025\/05\/09\/12\/DEVICE_UNSPECIFIED\/43:46::TNIH_2V.e3261e37-5766-4702-8300-8a917b80a3b1LPM","timestamp":1746794631671,"transcriptText":"","agentVisualName":"","personsInfo":[]}],"personsInfo":[],"cardResponse":null}
[2025-05-09 15:02:51] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (20, speakerVolume, , ECHO, G070RQ10801703C9)
[2025-05-09 15:11:02] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (46, speakerVolume, , ECHO, G0723H08247601Q6)
[2025-05-09 15:11:41] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (20, speakerVolume, , ECHO, G0911B0593651348)
[2025-05-09 15:20:59] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (46, speakerVolume, , ECHO, G0723H08247601Q6)
[2025-05-09 15:24:12] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (20, speakerVolume, , ECHO, G070RQ10801703C9)
[2025-05-09 15:24:47] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (10, speakerVolume, , ECHO, G0G2HP03337509WU)
[2025-05-09 15:24:47] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:24:47] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (20, speakerVolume, , ECHO, G0911B0593651348)
[2025-05-09 15:24:51] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (20, speakerVolume, , ECHO, G0911B0593651348)
[2025-05-09 15:24:53] DEBUG  💠=> alexa_push:: commande: voiceHistory => {"recordKey":"A3N9ARVWQPU9GR#1746797090897#A4ZP7ZC4PI6TO#G0911B0593651348","recordType":"VOICE_HISTORY","timestamp":1746797090897,"customerId":"A3N9ARVWQPU9GR","device":{"deviceName":"Alexa mezzanine","deviceEntityId":null},"isBinaryFeedbackProvided":false,"isFeedbackPositive":false,"utteranceType":"GENERAL","domain":"Echo.SDK","intent":"EchoIntent","skillName":"","voiceHistoryRecordItems":[{"recordItemKey":"1746797090897#A4ZP7ZC4PI6TO#G0911B0593651348#1746797090679-0","recordItemType":"CUSTOMER_TRANSCRIPT","utteranceId":"A4ZP7ZC4PI6TO:1.0\/2025\/05\/09\/13\/DEVICE_UNSPECIFIED\/24:47::TNIH_2V.40a4f596-2264-4c12-bf94-bfb96202caebLPM\/1","timestamp":1746797090679,"transcriptText":"jacques dit \u00e9teins la lumi\u00e8re de la mezzanine","agentVisualName":"","personsInfo":[]},{"recordItemKey":"1746797090897#A4ZP7ZC4PI6TO#G0911B0593651348#1746797091060-2","recordItemType":"ALEXA_RESPONSE","utteranceId":"A4ZP7ZC4PI6TO:1.0\/2025\/05\/09\/13\/DEVICE_UNSPECIFIED\/24:47::TNIH_2V.40a4f596-2264-4c12-bf94-bfb96202caebLPM\/1","timestamp":1746797091060,"transcriptText":"\u00e9teins la lumi\u00e8re de la mezzanine","agentVisualName":"","personsInfo":[]}],"personsInfo":[],"cardResponse":null}
[2025-05-09 15:24:53] DEBUG    alexa_push::voiceHistory histData : {"deviceSn":"G0911B0593651348","customerId":"A3N9ARVWQPU9GR","recordType":"VOICE_HISTORY","deviceName":"Alexa mezzanine","domain":"Echo.SDK","intent":"EchoIntent","personId":null,"personFirstName":null,"voiceHistoryRecordItems":[{"recordItemKey":"1746797090897#A4ZP7ZC4PI6TO#G0911B0593651348#1746797090679-0","recordItemType":"CUSTOMER_TRANSCRIPT","utteranceId":"A4ZP7ZC4PI6TO:1.0\/2025\/05\/09\/13\/DEVICE_UNSPECIFIED\/24:47::TNIH_2V.40a4f596-2264-4c12-bf94-bfb96202caebLPM\/1","timestamp":1746797090679,"transcriptText":"jacques dit \u00e9teins la lumi\u00e8re de la mezzanine","agentVisualName":"","personsInfo":[]},{"recordItemKey":"1746797090897#A4ZP7ZC4PI6TO#G0911B0593651348#1746797091060-2","recordItemType":"ALEXA_RESPONSE","utteranceId":"A4ZP7ZC4PI6TO:1.0\/2025\/05\/09\/13\/DEVICE_UNSPECIFIED\/24:47::TNIH_2V.40a4f596-2264-4c12-bf94-bfb96202caebLPM\/1","timestamp":1746797091060,"transcriptText":"\u00e9teins la lumi\u00e8re de la mezzanine","agentVisualName":"","personsInfo":[]}],"time":"2025-05-09 15:24","CUSTOMER_TRANSCRIPT":{"recordItemKey":"1746797090897#A4ZP7ZC4PI6TO#G0911B0593651348#1746797090679-0","recordItemType":"CUSTOMER_TRANSCRIPT","utteranceId":"A4ZP7ZC4PI6TO:1.0\/2025\/05\/09\/13\/DEVICE_UNSPECIFIED\/24:47::TNIH_2V.40a4f596-2264-4c12-bf94-bfb96202caebLPM\/1","timestamp":1746797090679,"transcriptText":"jacques dit \u00e9teins la lumi\u00e8re de la mezzanine","agentVisualName":"","personsInfo":[]},"ALEXA_RESPONSE":{"recordItemKey":"1746797090897#A4ZP7ZC4PI6TO#G0911B0593651348#1746797091060-2","recordItemType":"ALEXA_RESPONSE","utteranceId":"A4ZP7ZC4PI6TO:1.0\/2025\/05\/09\/13\/DEVICE_UNSPECIFIED\/24:47::TNIH_2V.40a4f596-2264-4c12-bf94-bfb96202caebLPM\/1","timestamp":1746797091060,"transcriptText":"\u00e9teins la lumi\u00e8re de la mezzanine","agentVisualName":"","personsInfo":[]}}
[2025-05-09 15:24:53] DEBUG    alexa_push[voiceHistory][Alexa mezzanine] historyDialog -> {"2025-05-08 16:40":"De Alexa mezzanine gaezfg => ","2025-05-08 16:45":"De Alexa mezzanine allume lumi\u00e8re mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-08 16:49":"De Alexa mezzanine alexa allume la lumi\u00e8re mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-08 16:53":"De Alexa mezzanine alexa allume la lumi\u00e8re mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-08 16:55":"De Alexa mezzanine allume la lumi\u00e8re mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-08 17:01":"De Alexa mezzanine \u00e9teins la lumi\u00e8re mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-08 17:02":"De Alexa mezzanine alexa \u00e9teins la lumi\u00e8re mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-08 17:03":"De Alexa mezzanine alexa \u00e9teins la lumi\u00e8re mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-08 18:42":"De Alexa mezzanine alexa \u00e9teins la lumi\u00e8re de la mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-08 18:46":"De Alexa mezzanine dfsfzaf => ","2025-05-08 19:09":"De Alexa mezzanine alexa \u00e9teins la lumi\u00e8re de la mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-09 08:13":"De Alexa mezzanine #home\/amzn_sfx_doorbell_chime_01# => ","2025-05-09 08:14":"De Alexa mezzanine D\u00e9sol\u00e9e, je ne parviens pas \u00e0 acc\u00e9der \u00e0 votre Skill Simon Says EU pour le moment => ","2025-05-09 14:28":"De Alexa mezzanine alexa quelle heure il est => Il est 14:28.","2025-05-09 14:30":"De Alexa mezzanine alexa allume la lumi\u00e8re de la mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-09 14:39":"De Alexa mezzanine allume la lumi\u00e8re mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-09 14:42":"De Alexa mezzanine alexa \u00e9teins la lumi\u00e8re de la mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-09 14:43":"De Alexa mezzanine alexa \u00e9teins la lumi\u00e8re de la mezzanine => L\u2019appareil Mezzanine ne prend pas en charge cette commande.","2025-05-09 15:24":"De Alexa mezzanine jacques dit \u00e9teins la lumi\u00e8re de la mezzanine => \u00e9teins la lumi\u00e8re de la mezzanine"}
[2025-05-09 15:24:53] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (20, speakerVolume, , ECHO, G0911B0593651348)
[2025-05-09 15:24:53] DEBUG    👍 => alexa_push::voiceHistory =>
deviceSn: G0911B0593651348
deviceName: Alexa mezzanine
utteranceType: GENERAL
domain: Echo.SDK
intent: EchoIntent
time: 2025-05-09 15:24
question: jacques dit éteins la lumière de la mezzanine
response: éteins la lumière de la mezzanine
[2025-05-09 15:24:54] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (20, speakerVolume, , ECHO, G0911B0593651348)
[2025-05-09 15:24:56] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:24:56] DEBUG  💠=> alexa_push:: commande: ws-device-connection-change => {"destinationUserId":"A3N9ARVWQPU9GR","deviceSerialNumber":"G0911X03208601DM","deviceType":"A2JKHJ0PX4J3L3","bluetoothEvent":"DEVICE_DISCONNECTED","bluetoothEventPayload":null,"bluetoothEventSuccess":true}
[2025-05-09 15:24:56] DEBUG  alexa_push::unk command: 'ws-device-connection-change' : {"destinationUserId":"A3N9ARVWQPU9GR","deviceSerialNumber":"G0911X03208601DM","deviceType":"A2JKHJ0PX4J3L3","bluetoothEvent":"DEVICE_DISCONNECTED","bluetoothEventPayload":null,"bluetoothEventSuccess":true}
[2025-05-09 15:24:56] DEBUG  alexa_push::Device trouvé: G0911X03208601DM
[2025-05-09 15:24:56] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:24:58] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:24:58] DEBUG  💠=> alexa_push:: commande: ws-device-connection-change => {"destinationUserId":"A3N9ARVWQPU9GR","deviceSerialNumber":"G0911X03208601DM","deviceType":"A2JKHJ0PX4J3L3","bluetoothEvent":"DEVICE_CONNECTED","bluetoothEventPayload":null,"bluetoothEventSuccess":true}
[2025-05-09 15:24:58] DEBUG  alexa_push::unk command: 'ws-device-connection-change' : {"destinationUserId":"A3N9ARVWQPU9GR","deviceSerialNumber":"G0911X03208601DM","deviceType":"A2JKHJ0PX4J3L3","bluetoothEvent":"DEVICE_CONNECTED","bluetoothEventPayload":null,"bluetoothEventSuccess":true}
[2025-05-09 15:24:58] DEBUG  alexa_push::Device trouvé: G0911X03208601DM
[2025-05-09 15:24:59] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:25:00] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:25:01] DEBUG  💠=> alexa_push:: commande: voiceHistory => {"recordKey":"A3N9ARVWQPU9GR#1746797099083#A4ZP7ZC4PI6TO#G0911B0593651348","recordType":"VOICE_HISTORY","timestamp":1746797099083,"customerId":"A3N9ARVWQPU9GR","device":{"deviceName":"Alexa mezzanine","deviceEntityId":null},"isBinaryFeedbackProvided":false,"isFeedbackPositive":false,"utteranceType":"NO_TEXT_OR_AUDIO_STORED","domain":"Echo.SDK","intent":"Unknown","skillName":"","voiceHistoryRecordItems":[{"recordItemKey":"1746797099083#A4ZP7ZC4PI6TO#G0911B0593651348#1746797099110-0","recordItemType":"ASR_REPLACEMENT_TEXT","utteranceId":"A4ZP7ZC4PI6TO:1.0\/2025\/05\/09\/13\/DEVICE_UNSPECIFIED\/24:54::TNIH_2V.ba1c22af-5b61-4f72-9e25-912fc5a3fd81LPM","timestamp":1746797099110,"transcriptText":"","agentVisualName":"","personsInfo":[]}],"personsInfo":[],"cardResponse":null}
[2025-05-09 15:25:01] DEBUG    alexa_push::voiceHistory histData : {"deviceSn":"G0911B0593651348","customerId":"A3N9ARVWQPU9GR","recordType":"VOICE_HISTORY","deviceName":"Alexa mezzanine","domain":"Echo.SDK","intent":"Unknown","personId":null,"personFirstName":null,"voiceHistoryRecordItems":[{"recordItemKey":"1746797099083#A4ZP7ZC4PI6TO#G0911B0593651348#1746797099110-0","recordItemType":"ASR_REPLACEMENT_TEXT","utteranceId":"A4ZP7ZC4PI6TO:1.0\/2025\/05\/09\/13\/DEVICE_UNSPECIFIED\/24:54::TNIH_2V.ba1c22af-5b61-4f72-9e25-912fc5a3fd81LPM","timestamp":1746797099110,"transcriptText":"","agentVisualName":"","personsInfo":[]}],"time":"2025-05-09 15:24"}
[2025-05-09 15:25:01] DEBUG    alexa_push[voiceHistory][Alexa mezzanine] device not found (G0911B0593651348)
[2025-05-09 15:25:02] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:25:47] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:25:47] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:25:48] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (20, speakerVolume, , ECHO, G0911B0593651348)
[2025-05-09 15:25:54] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (20, speakerVolume, , ECHO, G0911B0593651348)
[2025-05-09 15:25:58] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:25:58] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:31:02] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (46, speakerVolume, , ECHO, G0723H08247601Q6)
[2025-05-09 15:39:07] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (70, speakerVolume, , ECHO, G0916D1004230781)
[2025-05-09 15:41:01] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (46, speakerVolume, , ECHO, G0723H08247601Q6)
[2025-05-09 15:41:57] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (70, speakerVolume, , ECHO, G0916D1004230781)
[2025-05-09 15:45:01] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (73, speakerVolume, , ECHO, G0911X03208601DM)
[2025-05-09 15:45:58] DEBUG  alexa_push::updateCmdInfo :  speakerVolume -> (46, speakerVolume, , ECHO, G0723H08247601Q6)

Je pense que j’ai cassé les interactions à la dernière MAJ, je regarde ça…