======== Running on http://0.0.0.0:9123 ======== (Press CTRL+C to quit) Traceback (most recent call last): File "/var/www/html/plugins/klf200/resources/klf200d.py", line 273, in web.run_app(app, port=9123) File "/var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages/aiohttp/web.py", line 512, in run_app [2024-12-04 11:34:25][INFO] Arrêt du service klf200 _cancel_tasks({main_task}, loop) File "/var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages/aiohttp/web.py", line 444, in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) TypeError: gather() got an unexpected keyword argument 'loop' [2024-12-04 11:34:26][INFO] Arrêt du service klf200 [2024-12-04 11:34: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.200.100 8e2khqBdXb [2024-12-04 11:34:28][INFO] Arrêt du service klf200 [2024-12-04 11:34:28][ERROR] Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2024-12-04 11:34:26 [2024-12-04 11:34:32][ERROR] Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2024-12-04 11:34:26 [2024-12-04 11:34:46][ERROR] Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2024-12-04 11:34:26 [2024-12-04 11:35:01][DEBUG] Send http://localhost:9123/devices [2024-12-04 11:35:02][DEBUG] Result [2024-12-04 11:35:29][INFO] Arrêt du service klf200 [2024-12-04 11:35:29][INFO] Lancement démon klf200 : /var/www/html/plugins/klf200/resources/venv/bin/python3 /var/www/html/plugins/klf200/resources/klf200d.py 192.168.200.100 8e2khqBdXb [2024-12-04 11:35:42][INFO] Arrêt du service klf200 ======== Running on http://0.0.0.0:9123 ======== (Press CTRL+C to quit) Traceback (most recent call last): File "/var/www/html/plugins/klf200/resources/klf200d.py", line 273, in web.run_app(app, port=9123) File "/var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages/aiohttp/web.py", line 512, in run_app _cancel_tasks({main_task}, loop) File "/var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages/aiohttp/web.py", line 444, in _cancel_tasks asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) TypeError: gather() got an unexpected keyword argument 'loop' [2024-12-04 11:35:43][INFO] Lancement démon klf200 : /var/www/html/plugins/klf200/resources/venv/bin/python3 /var/www/html/plugins/klf200/resources/klf200d.py 192.168.200.100 8e2khqBdXb [2024-12-04 11:35:43][ERROR] KLF200 has been restarted after found not responding [2024-12-04 11:36:01][DEBUG] Send http://localhost:9123/devices [2024-12-04 11:36:01][DEBUG] Result {"result": "fail"} [2024-12-04 11:37:01][DEBUG] Send http://localhost:9123/devices [2024-12-04 11:37:01][DEBUG] Result {"result": "ok", "devices": [{"id": 0, "name": "LEDTV", "type": "Light", "intensity": 100}, {"id": 1, "name": "LEDCUISINE", "type": "Light", "intensity": 100}, {"id": 2, "name": "LEDMILIEU", "type": "Light", "intensity": 100}, {"id": 3, "name": "LAMES1", "type": "Blade", "position": 100}, {"id": 4, "name": "STOREDESCENTE", "type": "Awning", "position": 0}, {"id": 5, "name": "STOREPOUBELLE", "type": "Awning", "position": 0}, {"id": 6, "name": "STOREPISCINE", "type": "Awning", "position": 0}, {"id": 7, "name": "STOREHAMAC", "type": "Awning", "position": 0}, {"id": 8, "name": "STOREBBQ", "type": "Awning", "position": 0}, {"id": 9, "name": "LEDBBQ", "type": "Light", "intensity": 100}, {"id": 10, "name": "Light10", "type": "Light", "intensity": 100}, {"id": 11, "name": "Light11", "type": "Light", "intensity": 100}, {"id": 12, "name": "Light12", "type": "Light", "intensity": 100}, {"id": 13, "name": "LAMES2", "type": "Blade", "position": 100}]} [2024-12-04 11:38:02][DEBUG] Send http://localhost:9123/devices [2024-12-04 11:38:02][DEBUG] Result {"result": "ok", "devices": [{"id": 0, "name": "LEDTV", "type": "Light", "intensity": 100}, {"id": 1, "name": "LEDCUISINE", "type": "Light", "intensity": 100}, {"id": 2, "name": "LEDMILIEU", "type": "Light", "intensity": 100}, {"id": 3, "name": "LAMES1", "type": "Blade", "position": 100}, {"id": 4, "name": "STOREDESCENTE", "type": "Awning", "position": 0}, {"id": 5, "name": "STOREPOUBELLE", "type": "Awning", "position": 0}, {"id": 6, "name": "STOREPISCINE", "type": "Awning", "position": 0}, {"id": 7, "name": "STOREHAMAC", "type": "Awning", "position": 0}, {"id": 8, "name": "STOREBBQ", "type": "Awning", "position": 0}, {"id": 9, "name": "LEDBBQ", "type": "Light", "intensity": 100}, {"id": 10, "name": "Light10", "type": "Light", "intensity": 100}, {"id": 11, "name": "Light11", "type": "Light", "intensity": 100}, {"id": 12, "name": "Light12", "type": "Light", "intensity": 100}, {"id": 13, "name": "LAMES2", "type": "Blade", "position": 100}]}