Alexa-premium MAJ et commandes TTS

Bonjour
Une MAJ Beta est disponible.
Nouvelles commandes pour l’équipement alexaSys:
« Alexa Chat » : cette commande permet de discuter avec alexa comme c’était le cas pour la commande (commande texte/parler à alexa) mais la requête se fait de manière directe avec certains avantages;

  • la commande n’est plus tributaire de l’historique
  • le retour est immédiat avec possibilité d’exploiter un retour vocale (mp3).
  • grâce au nouveau widget on peut écouter le retour vocale et voir la réponse texte.

image
Cette commande doit être désormais privilégiée pour les scénarios ne nécessitants pas d’interagir avec un équipement amz.

une autre commande TTS permet de transformer un texte en mp3 exploitable également sur la tuile
image

si vous voulez désactiver le retour vocal sur le navigateur, il faut ajouter l’option AutoPlayAudio => 0

Par ailleurs, il faut être vigilant sur le renouvellement du cookie après la MAJ, j’ai dû changer la lib pour pouvoir exécuter ces commandes.

J’attend vos retours.

Bonjour,
depuis la maj, j’ai 8 erreurs Class alexaapiv2 does not exist sur le dashboard, ça ralenti voire empêche le chargement de certaines tuiles, et pas que celle d’alexa premium, si je vais dans le plugin j’ai seulement : Class ‹ alexaapiv2 › not found en rouge en haut, et si je passe par la gestion des plugins, il n’y a rien qui se charge dans le demon et les dépandances. rien dans les logs de récent et le cookies s’est pourtant bien régénéré hier matin pour une maj faite samedi soir. serait-il possible de voir stp?, avant que je lance un roll back sur une sauvegarde.
Alexa premium : Version 2025-09-27 04:06:14
Jeedom en 4.4.20

Merci.

hello, Je n’ai pas encore eu le temps de tester cette MAJ, mais as tu bien refait un cookie manuellement comme spécifié ?

Ça ressemble à une erreur PHP.
Peux tu forcer la réinstallation du plugin si non je regardede ça ce soir.

Bonsoir, merci à vous 2 du retour et des axes pour les tests, je ne peux pas recréer de cookie, cela se lance mais s’arrête immédiatement sans ouvrir le pop up, j’ai tenté une réinstall via la page des maj et idem, tenté la suppression puis réinstallation de la version beta, je n’ai plus de cookie et n’ai toujours pas la possibilité de le régénérer, j’ai un message d’erreur qui me dit qu’il manque les dépendances (toujours pas de demon non plus d’ailleurs), j’ai fini par réinstaller la version stable (je viens de découvrir qu’il y en a une :wink:) et là c’est bon. Je n’ai rien trouvé de récent dans les logs, cela ne me dérange pas de rester sur la stable mais si je peux apporter plus d’éléments pour ce problème dites moi?, merci encore.

Je confirme ne pas rencontrer de problème sur mes box jeedoom.
Je soupçonne une portion de code compatible uniquement php8 et vous êtes surement en php7.

Vous avez regarder les logs http.error ?

Je confirme que y a un truc avec le php7, dans le log http error :

Mon Sep 29 18:43:21.101883 2025] [php7:error] [pid 1829:tid 1829] [client 192.168.0.1:52895] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0518|[Mon Sep 29 18:43:21.507803 2025] [php7:error] [pid 243011:tid 243011] [client 192.168.0.1:52974] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0519|[Mon Sep 29 18:43:21.689472 2025] [php7:error] [pid 31639:tid 31639] [client 192.168.0.1:52903] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0520|[Mon Sep 29 18:43:21.828257 2025] [php7:error] [pid 321680:tid 321680] [client 192.168.0.1:52984] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0521|[Mon Sep 29 18:43:35.786823 2025] [php7:error] [pid 248198:tid 248198] [client 192.168.0.1:52850] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0522|[Mon Sep 29 18:43:36.038546 2025] [php7:error] [pid 1644:tid 1644] [client 192.168.0.1:52905] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0523|[Mon Sep 29 18:43:36.440639 2025] [php7:error] [pid 1517:tid 1517] [client 192.168.0.1:52914] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0524|[Mon Sep 29 18:43:36.586353 2025] [php7:error] [pid 31623:tid 31623] [client 192.168.0.1:53005] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0525|[Mon Sep 29 18:43:50.676042 2025] [php7:error] [pid 243011:tid 243011] [client 192.168.0.1:53014] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0526|[Mon Sep 29 18:43:50.834223 2025] [php7:error] [pid 31639:tid 31639] [client 192.168.0.1:53004] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0527|[Mon Sep 29 18:43:50.981168 2025] [php7:error] [pid 248198:tid 248198] [client 192.168.0.1:53015] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0528|[Mon Sep 29 18:43:51.718053 2025] [php7:error] [pid 321680:tid 321680] [client 192.168.0.1:53007] PHP Fatal error:  Uncaught Error: Class 'alexaapiv2' not found in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php:176\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/ajax/alexaapiv2.ajax.php on line 176
0529|[Mon Sep 29 18:53:05.074774 2025] [php7:notice] [pid 326356:tid 326356] [client 192.168.0.1:53749] PHP Notice:  Undefined variable: request in /var/www/html/plugins/alexaapiv2/core/class/alexaapiv2.class.php on line 275
0530|warning: commands will be executed using /bin/sh
0531|job 64 at Mon Sep 29 18:53:00 2025
0532|[Mon Sep 29 19:03:27.127511 2025] [php7:notice] [pid 248198:tid 248198] [client ::1:33572] PHP Notice:  Undefined index: cookieAr in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0533|[Mon Sep 29 19:03:27.127629 2025] [php7:notice] [pid 248198:tid 248198] [client ::1:33572] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0534|[Mon Sep 29 19:03:27.634823 2025] [php7:notice] [pid 248198:tid 248198] [client ::1:33572] PHP Notice:  Undefined variable: counterCmd in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0535|[Mon Sep 29 19:03:27.634994 2025] [php7:error] [pid 248198:tid 248198] [client ::1:33572] PHP Fatal error:  Uncaught Error: Call to a member function event() on null in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php:119\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0536|[Mon Sep 29 19:03:33.032072 2025] [php7:notice] [pid 1144:tid 1144] [client ::1:33586] PHP Notice:  Undefined variable: counterCmd in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0537|[Mon Sep 29 19:03:33.032233 2025] [php7:error] [pid 1144:tid 1144] [client ::1:33586] PHP Fatal error:  Uncaught Error: Call to a member function event() on null in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php:119\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0538|[Mon Sep 29 19:03:38.062212 2025] [php7:notice] [pid 1829:tid 1829] [client ::1:57810] PHP Notice:  Undefined index: cookieAr in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0539|[Mon Sep 29 19:03:38.062355 2025] [php7:notice] [pid 1829:tid 1829] [client ::1:57810] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0540|[Mon Sep 29 19:03:38.565090 2025] [php7:notice] [pid 1829:tid 1829] [client ::1:57810] PHP Notice:  Undefined variable: counterCmd in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0541|[Mon Sep 29 19:03:38.565217 2025] [php7:error] [pid 1829:tid 1829] [client ::1:57810] PHP Fatal error:  Uncaught Error: Call to a member function event() on null in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php:119\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0542|[Mon Sep 29 19:04:25.244559 2025] [php7:notice] [pid 1644:tid 1644] [client ::1:38992] PHP Notice:  Undefined variable: counterCmd in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0543|[Mon Sep 29 19:04:25.244851 2025] [php7:error] [pid 1644:tid 1644] [client ::1:38992] PHP Fatal error:  Uncaught Error: Call to a member function event() on null in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php:119\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0544|[Mon Sep 29 19:04:30.269826 2025] [php7:notice] [pid 243011:tid 243011] [client ::1:39002] PHP Notice:  Undefined index: cookieAr in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0545|[Mon Sep 29 19:04:30.269945 2025] [php7:notice] [pid 243011:tid 243011] [client ::1:39002] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0546|[Mon Sep 29 19:04:30.770084 2025] [php7:notice] [pid 243011:tid 243011] [client ::1:39002] PHP Notice:  Undefined variable: counterCmd in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0547|[Mon Sep 29 19:04:30.770266 2025] [php7:error] [pid 243011:tid 243011] [client ::1:39002] PHP Fatal error:  Uncaught Error: Call to a member function event() on null in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php:119\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0548|[Mon Sep 29 19:04:36.088614 2025] [php7:notice] [pid 1144:tid 1144] [client ::1:34678] PHP Notice:  Undefined variable: counterCmd in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0549|[Mon Sep 29 19:04:36.088788 2025] [php7:error] [pid 1144:tid 1144] [client ::1:34678] PHP Fatal error:  Uncaught Error: Call to a member function event() on null in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php:119\nStack trace:\n#0 {main}\n  thrown in /var/www/html/plugins/alexaapiv2/core/php/_getCustomerHistoryRecords.php on line 119
0550|[Mon Sep 29 19:11:24.649487 2025] [php7:notice] [pid 118062:tid 118062] [client 192.168.0.1:51329] PHP Notice:  Undefined index: cookieAr in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0551|[Mon Sep 29 19:11:24.649623 2025] [php7:notice] [pid 118062:tid 118062] [client 192.168.0.1:51329] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0552|[Mon Sep 29 19:11:43.485133 2025] [php7:notice] [pid 118062:tid 118062] [client 192.168.0.1:51329] PHP Notice:  Undefined variable: eqName in /var/www/html/plugins/alexaapiv2/core/class/alexaapiv2.class.php on line 1588
0553|[Mon Sep 29 19:11:43.485376 2025] [php7:notice] [pid 118062:tid 118062] [client 192.168.0.1:51329] PHP Notice:  Undefined variable: eqName in /var/www/html/plugins/alexaapiv2/core/class/alexaapiv2.class.php on line 1592
0554|[Mon Sep 29 19:11:43.485448 2025] [php7:notice] [pid 118062:tid 118062] [client 192.168.0.1:51329] PHP Notice:  Undefined variable: eqName in /var/www/html/plugins/alexaapiv2/core/class/alexaapiv2.class.php on line 1592
0555|[Mon Sep 29 19:11:43.485518 2025] [php7:notice] [pid 118062:tid 118062] [client 192.168.0.1:51329] PHP Notice:  Undefined variable: eqName in /var/www/html/plugins/alexaapiv2/core/class/alexaapiv2.class.php on line 1592
0556|[Mon Sep 29 19:12:11.630478 2025] [php7:notice] [pid 158184:tid 158184] [client ::1:35638] PHP Notice:  Undefined index: cookieAr in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0557|[Mon Sep 29 19:12:11.630632 2025] [php7:notice] [pid 158184:tid 158184] [client ::1:35638] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0558|[Mon Sep 29 19:12:24.659981 2025] [php7:notice] [pid 321680:tid 321680] [client ::1:38236] PHP Notice:  Undefined index: cookieAr in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0559|[Mon Sep 29 19:12:24.660108 2025] [php7:notice] [pid 321680:tid 321680] [client ::1:38236] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0560|[Mon Sep 29 19:15:31.954438 2025] [php7:notice] [pid 326577:tid 326577] [client ::1:58620] PHP Notice:  Undefined index: cookieAr in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0561|[Mon Sep 29 19:15:31.954634 2025] [php7:notice] [pid 326577:tid 326577] [client ::1:58620] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0562|[Mon Sep 29 19:20:26.225747 2025] [php7:notice] [pid 326356:tid 326356] [client ::1:58152] PHP Notice:  Undefined index: cookieAr in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0563|[Mon Sep 29 19:20:26.225885 2025] [php7:notice] [pid 326356:tid 326356] [client ::1:58152] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0564|[Mon Sep 29 19:20:39.091689 2025] [php7:notice] [pid 239538:tid 239538] [client ::1:36876] PHP Notice:  Undefined index: cookieAr in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110
0565|[Mon Sep 29 19:20:39.091807 2025] [php7:notice] [pid 239538:tid 239538] [client ::1:36876] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/plugins/alexaapiv2/core/api/alexa_Api.php on line 110

Merci mais rien n’explique le blocage.
il faudrait que je monte une vm de test.

c’est corrigé dans la beta du jour.

1 « J'aime »