Démon qui plante

Bonjour,

maintenant que je monitore mes démons avec le plugin virtuel, je m’apercois que le plugin plugin-somfyhomealarm à le démon qui redémarre tous le temps.

Voici les logs :

2024-08-09 03:47:49.315] DEBUG  : Opening websocket connection to wss://websocket.myfox.io/events/websocket?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxODM4NTx
[2024-08-09 03:47:49.479] INFO  : Websocket connected
[2024-08-09 03:47:49.486] DEBUG  : Received message: {"key":"websocket.connection.ready"}
[2024-08-09 03:48:49.476] ERROR  : Error in the websocket connection: Connection to remote host was lost.
[2024-08-09 03:48:49.476] ERROR  : Connection to remote host was lost. - goodbye
[2024-08-09 03:48:49.476] INFO  : Closing websocket connection: None - None
[2024-08-09 03:48:49.476] INFO  : Trying to reconnect in 50 seconds
[2024-08-09 03:49:39.518] INFO  : Starting websocket
[2024-08-09 03:49:39.518] DEBUG  : Opening websocket connection to wss://websocket.myfox.io/events/websocket?token=xDM4NTZixxxxxxxxxxxxxxxxxxxxxxzlmMzRmMg
[2024-08-09 03:49:39.692] INFO  : Websocket connected
[2024-08-09 03:49:39.696] DEBUG  : Received message: {"key":"websocket.connection.ready"}
[2024-08-09 03:50:39.690] ERROR  : Error in the websocket connection: Connection to remote host was lost.
[2024-08-09 03:50:39.690] ERROR  : Connection to remote host was lost. - goodbye
[2024-08-09 03:50:39.690] INFO  : Closing websocket connection: None - None
[2024-08-09 03:50:39.690] ERROR  : Cannot reconnect to the server after 10 retries, something must be wrong
[2024-08-09 03:50:39.690] DEBUG  : Shutdown
[2024-08-09 03:50:39.690] DEBUG  : Removing PID file /tmp/jeedom/SomfyHomeAlarm/somfyd.pid
[2024-08-09 03:50:39.690] DEBUG  : Exit 0
[2024-08-09 03:55:02] DEBUG  : Lancement démon SomfyProtect : /usr/bin/python3 /var/www/html/plugins/SomfyHomeAlarm/resources/somfyprotectd/somfyprotectd.py --loglevel debug --callback http://192.168.1.59/plugins/SomfyHomeAlarm/core/php/jeeSomfyHomeAlarm.php --apikey phCXB4bbSxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --pidfile /tmp/jeedom/SomfyHomeAlarm/somfyd.pid --username "anthony.pondepeyre@gmail.com" --password "bordeaux" --cachepath /tmp/jeedom/SomfyHomeAlarm/.token
[2024-08-09 03:55:02] DEBUG  : État du démon: nok
[2024-08-09 03:55:02.679] INFO  : Start demond
[2024-08-09 03:55:02.679] INFO  : Log level : debug
[2024-08-09 03:55:02.679] INFO  : PID file : /tmp/jeedom/SomfyHomeAlarm/somfyd.pid
[2024-08-09 03:55:02.679] INFO  : Apikey : phCXB4bbS9kbDtKfAUJi7OWJ7gWMsdGMQEcxOdSYpMBmVkAkmjv3erNrewV9LI1W
[2024-08-09 03:55:02.679] INFO  : Callback : http://192.168.1.59/plugins/SomfyHomeAlarm/core/php/jeeSomfyHomeAlarm.php
[2024-08-09 03:55:02.679] INFO  : cachepath : /tmp/jeedom/SomfyHomeAlarm/.token
[2024-08-09 03:55:02.679] DEBUG  : Writing PID 3590852 to /tmp/jeedom/SomfyHomeAlarm/somfyd.pid
[2024-08-09 03:55:02.681] DEBUG  : Init request module v2.25.1
[2024-08-09 03:55:02.681] INFO  : Starting websocket
[2024-08-09 03:55:02.682] DEBUG  : Opening websocket connection to wss://websocket.myfox.io/events/websocket?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2024-08-09 03:55:02.851] INFO  : Websocket connected
[2024-08-09 03:55:02.858] DEBUG  : Received message: {"key":"websocket.connection.ready"}
[2024-08-09 03:55:07] DEBUG  : État du démon: ok
[2024-08-09 03:56:02.851] DEBUG  : Sending ping
[2024-08-09 03:56:02.852] DEBUG  : Failed to send ping: socket is already closed.
[2024-08-09 03:56:02.852] ERROR  : Error in the websocket connection: Connection to remote host was lost.
[2024-08-09 03:56:02.852] ERROR  : Connection to remote host was lost. - goodbye
[2024-08-09 03:56:02.852] INFO  : Closing websocket connection: None - None
[2024-08-09 03:56:02.852] INFO  : Trying to reconnect in 5 seconds
[2024-08-09 03:56:07.857] INFO  : Starting websocket
[2024-08-09 03:56:07.857] DEBUG  : Opening websocket connection to wss://websocket.myfox.io/events/websocket?token=xxxxxxxxxxxxxxxxxxxxxxxx
[2024-08-09 03:56:08.031] INFO  : Websocket connected
[2024-08-09 03:56:08.055] DEBUG  : Received message: {"key":"websocket.connection.ready"}
[2024-08-09 03:57:08.028] ERROR  : Error in the websocket connection: Connection to remote host was lost.
[2024-08-09 03:57:08.028] ERROR  : Connection to remote host was lost. - goodbye
[2024-08-09 03:57:08.028] INFO  : Closing websocket connection: None - None
[2024-08-09 03:57:08.029] INFO  : Trying to reconnect in 10 seconds
[2024-08-09 03:57:18.039] INFO  : Starting websocket
[2024-08-09 03:57:18.039] DEBUG  : Opening websocket connection to wss://websocket.myfox.io/events/websocket?token=x
[2024-08-09 03:57:18.239] INFO  : Websocket connected
[2024-08-09 03:57:18.251] xxxxxxxxxxxxxxxxxxxxxxDEBUG  : Received message: {"key":"websocket.connection.ready"}
[2024-08-09 03:58:18.240] ERROR  : Error in the websocket connection: Connection to remote host was lost.
[2024-08-09 03:58:18.240] ERROR  : Connection to remote host was lost. - goodbye
[2024-08-09 03:58:18.240] INFO  : Closing websocket connection: None - None
[2024-08-09 03:58:18.240] INFO  : Trying to reconnect in 15 seconds
[2024-08-09 03:58:33.249] INFO  : Starting websocket
[2024-08-09 03:58:33.249] DEBUG  : Opening websocket connection to wss://websocket.myfox.io/events/websocket?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2024-08-09 03:58:33.415] INFO  : Websocket connected
[2024-08-09 03:58:33.421] DEBUG  : Received message: {"key":"websocket.connection.ready"}
[2024-08-09 03:59:33.413] ERROR  : Error in the websocket connection: Connection to remote host was lost.
[2024-08-09 03:59:33.413] ERROR  : Connection to remote host was lost. - goodbye
[2024-08-09 03:59:33.413] INFO  : Closing websocket connection: None - None
[2024-08-09 03:59:33.413] INFO  : Trying to reconnect in 20 seconds
[2024-08-09 03:59:53.433] INFO  : Starting websocket
[2024-08-09 03:59:53.434] DEBUG  : Opening websocket connection to wss://websocket.myfox.io/events/websocket?token=xxxxxxxxxxxxxxxxxxxxxxx
[2024-08-09 03:59:53.603] INFO  : Websocket connected
[2024-08-09 03:59:53.611] DEBUG  : Received message: {"key":"websocket.connection.ready"}
[2024-08-09 04:00:02] DEBUG  : Récupération du site: kuxxxxxxxxxxxxxxxxx
[2024-08-09 04:00:02] DEBUG  : Nouveau token: M2Y1Yzc0Zjkxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2024-08-09 04:00:03] DEBUG  : Check is null or empty disarmed
[2024-08-09 04:00:03] INFO  : ======== Niveau de sécurité mis à jour depuis Somfy:
[2024-08-09 04:00:03] INFO  :     kuJTnl6P0qlSXzPrTuVROJCCm1dyBDYC -- Level: disarmed
[2024-08-09 04:00:03] INFO  : État de l'alarme: disarmed
[2024-08-09 04:00:03] DEBUG  : Récupération des équipements pour le site kuJTnl6P0qlSXzPrTuVROJCCm1dyBDYC
[2024-08-09 04:00:03] DEBUG  : Mise à jour du token
[2024-08-09 04:00:03] DEBUG  : Nouveau token: OTdmNTA4ODFmYTM2NjgxNjczMDFlNTgzNTRmMTxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Informations Jeedom

Core : 4.4.9 (V4-stable)
DNS Jeedom : oui

Plugin : Somfy Home Alarme
Version : 2024-04-26 01:23:14 (stable)
Statut Démon : Démarré - (2024-08-09 03:55:02)

page santée :

merci :slight_smile:

Bonjour,

c’est « normal », enfin en tout cas ça a toujours été assez instable. Si tu actives la gestion automatique du démon avec Jeedom, il redémarrera automatiquement le démon.

En plus de cela, comme j’avais noté ces problèmes dès le début, le démon essaye de se reconnecter 10 fois de lui même avant de s’arrêter et de laisser la main à jeedom. Chaque redémarrage se fait avec un temps d’attente un peu plus long à chaque fois, au cas où le soucis viendrait d’un soucis internet ou d’un soucis côté Somfy.

Si tu veux le monitorer et avoir une notification, le plus judicieux c’est de s’assurer que le démon n’est pas arrêté plus de X minutes.

1 « J'aime »

ok merci pour ton retour.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.