Salut à tous,
J’ai un souci ici avec le plugin Devolo CPL, et je me dis que j’ai peut-être fait une erreur que les gens de la communauté pourront m’aider à résoudre.
J’ai déplacé mon Jeedom d’une machine virtuelle Synology vers une nouvelle VM Proxmox Debian 11.11
Je tente de resynchroniser mes CPL (1 Magic 2 LAN 1-1 + 2 Magic 2 WiFi 6 ) dans le plugin pour pouvoir les voir dans jeedom et extraire les stats qui m’intéressent et savoir s’il y a des updates pour mes devices.
Impossible de le faire apparaitre dans le plugin depuis la restauration de ma sauvegarde Jeedom sur la VM Proxmox)
J’ai vérifié les firmwares des Devolo et ils sont à jour avec les dernières versions
Magic 2 LAN 1-1 = 7.12.9.142 (2023-05-02)
Magic WIFI 6 = 6.0.1 (2023-09-06)
Quand je clique sur le bouton synchroniser, je vois ceci dans les logs :
devolo_cpl_update
BASE_DIR: /var/www/html/plugins/devolo_cpl/resources
======================================================================
== 30/12/2024 14:02:08 == Installation des dépendances de devolo_cpl
======================================================================
[ 5% ] : Clean apt...
[ 9% ] : Clean apt : [ OK ]
[ 10% ] : Update apt...
[ 19% ] : Update apt : [ OK ]
[ 20% ] : Init python3 & prerequisites...
[ 31% ] : Init python3 & prerequisites : [ OK ]
[ 32% ] : Init pyEnv...
** PyEnv not required: 3.9.2 >= 3.9 **
** python3 path: python3 **
[ 43% ] : Init pyEnv : [ OK ]
[ 44% ] : Setting up virtual environment...
** Version of python in VENV: Python 3.9.2
[ 79% ] : Setting up virtual environment : [ OK ]
[ 80% ] : Install the required python packages...
[ 89% ] : Install the required python packages : [ OK ]
[ 90% ] : Summary of installed packages...
anyio==4.7.0
async-timeout==5.0.1
certifi==2024.12.14
charset-normalizer==3.4.1
devolo-plc-api==1.4.1
exceptiongroup==1.2.2
h11==0.14.0
httpcore==1.0.7
httpx==0.28.1
idna==3.10
ifaddr==0.2.0
importlib_metadata==8.5.0
pkg_resources==0.0.0
protobuf==5.29.2
requests==2.32.3
segno==1.6.1
sniffio==1.3.1
typing_extensions==4.12.2
urllib3==2.3.0
zeroconf==0.136.2
zipp==3.21.0
[ 99% ] : Summary of installed packages : [ OK ]
[100% ] : Terminé !
======================================================================
== OK == Installation Réussie
======================================================================
devolo_cpl_daemon
[2024-12-30 14:03:40][INFO][devolo_cpld ] ┌─Start demond
[2024-12-30 14:03:40][INFO][devolo_cpld ] │ Log level : debug
[2024-12-30 14:03:40][INFO][devolo_cpld ] │ Socket port : 34741
[2024-12-30 14:03:40][INFO][devolo_cpld ] │ Socket host : localhost
[2024-12-30 14:03:40][INFO][devolo_cpld ] │ PID file : /tmp/jeedom/devolo_cpl/daemon.pid
[2024-12-30 14:03:40][INFO][devolo_cpld ] │ Apikey : TiXn23olqlcH4KAfqCB6r84MuEmPMDbrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[2024-12-30 14:03:40][INFO][devolo_cpld ] └ Callback : http://127.0.0.1:80/plugins/devolo_cpl/core/php/jeedevolo_cpl.php
[2024-12-30 14:03:40][INFO][jeedom ] Writing PID 2377418 to /tmp/jeedom/devolo_cpl/daemon.pid
[2024-12-30 14:03:40][INFO][jeedom ] Init request module v2.32.3
[2024-12-30 14:03:40][DEBUG][connectionpool ] Starting new HTTP connection (1): 127.0.0.1:80
[2024-12-30 14:03:40][DEBUG][connectionpool ] http://127.0.0.1:80 "GET /plugins/devolo_cpl/core/php/jeedevolo_cpl.php?apikey=TiXn23olqlcH4KAfqCB6r84MuEmPMDbrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1" 200 0
[2024-12-30 14:03:40][INFO][jeedom ] Socket interface started
[2024-12-30 14:03:40][INFO][jeedom ] LoopNetServer Thread started
[2024-12-30 14:03:40][INFO][jeedom ] Listening on: [localhost:34741]
[2024-12-30 14:03:55][DEBUG][devolo_cpld ] ========================= SIGALRM ======================
[2024-12-30 14:04:04][INFO][jeedom ] Client connected to [127.0.0.1:36168]
[2024-12-30 14:04:04][INFO][jeedom ] b'{"action":"getState","serial":"230111004000XXXX","ip":"192.168.1.XXX","password":"DNXXXXXXXXXXX","apikey":"TiXn23olqlcH4KAfqCB6r84MuEmPMDbrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}'
[2024-12-30 14:04:04][INFO][jeedom ] Message read from socket: b'{"action":"getState","serial":"230111004000XXXX","ip":"192.168.1.XXX","password":"DNXXXXXXXXXXX","apikey":"TiXn23olqlcH4KAfqCB6r84MuEmPMDbrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}'
[2024-12-30 14:04:04][INFO][jeedom ] Client disconnected from [127.0.0.1:36168]
[2024-12-30 14:04:04][DEBUG][devolo_cpld ] received message: {'action': 'getState', 'serial': '230111004000XXXX', 'ip': '192.168.1.XXX', 'password': 'DNXXXXXXXXXXX', 'apikey': 'TiXn23olqlcH4KAfqCB6r84MuEmPMDbrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}
[2024-12-30 14:04:04][DEBUG][selector_events ] Using selector: EpollSelector
[2024-12-30 14:04:04][INFO][devolo_cpld ] ============== begin getState ==============
[2024-12-30 14:04:05][DEBUG][device ] Browsing for ['_dvl-deviceapi._tcp.local.', '_dvl-plcnetapi._tcp.local.']
[2024-12-30 14:04:08][DEBUG][device ] Having trouble getting results via unicast messages. Switching to multicast for this device.
[2024-12-30 14:04:08][DEBUG][device ] Browsing for ['_dvl-deviceapi._tcp.local.', '_dvl-plcnetapi._tcp.local.']
[2024-12-30 14:04:10][DEBUG][devolo_cpld ] ========================= SIGALRM ======================
[2024-12-30 14:04:11][INFO][jeedom ] Send to jeedom : {'action': 'message', 'code': 'devNotAnswer', 'serial': '230111004000XXXX', 'ip': '192.168.1.XXX'}
[2024-12-30 14:04:11][DEBUG][connectionpool ] Starting new HTTP connection (1): 127.0.0.1:80
[2024-12-30 14:04:11][DEBUG][connectionpool ] http://127.0.0.1:80 "POST /plugins/devolo_cpl/core/php/jeedevolo_cpl.php?apikey=TiXn23olqlcH4KAfqCB6r84MuEmPMDbrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1" 200 0
[2024-12-30 14:04:25][DEBUG][devolo_cpld ] ========================= SIGALRM ======================
J’ai tenté d’ajouter manuellement les 3 CPL en donnant les serial, IP, password, MAC, mais sans succès, le démon me dit qu’il n’est pas accessible. Pourtant sur les 3 IP j’arrive bien sur la page d’administration des Devolos. Et je ping sans problèmes les 3 adresses IP des Devolo depuis la console
Quelqu’un a une idée ?
Par avance, merci