Bonjour, je me joins à la conversation : dans mon cas c’est la première fois que je reteste ce plugin depuis mon passage sur debian 12 : J’étais en stable, le deamon était OK mais les équipements ne fonctionnaient plus, la recherche des activités non plus…
Un petit tour sur community pour comprendre que c’était la version beta qu’il fallait utiliser pour l’instant sur deb12.
Dépendances a priori OK mais le démon ne semble pas vouloir se lancer… Mes équipements sont bien passés obsolètes et bien sûr, pas de nouveaux équipements
Dépendances :
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_harmonyhub
+ echo 1
+ echo 2
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Building dependency tree...
Reading state information...
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ sudo apt-get install -y python3 python3-pip python3-dev python3-venv
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.11.2-1+b1).
python3-pip is already the newest version (23.0.1+dfsg-1).
python3-dev is already the newest version (3.11.2-1+b1).
python3-venv is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
+ echo 3
+ sudo python3 -m venv --upgrade-deps /var/www/html/core/class/../../plugins/harmonyhub/resources/python_venv
+ echo 4
+ sudo /var/www/html/core/class/../../plugins/harmonyhub/resources/python_venv/bin/python3 -m pip install --upgrade pip wheel
Requirement already satisfied: pip in /var/www/html/plugins/harmonyhub/resources/python_venv/lib/python3.11/site-packages (24.3.1)
Requirement already satisfied: wheel in /var/www/html/plugins/harmonyhub/resources/python_venv/lib/python3.11/site-packages (0.45.1)
+ echo 5
+ sudo /var/www/html/core/class/../../plugins/harmonyhub/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade jeedomdaemon
Collecting jeedomdaemon
Using cached jeedomdaemon-1.0.2-py3-none-any.whl.metadata (5.0 kB)
Collecting aiohttp (from jeedomdaemon)
Using cached aiohttp-3.11.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
Collecting aiohappyeyeballs>=2.3.0 (from aiohttp->jeedomdaemon)
Using cached aiohappyeyeballs-2.4.3-py3-none-any.whl.metadata (6.1 kB)
Collecting aiosignal>=1.1.2 (from aiohttp->jeedomdaemon)
Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting attrs>=17.3.0 (from aiohttp->jeedomdaemon)
Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
Collecting frozenlist>=1.1.1 (from aiohttp->jeedomdaemon)
Using cached frozenlist-1.5.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (13 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp->jeedomdaemon)
Using cached multidict-6.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.0 kB)
Collecting propcache>=0.2.0 (from aiohttp->jeedomdaemon)
Using cached propcache-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
Collecting yarl<2.0,>=1.17.0 (from aiohttp->jeedomdaemon)
Using cached yarl-1.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (67 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.17.0->aiohttp->jeedomdaemon)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Using cached jeedomdaemon-1.0.2-py3-none-any.whl (13 kB)
Using cached aiohttp-3.11.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB)
Using cached aiohappyeyeballs-2.4.3-py3-none-any.whl (14 kB)
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Using cached attrs-24.2.0-py3-none-any.whl (63 kB)
Using cached frozenlist-1.5.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (274 kB)
Using cached multidict-6.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB)
Using cached propcache-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (236 kB)
Using cached yarl-1.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (343 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Installing collected packages: propcache, multidict, idna, frozenlist, attrs, aiohappyeyeballs, yarl, aiosignal, aiohttp, jeedomdaemon
Attempting uninstall: propcache
Found existing installation: propcache 0.2.0
Uninstalling propcache-0.2.0:
Successfully uninstalled propcache-0.2.0
Attempting uninstall: multidict
Found existing installation: multidict 6.1.0
Uninstalling multidict-6.1.0:
Successfully uninstalled multidict-6.1.0
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: frozenlist
Found existing installation: frozenlist 1.5.0
Uninstalling frozenlist-1.5.0:
Successfully uninstalled frozenlist-1.5.0
Attempting uninstall: attrs
Found existing installation: attrs 24.2.0
Uninstalling attrs-24.2.0:
Successfully uninstalled attrs-24.2.0
Attempting uninstall: aiohappyeyeballs
Found existing installation: aiohappyeyeballs 2.4.3
Uninstalling aiohappyeyeballs-2.4.3:
Successfully uninstalled aiohappyeyeballs-2.4.3
Attempting uninstall: yarl
Found existing installation: yarl 1.18.0
Uninstalling yarl-1.18.0:
Successfully uninstalled yarl-1.18.0
Attempting uninstall: aiosignal
Found existing installation: aiosignal 1.3.1
Uninstalling aiosignal-1.3.1:
Successfully uninstalled aiosignal-1.3.1
Attempting uninstall: aiohttp
Found existing installation: aiohttp 3.11.7
Uninstalling aiohttp-3.11.7:
Successfully uninstalled aiohttp-3.11.7
Attempting uninstall: jeedomdaemon
Found existing installation: jeedomdaemon 1.0.2
Uninstalling jeedomdaemon-1.0.2:
Successfully uninstalled jeedomdaemon-1.0.2
Successfully installed aiohappyeyeballs-2.4.3 aiohttp-3.11.7 aiosignal-1.3.1 attrs-24.2.0 frozenlist-1.5.0 idna-3.10 jeedomdaemon-1.0.2 multidict-6.1.0 propcache-0.2.0 yarl-1.18.0
+ echo 6
+ sudo /var/www/html/core/class/../../plugins/harmonyhub/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade aioharmony
Collecting aioharmony
Using cached aioharmony-0.2.10-py2.py3-none-any.whl.metadata (11 kB)
Collecting aiohttp (from aioharmony)
Using cached aiohttp-3.11.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
Collecting async-timeout (from aioharmony)
Using cached async_timeout-5.0.1-py3-none-any.whl.metadata (5.1 kB)
Collecting slixmpp (from aioharmony)
Using cached slixmpp-1.8.5-py3-none-any.whl
Collecting aiohappyeyeballs>=2.3.0 (from aiohttp->aioharmony)
Using cached aiohappyeyeballs-2.4.3-py3-none-any.whl.metadata (6.1 kB)
Collecting aiosignal>=1.1.2 (from aiohttp->aioharmony)
Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting attrs>=17.3.0 (from aiohttp->aioharmony)
Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
Collecting frozenlist>=1.1.1 (from aiohttp->aioharmony)
Using cached frozenlist-1.5.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (13 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp->aioharmony)
Using cached multidict-6.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.0 kB)
Collecting propcache>=0.2.0 (from aiohttp->aioharmony)
Using cached propcache-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
Collecting yarl<2.0,>=1.17.0 (from aiohttp->aioharmony)
Using cached yarl-1.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (67 kB)
Collecting aiodns>=1.0 (from slixmpp->aioharmony)
Using cached aiodns-3.2.0-py3-none-any.whl.metadata (4.0 kB)
Collecting pyasn1 (from slixmpp->aioharmony)
Using cached pyasn1-0.6.1-py3-none-any.whl.metadata (8.4 kB)
Collecting pyasn1_modules (from slixmpp->aioharmony)
Using cached pyasn1_modules-0.4.1-py3-none-any.whl.metadata (3.5 kB)
Collecting pycares>=4.0.0 (from aiodns>=1.0->slixmpp->aioharmony)
Using cached pycares-4.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.17.0->aiohttp->aioharmony)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting cffi>=1.5.0 (from pycares>=4.0.0->aiodns>=1.0->slixmpp->aioharmony)
Using cached cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.5.0->pycares>=4.0.0->aiodns>=1.0->slixmpp->aioharmony)
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Using cached aioharmony-0.2.10-py2.py3-none-any.whl (40 kB)
Using cached aiohttp-3.11.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB)
Using cached async_timeout-5.0.1-py3-none-any.whl (6.2 kB)
Using cached aiodns-3.2.0-py3-none-any.whl (5.7 kB)
Using cached aiohappyeyeballs-2.4.3-py3-none-any.whl (14 kB)
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Using cached attrs-24.2.0-py3-none-any.whl (63 kB)
Using cached frozenlist-1.5.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (274 kB)
Using cached multidict-6.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB)
Using cached propcache-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (236 kB)
Using cached yarl-1.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (343 kB)
Using cached pyasn1-0.6.1-py3-none-any.whl (83 kB)
Using cached pyasn1_modules-0.4.1-py3-none-any.whl (181 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached pycares-4.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (288 kB)
Using cached cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (467 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: pycparser, pyasn1, propcache, multidict, idna, frozenlist, attrs, async-timeout, aiohappyeyeballs, yarl, pyasn1_modules, cffi, aiosignal, pycares, aiohttp, aiodns, slixmpp, aioharmony
Attempting uninstall: pycparser
Found existing installation: pycparser 2.22
Uninstalling pycparser-2.22:
Successfully uninstalled pycparser-2.22
Attempting uninstall: pyasn1
Found existing installation: pyasn1 0.6.1
Uninstalling pyasn1-0.6.1:
Successfully uninstalled pyasn1-0.6.1
Attempting uninstall: propcache
Found existing installation: propcache 0.2.0
Uninstalling propcache-0.2.0:
Successfully uninstalled propcache-0.2.0
Attempting uninstall: multidict
Found existing installation: multidict 6.1.0
Uninstalling multidict-6.1.0:
Successfully uninstalled multidict-6.1.0
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: frozenlist
Found existing installation: frozenlist 1.5.0
Uninstalling frozenlist-1.5.0:
Successfully uninstalled frozenlist-1.5.0
Attempting uninstall: attrs
Found existing installation: attrs 24.2.0
Uninstalling attrs-24.2.0:
Successfully uninstalled attrs-24.2.0
Attempting uninstall: async-timeout
Found existing installation: async-timeout 5.0.1
Uninstalling async-timeout-5.0.1:
Successfully uninstalled async-timeout-5.0.1
Attempting uninstall: aiohappyeyeballs
Found existing installation: aiohappyeyeballs 2.4.3
Uninstalling aiohappyeyeballs-2.4.3:
Successfully uninstalled aiohappyeyeballs-2.4.3
Attempting uninstall: yarl
Found existing installation: yarl 1.18.0
Uninstalling yarl-1.18.0:
Successfully uninstalled yarl-1.18.0
Attempting uninstall: pyasn1_modules
Found existing installation: pyasn1_modules 0.4.1
Uninstalling pyasn1_modules-0.4.1:
Successfully uninstalled pyasn1_modules-0.4.1
Attempting uninstall: cffi
Found existing installation: cffi 1.17.1
Uninstalling cffi-1.17.1:
Successfully uninstalled cffi-1.17.1
Attempting uninstall: aiosignal
Found existing installation: aiosignal 1.3.1
Uninstalling aiosignal-1.3.1:
Successfully uninstalled aiosignal-1.3.1
Attempting uninstall: pycares
Found existing installation: pycares 4.4.0
Uninstalling pycares-4.4.0:
Successfully uninstalled pycares-4.4.0
Attempting uninstall: aiohttp
Found existing installation: aiohttp 3.11.7
Uninstalling aiohttp-3.11.7:
Successfully uninstalled aiohttp-3.11.7
Attempting uninstall: aiodns
Found existing installation: aiodns 3.2.0
Uninstalling aiodns-3.2.0:
Successfully uninstalled aiodns-3.2.0
Attempting uninstall: slixmpp
Found existing installation: slixmpp 1.8.5
Uninstalling slixmpp-1.8.5:
Successfully uninstalled slixmpp-1.8.5
Attempting uninstall: aioharmony
Found existing installation: aioharmony 0.2.10
Uninstalling aioharmony-0.2.10:
Successfully uninstalled aioharmony-0.2.10
Successfully installed aiodns-3.2.0 aiohappyeyeballs-2.4.3 aioharmony-0.2.10 aiohttp-3.11.7 aiosignal-1.3.1 async-timeout-5.0.1 attrs-24.2.0 cffi-1.17.1 frozenlist-1.5.0 idna-3.10 multidict-6.1.0 propcache-0.2.0 pyasn1-0.6.1 pyasn1_modules-0.4.1 pycares-4.4.0 pycparser-2.22 slixmpp-1.8.5 yarl-1.18.0
+ echo 7
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end harmonyhub
+ echo 8
+ rm /tmp/jeedom_install_in_progress_harmonyhub
+ echo '*******************End of package installation******************'
*******************End of package installation******************```
Démon:
[2024-11-24 00:40:51] INFO : Starting daemon with log level: debug
[2024-11-24 00:40:51] DEBUG : Writing PID 12527 to /tmp/jeedom/harmonyhub/daemon.pid
[2024-11-24 00:40:51] INFO : Listening on 127.0.0.1:24123
[2024-11-24 00:40:51] INFO : Initialize connection to 192.168.0.4
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: Initialize
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: Initialize HUB
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: Registering handler Activity_Changed with UUID b2745910-97c0-4b6c-8030-29686ecb35ea
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: Registering handler Activity_Starting with UUID c8ea1db7-7890-467d-9ea6-c1b80332dc40
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: Registering handler Activity_Stopping with UUID 48288e30-a794-4b3d-bab3-0d031b5486f6
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: Registering handler Notification_Received with UUID 75444588-4aab-4792-ac88-9b26005bd920
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: Callback handler started
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: XMPP is enabled
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: Using XMPP
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: Registering internal handlers.
[2024-11-24 00:40:51]WARNING : Exception occurred when calling on_start_cb: 'Timeout' object does not support the context manager protocol
[2024-11-24 00:40:51] INFO : Listening cancelled
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: Received STOP for callback handler
[2024-11-24 00:40:51] DEBUG : 192.168.0.4: Callback handler stopped.
[2024-11-24 00:40:51] INFO : Shutdown
[2024-11-24 00:40:51] DEBUG : Removing PID file /tmp/jeedom/harmonyhub/daemon.pid
[2024-11-24 00:40:51] DEBUG : Exit 0
[2024-11-24 00:25:52] INFO : Début d'activation du plugin
[2024-11-24 00:25:53] INFO : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2024-11-24 00:25:53] DEBUG : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=harmonyhub function=update callInstallFunction=1
[2024-11-24 00:27:09] INFO : Lancement démon
[2024-11-24 00:27:09] DEBUG : test from daemon
[2024-11-24 00:27:19] ERROR : Impossible de lancer le démon
[2024-11-24 00:28:40] INFO : Lancement démon
[2024-11-24 00:28:41] DEBUG : test from daemon
[2024-11-24 00:28:50] ERROR : Impossible de lancer le démon
[2024-11-24 00:30:07] INFO : Lancement démon
[2024-11-24 00:30:09] DEBUG : test from daemon
[2024-11-24 00:30:17] ERROR : Impossible de lancer le démon
[2024-11-24 00:35:05] INFO : Lancement démon
[2024-11-24 00:35:05] DEBUG : test from daemon
[2024-11-24 00:35:15] ERROR : Impossible de lancer le démon
[2024-11-24 00:40:04] INFO : Lancement démon
[2024-11-24 00:40:05] DEBUG : test from daemon
[2024-11-24 00:40:51] INFO : Lancement démon
[2024-11-24 00:40:51] DEBUG : test from daemon
[2024-11-24 00:41:01] ERROR : Impossible de lancer le démon
Merci beaucoup !