Bonjour,
Je rencontre un problème avec le plugin Velux MQTT (vlx2mqtt) - beta. Lorsque je redémarre Jeedom pour x raison, mes volets ne fonctionnent plus, pourtant l’état du docker est « Running ». Le fait de vouloir faire un mouvement sur un des volets, l’état du docker passe en « restarting ». Pour récupérer le bon fonctionnement je dois appuyer sur « réinstaller Velux MQTT » .
Je vous joint le log du docker
2022-12-06T17:34:51.989250636Z 2022-12-06 17:34:51,988 ChambreMimie at 100%
2022-12-06T17:50:15.461165235Z 2022-12-06 17:50:15,460 VoletSejour at 100%
2022-12-06T17:50:16.552575965Z 2022-12-06 17:50:16,552 VoletTele at 100%
2022-12-06T17:50:17.820257156Z 2022-12-06 17:50:17,819 VoletCanape at 100%
2022-12-06T17:50:18.889202590Z 2022-12-06 17:50:18,888 VoletCuisine at 100%
2022-12-06T17:50:19.973262918Z 2022-12-06 17:50:19,972 VoletParents at 100%
2022-12-06T17:50:21.075082852Z 2022-12-06 17:50:21,074 VoletDavidNico at 100%
2022-12-06T17:50:22.166992978Z 2022-12-06 17:50:22,166 ChambreMimie at 100%
2022-12-06T17:54:42.443759558Z 2022-12-06 17:54:42,435 Exiting on signal 15
2022-12-06T17:54:42.501448246Z 2022-12-06 17:54:42,501 Unexpected disconnection. Reconnecting in 5 seconds
2022-12-06T17:54:42.501596064Z Exception in thread Thread-1:
2022-12-06T17:54:42.501609533Z Traceback (most recent call last):
2022-12-06T17:54:42.501614730Z File "/usr/local/lib/python3.9/threading.py", line 954, in _bootstrap_inner
2022-12-06T17:54:42.502532107Z self.run()
2022-12-06T17:54:42.502546950Z File "/usr/local/lib/python3.9/threading.py", line 892, in run
2022-12-06T17:54:42.502959816Z self._target(*self._args, **self._kwargs)
2022-12-06T17:54:42.502968693Z File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3452, in _thread_main
2022-12-06T17:54:42.504906508Z self.loop_forever(retry_first_connection=True)
2022-12-06T17:54:42.504922595Z File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1779, in loop_forever
2022-12-06T17:54:42.505710439Z rc = self.loop(timeout, max_packets)
2022-12-06T17:54:42.505719227Z File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1181, in loop
2022-12-06T17:54:42.506272052Z rc = self.loop_read(max_packets)
2022-12-06T17:54:42.506281368Z File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1574, in loop_read
2022-12-06T17:54:42.506996067Z return self._loop_rc_handle(rc)
2022-12-06T17:54:42.507009781Z File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 2227, in _loop_rc_handle
2022-12-06T17:54:42.507938737Z self._do_on_disconnect(rc, properties)
2022-12-06T17:54:42.507951054Z File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3360, in _do_on_disconnect
2022-12-06T17:54:42.509323641Z self.on_disconnect(self, self._userdata, rc)
2022-12-06T17:54:42.509334235Z File "/vlx2mqtt.py", line 128, in mqtt_on_disconnect
2022-12-06T17:54:42.509451962Z time.sleep(5)
2022-12-06T17:54:42.509459680Z NameError: name 'time' is not defined
2022-12-06T17:54:42.551587836Z 2022-12-06 17:54:42,551 Disconnecting from broker
2022-12-06T17:55:19.981800716Z 2022-12-06 17:55:19,981 Starting vlx2mqtt
2022-12-06T17:55:19.982002008Z 2022-12-06 17:55:19,981 DEBUG MODE
2022-12-06T17:55:19.983091547Z 2022-12-06 17:55:19,982 Using selector: EpollSelector
2022-12-06T17:55:19.983599754Z /tmp/vlx.pid already exists, exiting
2022-12-06T17:55:20.744409035Z 2022-12-06 17:55:20,744 Starting vlx2mqtt
2022-12-06T17:55:20.744452255Z 2022-12-06 17:55:20,744 DEBUG MODE
2022-12-06T17:55:20.744969132Z 2022-12-06 17:55:20,744 Using selector: EpollSelector
2022-12-06T17:55:20.745302701Z /tmp/vlx.pid already exists, exiting
2022-12-06T17:55:21.563486011Z 2022-12-06 17:55:21,563 Starting vlx2mqtt
2022-12-06T17:55:21.563525144Z 2022-12-06 17:55:21,563 DEBUG MODE
2022-12-06T17:55:21.563995718Z 2022-12-06 17:55:21,563 Using selector: EpollSelector
2022-12-06T17:55:21.564332403Z /tmp/vlx.pid already exists, exiting
2022-12-06T17:55:22.577838110Z 2022-12-06 17:55:22,577 Starting vlx2mqtt
2022-12-06T17:55:22.577873881Z 2022-12-06 17:55:22,577 DEBUG MODE
2022-12-06T17:55:22.578384354Z 2022-12-06 17:55:22,578 Using selector: EpollSelector
2022-12-06T17:55:22.578739226Z /tmp/vlx.pid already exists, exiting
2022-12-06T17:55:23.962278041Z 2022-12-06 17:55:23,962 Starting vlx2mqtt
2022-12-06T17:55:23.962333531Z 2022-12-06 17:55:23,962 DEBUG MODE
2022-12-06T17:55:23.962779378Z 2022-12-06 17:55:23,962 Using selector: EpollSelector
2022-12-06T17:55:23.963086032Z /tmp/vlx.pid already exists, exiting
2022-12-06T17:55:26.304699760Z 2022-12-06 17:55:26,304 Starting vlx2mqtt
2022-12-06T17:55:26.304740815Z 2022-12-06 17:55:26,304 DEBUG MODE
2022-12-06T17:55:26.305208575Z 2022-12-06 17:55:26,305 Using selector: EpollSelector
2022-12-06T17:55:26.305545320Z /tmp/vlx.pid already exists, exiting
2022-12-06T17:55:30.158216789Z 2022-12-06 17:55:30,158 Starting vlx2mqtt
2022-12-06T17:55:30.158254090Z 2022-12-06 17:55:30,158 DEBUG MODE
2022-12-06T17:55:30.158721055Z 2022-12-06 17:55:30,158 Using selector: EpollSelector
2022-12-06T17:55:30.159027423Z /tmp/vlx.pid already exists, exiting
2022-12-06T17:55:37.296623865Z 2022-12-06 17:55:37,296 Starting vlx2mqtt
2022-12-06T17:55:37.296676803Z 2022-12-06 17:55:37,296 DEBUG MODE
2022-12-06T17:55:37.297144187Z 2022-12-06 17:55:37,296 Using selector: EpollSelector
2022-12-06T17:55:37.297484573Z /tmp/vlx.pid already exists, exiting
2022-12-06T17:55:50.722653054Z 2022-12-06 17:55:50,722 Starting vlx2mqtt
2022-12-06T17:55:50.722694498Z 2022-12-06 17:55:50,722 DEBUG MODE
2022-12-06T17:55:50.723196809Z 2022-12-06 17:55:50,723 Using selector: EpollSelector
2022-12-06T17:55:50.723536021Z /tmp/vlx.pid already exists, exiting
2022-12-06T17:56:16.919236862Z 2022-12-06 17:56:16,919 Starting vlx2mqtt
2022-12-06T17:56:16.919276696Z 2022-12-06 17:56:16,919 DEBUG MODE
2022-12-06T17:56:16.919751588Z 2022-12-06 17:56:16,919 Using selector: EpollSelector
2022-12-06T17:56:16.920125036Z /tmp/vlx.pid already exists, exiting
Merci de votre retour sur ce problème.
Dominique