Bonjour,
J’ai des soucis de fibre en ce moment, et ma connexion internet est régulièrement hors service. Or j’observe que quand ma connexion internet est en panne, Deconz a une facheuse tendance à planter très régulièrement (c’est extrêment variable, tous les 10min ou toutes les 3 4 heures).
Je suis chez Orange avec une livebox 5. Jeedom est en V4.1 stable à jour sur un RPI 4, j’utilise une Conbee II sur un hub avec alimentation externe en USB 2. Le firmware est le suivant : 26680700 version 2.09.03 / 23/12/2020.
Voici les logs de Deconz en mode Debug sur un cycle démarrage et arret qui n’a duré que 2 minutes, je met le début et la fin car sinon trop lourd
[2021-03-20 22:12:16.804][INFO] : PID file : /tmp/jeedom/deconz/deamon.pid
[2021-03-20 22:12:16.804][INFO] : Apikey : 123456
[2021-03-20 22:12:16.804][INFO] : Callback : http://127.0.0.1:80/plugins/deconz/core/php/jeeDeconz.php
[2021-03-20 22:12:16.804][INFO] : Cycle : 0.0
[2021-03-20 22:12:16.804][DEBUG] : Writing PID 32757 to /tmp/jeedom/deconz/deamon.pid
[2021-03-20 22:12:16.805][DEBUG] : Init request module v2.21.0
[2021-03-20 22:12:16.810][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-03-20 22:12:16.821][DEBUG] : http://127.0.0.1:80 "GET /plugins/deconz/core/php/jeeDeconz.php?apikey=123456 HTTP/1.1" 200 0
[2021-03-20 22:12:16.823][DEBUG] : Start listening...
[2021-03-20 22:12:16.824][DEBUG] : Socket interface started
[2021-03-20 22:12:16.824][DEBUG] : LoopNetServer Thread started
[2021-03-20 22:12:16.825][DEBUG] : Listening on: [localhost:55088]
[2021-03-20 22:12:16.825][INFO] : Local DeconZ found
[2021-03-20 22:12:16.825][INFO] : Launching local DeconZ
[2021-03-20 22:12:16.826][INFO] : Kill all deCONZ process
kill: (358): Operation not permitted
[2021-03-20 22:12:16.863][INFO] : Log level deconz deamon debug
[2021-03-20 22:12:16.864][INFO] : Opt deconz deamon ['sudo', 'deCONZ', '--auto-connect=1', '--dbg-error=1', '--http-port=8484', '--ws-port=20877', '--upnp=0', '-platform', 'minimal', '--dbg-aps=2', '--dbg-info=2', '--dbg-zcl=2', '--dbg-zdp=2', '--dbg-http=2']
[2021-03-20 22:12:16.871][INFO] : Launched DeconZ with pid 333
[2021-03-20 22:12:16.872][DEBUG] : Start socket thread
[2021-03-20 22:12:22.263][DEBUG] : Client connected to [127.0.0.1:60614]
[2021-03-20 22:12:22.264][DEBUG] : Message read from socket: b'{"apikey":"123456","cmd":"addgateway","gateways":[{"id":"00212EFFFF05A9A0","name":"Home Conbee 2","internalipaddress":"127.0.0.1","internalport":"8484","websocketport":"20877","apikey":"84973FC5C7","manageTimeZone":"1"}]}'
[2021-03-20 22:12:22.264][DEBUG] : Client disconnected from [127.0.0.1:60614]
[2021-03-20 22:12:22.291][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2021-03-20 22:12:22.292][DEBUG] : Closing All Websockets
[2021-03-20 22:12:23.293][DEBUG] : Add gateway : Home Conbee 2
[2021-03-20 22:12:23.294][DEBUG] : Starting WebSocket for Home Conbee 2 on ip 127.0.0.1 and port 20877
[2021-03-20 22:12:27.049][DEBUG] : Received message from gateway 127.0.0.1 : {"e":"changed","id":"49","r":"sensors","state":{"dark":true,"daylight":false,"lastupdated":"2021-03-20T21:12:27.044","lightlevel":1,"lux":1},"t":"event","uniqueid":"00:15:8d:00:05:47:54:c3-01-0400"}
[2021-03-20 22:12:27.051][DEBUG] : Send to jeedom : {'00212EFFFF05A9A0': {'e': 'changed', 'id': '49', 'r': 'sensors', 'state': {'dark': True, 'daylight': False, 'lastupdated': '2021-03-20T21:12:27.044', 'lightlevel': 1, 'lux': 1}, 't': 'event', 'uniqueid': '00:15:8d:00:05:47:54:c3-01-0400'}}
[2021-03-20 22:12:27.060][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-03-20 22:12:27.071][DEBUG] : Received message from gateway 127.0.0.1 : {"e":"changed","id":"50","r":"sensors","state":{"lastupdated":"2021-03-20T21:12:27.054","presence":true},"t":"event","uniqueid":"00:15:8d:00:05:47:54:c3-01-0406"}
[2021-03-20 22:12:27.073][DEBUG] : Send to jeedom : {'00212EFFFF05A9A0': {'e': 'changed', 'id': '50', 'r': 'sensors', 'state': {'lastupdated': '2021-03-20T21:12:27.054', 'presence': True}, 't': 'event', 'uniqueid': '00:15:8d:00:05:47:54:c3-01-0406'}}
[2021-03-20 22:12:27.078][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-03-20 22:12:27][DEBUG] : {"00212EFFFF05A9A0":{"e":"changed","id":"49","r":"sensors","state":{"dark":true,"daylight":false,"lastupdated":"2021-03-20T21:12:27.044","lightlevel":1,"lux":1},"t":"event","uniqueid":"00:15:8d:00:05:47:54:c3-01-0400"}}
[2021-03-20 22:12:27][DEBUG] : {"00212EFFFF05A9A0":{"e":"changed","id":"50","r":"sensors","state":{"lastupdated":"2021-03-20T21:12:27.054","presence":true},"t":"event","uniqueid":"00:15:8d:00:05:47:54:c3-01-0406"}}
[2021-03-20 22:12:27.179][DEBUG] : http://127.0.0.1:80 "POST /plugins/deconz/core/php/jeeDeconz.php?apikey=123456 HTTP/1.1" 200 0
[2021-03-20 22:12:27.232][DEBUG] : http://127.0.0.1:80 "POST /plugins/deconz/core/php/jeeDeconz.php?apikey=123456 HTTP/1.1" 200 0
[2021-03-20 22:12:27.536][DEBUG] : Received message from gateway 127.0.0.1 :
....
[2021-03-20 22:14:18.450][DEBUG] : http://127.0.0.1:80 "POST /plugins/deconz/core/php/jeeDeconz.php?apikey=123456 HTTP/1.1" 200 0
[2021-03-20 22:14:19.185][DEBUG] : Received message from gateway 127.0.0.1 : {"e":"changed","id":"44","r":"sensors","state":{"buttonevent":1002,"lastupdated":"2021-03-20T21:14:19.180"},"t":"event","uniqueid":"14:b4:57:ff:fe:6c:7c:df-01-1000"}
[2021-03-20 22:14:19.186][DEBUG] : Send to jeedom : {'00212EFFFF05A9A0': {'e': 'changed', 'id': '44', 'r': 'sensors', 'state': {'buttonevent': 1002, 'lastupdated': '2021-03-20T21:14:19.180'}, 't': 'event', 'uniqueid': '14:b4:57:ff:fe:6c:7c:df-01-1000'}}
[2021-03-20 22:14:19.191][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-03-20 22:14:19.207][DEBUG] : Received message from gateway 127.0.0.1 : {"e":"changed","id":"13","r":"lights","state":{"alert":null,"bri":1,"colormode":"ct","ct":500,"effect":"none","hue":0,"on":true,"reachable":true,"sat":254,"xy":[0.3227,0.329]},"t":"event","uniqueid":"84:2e:14:ff:fe:15:cd:81-01"}
[2021-03-20 22:14:19.208][DEBUG] : Send to jeedom : {'00212EFFFF05A9A0': {'e': 'changed', 'id': '13', 'r': 'lights', 'state': {'alert': None, 'bri': 1, 'colormode': 'ct', 'ct': 500, 'effect': 'none', 'hue': 0, 'on': True, 'reachable': True, 'sat': 254, 'xy': [0.3227, 0.329]}, 't': 'event', 'uniqueid': '84:2e:14:ff:fe:15:cd:81-01'}}
[2021-03-20 22:14:19][DEBUG] : {"00212EFFFF05A9A0":{"e":"changed","id":"44","r":"sensors","state":{"buttonevent":1002,"lastupdated":"2021-03-20T21:14:19.180"},"t":"event","uniqueid":"14:b4:57:ff:fe:6c:7c:df-01-1000"}}
[2021-03-20 22:14:19.216][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-03-20 22:14:19.228][DEBUG] : Received message from gateway 127.0.0.1 : {"e":"changed","id":"2","r":"groups","state":{"all_on":true,"any_on":true},"t":"event"}
[2021-03-20 22:14:19.229][DEBUG] : Send to jeedom : {'00212EFFFF05A9A0': {'e': 'changed', 'id': '2', 'r': 'groups', 'state': {'all_on': True, 'any_on': True}, 't': 'event'}}
[2021-03-20 22:14:19][DEBUG] : {"00212EFFFF05A9A0":{"e":"changed","id":"13","r":"lights","state":{"alert":null,"bri":1,"colormode":"ct","ct":500,"effect":"none","hue":0,"on":true,"reachable":true,"sat":254,"xy":[0.3227,0.329]},"t":"event","uniqueid":"84:2e:14:ff:fe:15:cd:81-01"}}
[2021-03-20 22:14:19.235][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-03-20 22:14:19][DEBUG] : {"00212EFFFF05A9A0":{"e":"changed","id":"2","r":"groups","state":{"all_on":true,"any_on":true},"t":"event"}}
[2021-03-20 22:14:19.258][DEBUG] : http://127.0.0.1:80 "POST /plugins/deconz/core/php/jeeDeconz.php?apikey=123456 HTTP/1.1" 200 0
[2021-03-20 22:14:19.268][DEBUG] : http://127.0.0.1:80 "POST /plugins/deconz/core/php/jeeDeconz.php?apikey=123456 HTTP/1.1" 200 0
[2021-03-20 22:14:19.399][DEBUG] : http://127.0.0.1:80 "POST /plugins/deconz/core/php/jeeDeconz.php?apikey=123456 HTTP/1.1" 200 0
[2021-03-20 22:14:22.903][DEBUG] : Closing Thread for 127.0.0.1 because Connection is already closed.
[2021-03-20 22:14:22.904][DEBUG] : Shutting down because it's local gateway
[2021-03-20 22:14:22.904][DEBUG] : Shutdown
[2021-03-20 22:14:22.904][DEBUG] : Removing PID file /tmp/jeedom/deconz/deamon.pid
[2021-03-20 22:14:22.912][DEBUG] : LoopNetServer Thread stopped
Usage:
kill [options] <pid> [...]
Options:
<pid> [...] send signal to every <pid> listed
-<signal>, -s, --signal <signal>
specify the <signal> to be sent
-l, --list=[<signal>] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table
-h, --help display this help and exit
-V, --version output version information and exit
For more details see kill(1).
[2021-03-20 22:14:23.003][DEBUG] : Exit 0
Pour le log complet c’est par ici (Google Drive)
J’avoue ne pas comprendre ce qu’il se passe. Si quelqu’un a une idée SVP.
Merci beaucoup et bonne journée.

