Suite à la mise à jour de ma BoX Atlas, KLF200 est NOK.
J’ai essayé de redémarrer jeedom, de redémarrer la box KLF, de désinstaller et réinstaller le plugin, et toujours en erreur.
[2024-07-20 21:16:44] ERROR : KLF200 has been restarted after found not responding
Failed to authenticate with password "zq****"
Traceback (most recent call last):
File "/var/www/html/plugins/klf200/resources/klf200d.py", line 269, in <module>
LOOP.run_until_complete(init_pyvlx_connection(LOOP))
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/var/www/html/plugins/klf200/resources/klf200d.py", line 22, in init_pyvlx_connection
await pyvlx.load_nodes()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/pyvlx.py", line 78, in load_nodes
await self.nodes.load(node_id)
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/nodes.py", line 69, in load
await self._load_all_nodes()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/nodes.py", line 85, in _load_all_nodes
await get_all_nodes_information.do_api_call()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/api/api_event.py", line 21, in do_api_call
await self.send_frame()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/api/api_event.py", line 33, in send_frame
await self.pyvlx.send_frame(self.request_frame())
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/pyvlx.py", line 66, in send_frame
await self.connect()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/pyvlx.py", line 44, in connect
await self.klf200.password_enter(password=self.config.password)
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/klf200gateway.py", line 126, in password_enter
raise PyVLXException("Login to KLF 200 failed, check credentials")
pyvlx.exception.PyVLXException: <PyVLXException description="Login to KLF 200 failed, check credentials" />
[2024-07-20 22:03:45] DEBUG : Send http://localhost:9123/devices
[2024-07-20 22:03:45] INFO : Arrêt du service klf200
[2024-07-20 22:03:45] INFO : Lancement démon klf200 : /var/www/html/plugins/klf200/resources/venv/bin/python3 /var/www/html/plugins/klf200/resources/klf200d.py 192.168.1.190 zqLggk8Zrt7
[2024-07-20 22:03:45] ERROR : KLF200 has been restarted after found not responding
[2024-07-20 22:03:46] DEBUG : Result
[2024-07-20 22:04:02] DEBUG : Send http://localhost:9123/devices
[2024-07-20 22:04:03] DEBUG : Result
[2024-07-20 22:04:26] INFO : Arrêt du service klf200
[2024-07-20 22:04:26] INFO : Lancement démon klf200 : /var/www/html/plugins/klf200/resources/venv/bin/python3 /var/www/html/plugins/klf200/resources/klf200d.py 192.168.1.190 zqLggk8Zrt7
[2024-07-20 22:04:26] ERROR : KLF200 has been restarted after found not responding
Failed to authenticate with password "zq****"
Traceback (most recent call last):
File "/var/www/html/plugins/klf200/resources/klf200d.py", line 269, in <module>
LOOP.run_until_complete(init_pyvlx_connection(LOOP))
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/var/www/html/plugins/klf200/resources/klf200d.py", line 22, in init_pyvlx_connection
await pyvlx.load_nodes()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/pyvlx.py", line 78, in load_nodes
await self.nodes.load(node_id)
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/nodes.py", line 69, in load
await self._load_all_nodes()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/nodes.py", line 85, in _load_all_nodes
await get_all_nodes_information.do_api_call()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/api/api_event.py", line 21, in do_api_call
await self.send_frame()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/api/api_event.py", line 33, in send_frame
await self.pyvlx.send_frame(self.request_frame())
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/pyvlx.py", line 66, in send_frame
await self.connect()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/pyvlx.py", line 44, in connect
await self.klf200.password_enter(password=self.config.password)
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.9/site-packages/pyvlx/klf200gateway.py", line 126, in password_enter
raise PyVLXException("Login to KLF 200 failed, check credentials")
pyvlx.exception.PyVLXException: <PyVLXException description="Login to KLF 200 failed, check credentials" />
Ça n’a pas changé grand chose. Par contre en cherchant d’où pouvait venir le pb, j’ai remarqué que sous ma liste des clients sur Unifi Controler, je vois la box KLF connectée, mais sans adresse IP associée. Son IP est fixe paramétrée dans la box KLF, je la ping sans pb, mais elle ne remonte pas dans Unifi.
Si je la laisse gérée par le DHCP, la box Velux n’apparait plus dans Unifi.
Celle qui consiste à effacer le dossier du plugin. La première fois j’avais désactivé le plugin avant de supprimer son dossier et de le réinstaller. A priori cela n’avait pas marché. La seconde fois, j’ai laissé le plugin actif, j’ai supprimé son dossier et je l’ai réinstallé, et cette fois ça a marché .