Bonjour,
Merci pour ton script, je viens de l’implémanter dans mon jeedom, c’est top (attention tu as oublié de copier le dernier " à la fin du script)
sinon voici mes logs (toujours les mêmes) :
28/01/2021 13:09:09
10.6 3.6 626 /usr/sbin/mysqld
4.7 0.0 1491 nodejs /var/www/html/plugins/alexaapi/resources/alexaapi.js http://192.168.1.xxx amazon.fr alexa.amazon.fr xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 400
4.6 0.1 1788 nodejs /var/www/html/plugins/rflink/resources/rflink.js http://127.0.0.1:80/plugins/rflink/core/api/rflink.php?apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx /dev/ttyACM0 none error
4.4 3.1 2173 /usr/bin/python /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/openzwaved.py --device /dev/ttyACM1 --loglevel error --port 8083 --config_folder /var/www/html/plugins/openzwave/core/class/../../resources/openzwaved/config --data_folder /var/www/html/plugins/openzwave/core/class/../../data --callback http://127.0.0.1:80/plugins/openzwave/core/php/jeeZwave.php --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --suppressRefresh 0 --cycle 0.3 --pid /tmp/jeedom/openzwave/deamon.pid
3.7 0.6 1459 /usr/sbin/apache2 -k start
3.4 1.7 2023 php /var/www/html/core/class/../php/jeeCron.php cron_id=207782
3.3 0.4 1641 /usr/bin/python3 /var/www/html/plugins/googlecast/resources/googlecast.py --loglevel error --socketport 55012 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/googlecast/core/php/googlecast.api.php --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --ttsweb http://192.168.1.xxx --ttslang fr-FR --ttsengine gtts --ttsspeed 1.2 --ttscache 1 --ttsgapikey none --gcttsvoice fr-FR-Standard-A --ttsdefaultrestoretime 1300 --ttsdefaultsilenceduration 300 --daemonname local --cyclefactor 1 --defaultstatus
3.2 0.6 660 /usr/sbin/apache2 -k start
3.1 0.6 29613 /usr/sbin/apache2 -k start
3.1 0.6 5584 /usr/sbin/apache2 -k start
Du coup je sais maintenant que les plus consommateurs sont : plugin-alexaapi, plugin-rflink, plugin-openzwave et plugin-googlecast
AlexaApi et GoogleCast sont utilisés uniquement pour un faire parler mes enceintes connectés
rflink et zwave c’est pour la remontés et commandes de prises, thermomètre, vannes, …
Dans les logs AlexaApi j’ai ces logs qui se repetent (je ne sais pas si ont peu faire quelque chose) :
// ...
[2021-1-28 12:30:11][] : Alexa-Remote: Authentication check successfull
[2021-1-28 12:32:08][] : {API}: Alexa.updateallalarms: Retour vide
[2021-1-28 12:45:10][] : Alexa-Remote: Authentication check successfull
[2021-1-28 12:48:07][] : {API}: Alexa.updateallalarms: Retour vide
[2021-1-28 13:00:14][] : Alexa-Remote: Authentication check successfull
[2021-1-28 13:00:18][] : {API}: Alexa.updateallalarms: Retour vide
[2021-1-28 13:15:10][ERROR] : Alexa-Remote ║ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Website Temporarily Unavailable</title>
</head>
<body>
<p> </p>
<center><img src="http://g-ecx.images-amazon.com/images/G/01/website/errors/503/generic.png" alt="website temporarily unavailable" width="500" height="300"></center>
</body>
</html>
[2021-1-28 13:15:10][] : Alexa-Remote: Authentication check returned error: Error: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Website Temporarily Unavailable</title>
</head>
<body>
<p> </p>
<center><img src="http://g-ecx.images-amazon.com/images/G/01/website/errors/503/generic.png" alt="website temporarily unavailable" width="500" height="300"></center>
</body>
</html>
. Still try request
Dans la configuration du plugin-alexaapi, il y a le cron suivant, je suppose que l’authentificaiton à lieu tous les jours à 3h33, je vois juste cette trace
[2021-1-28 3:33:05][] : {API}: Restart
[2021-1-28 3:33:05][] : {API}: ******************************************************************
[2021-1-28 3:33:05][] : {API}: *****************************Relance forcée du Serveur*************
[2021-1-28 3:33:05][] : {API}: ******************************************************************
[2021-1-28 3:45:08][ERROR] : Alexa-Remote ║ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Website Temporarily Unavailable</title>
</head>
<body>
<p> </p>
<center><img src="http://g-ecx.images-amazon.com/images/G/01/website/errors/503/generic.png" alt="website temporarily unavailable" width="500" height="300"></center>
</body>
</html>
[2021-1-28 3:45:08][] : Alexa-Remote: Authentication check returned error: Error: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Website Temporarily Unavailable</title>
</head>
<body>
<p> </p>
<center><img src="http://g-ecx.images-amazon.com/images/G/01/website/errors/503/generic.png" alt="website temporarily unavailable" width="500" height="300"></center>
</body>
</html>
. Still try request
[2021-1-28 3:48:07][] : Alexa-Remote: Authentication check successfull
[2021-1-28 3:48:08][] : {API}: Alexa.updateallalarms: Retour vide
@sigalou si tu as un peu de temps, peux-tu me dire si c’est grave stp ? et si je peux faire quelque chose.
Merci à tous pour votre aide