Bonjour,
Comme certaine personne j’ai un soucis au niveau du plugin Alexa. Je m’en rend compte car jeedom n’arrive plus à faire parler/parler a Alexa.
Au niveau de la page du plugin le demon est au vert (lorsque l’authentification échouait celui-ci était en NOK).
Pour retomber sur nos pieds il suffit de redémarrer le demon, mais c’est contraignant et je ne suis plus notifié d’aucune information durant le laps de temps ou la connexion avec Alexa est HS.
Au niveau de jeedom : 4.1.22 (sur raspberry 3)
Au niveau du plugin : 2021-04-10 18:48:12 (dernière version Beta du plugin)
Je ne sais pas comment reproduire le problème, ça arrive de façon aléatoire.
**Au niveau des traces alexaapi_node on a toujours ce genre d'erreur:**
[4/14/2021, 06:16:08][ERROR] : Alexa-API: Error: no body Command: textCommand Query: {"text":"Quels sont les évènements du jour?","device":"G2A14Q04011503CU"}
[4/14/2021, 06:16:08][] : {API}: Alexa.DeviceControls.textCommand: no body
[4/14/2021, 06:16:16][ERROR] : Alexa-API: Error: no body Command: textCommand Query: {"replay":"1","text":"Quels sont les évènements du jour?","device":"G2A14Q04011503CU"}
[4/14/2021, 06:16:16][] : {API}: Alexa.DeviceControls.textCommand: no body
[4/14/2021, 06:44:33][ERROR] : Alexa-API: Error: no body Commands: [{"command":"speak","value":"test"}] Query: {"text":"test","volume":"","lastvolume":"30","device":"G2A14Q04011503CU","value":"test"}
[4/14/2021, 06:44:41][ERROR] : Alexa-API: Error: no body Commands: [{"command":"speak","value":"test"}] Query: {"replay":"1","text":"test","volume":"","lastvolume":"30","device":"G2A14Q04011503CU","value":"test"}
**Je pense que le programme de génération de cookie a crash alexaapi_cookie:**
Proxy Init: loaded temp data store ass fallback former data
Proxy Init: reuse frc from former data
Proxy Init: reuse map-md from former data
Proxy Init: reuse deviceId from former data
/var/www/html/plugins/alexaapi/resources/lib/proxy.js:355
const myProxy = proxy('!/cookie-success', optionsAlexa);
^
TypeError: proxy is not a function
at Object.initAmazonProxy (/var/www/html/plugins/alexaapi/resources/lib/proxy.js:355:21)
at AlexaCookie.generateAlexaCookie (/var/www/html/plugins/alexaapi/resources/lib/alexa-cookie.js:395:25)
at AlexaRemote.generateCookie (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:776:26)
at getCookie (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:127:22)
at AlexaRemote.init (/var/www/html/plugins/alexaapi/resources/lib/alexa-remote.js:176:9)
at Object.<anonymous> (/var/www/html/plugins/alexaapi/resources/initCookie.js:12:7)
at Module._compile (internal/modules/cjs/loader.js:1156:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
Si vous avez besoin de plus d’information dites moi ce que je peux donner pour aider.