Bonjour,
Cela fait maintenant plusieurs mois que je découvre Jeedom et sa communauté, et j’ai donc décidé de sauter le pas et de demander de l’aide après de nombreux essais et recherches.
J’ai fait l’acquisition d’un Raspi4, et je boot sur un SSD externe.
jeedom@jeedom:~ $ cat /proc/cpuinfo
Hardware : BCM2835
Revision : c03112
Serial : xxxxxxxxxxx
Model : Raspberry Pi 4 Model B Rev 1.2
Dans un premier temps, j’ai commencé par installer un Raspberry Pi OS de base puis j’ai installé Jeedom par dessus.
L’installation s’est bien déroulée. J’ai configuré le market, les sauvegardes (sur NAS Synology), ajouté qq plugins (Smarthings, EweJee, etc.) puis, je me suis intéressé à Zigbee.
J’ai acheté un clé Conbee II et j’ai acheté le plugin DECONZ.
Malgré tous mes efforts, je n’ai jamais réussi à ajouter de périphériques Zigbee avec DECONZ.
La clé était bien reconnue, mais impossible d’inclure aucun périphérique.
Comme je n’avais pas installé la version lite de Raspberry Pi OS, j’ai tout recommencé à zéro, réinstallé Jeedom et restauré ma sauvegarde depuis mon NAS.
Même constat, impossible d’inclure un périph zigbee.
J’ai donc pris ma clé Conbee, que j’ai branché sur un PC, j’ai installé DECONZ, j’ai mis à jour le firmware de la clé, et depuis DECONZ, j’arrivais à voir d’autres périphériques Zigbee.
3ème étape, fresh install de Jeedom avec l’image fournie ici : Index of /rpi
J’ai ensuite procédé aux mises à jour via l’interface Jeedom et je suis maintenant en :
- Version : 4.1.22
- Source : default
- Branche : V4-stable
- Système : rpi
Je n’ai installé aucun plugin et je n’ai pas restauré une sauvegarde précédente pour être sûr de partir d’un système propre.
Je viens d’acheter le plugin Zigbee, je l’ai installé, et je rencontre exactement les mêmes problèmes.
Impossible d’inclure un périphérique…
Ma clé Conbee 2 est bien détectée (branchée sur un ports USB2)
jeedom@jeedom:~ $ usb-devices
T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 2.01 Cls=02(commc) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1cf1 ProdID=0030 Rev=01.00
S: Manufacturer=dresden elektronik ingenieurtechnik GmbH
S: Product=ConBee II
S: SerialNumber=XXXXXXXX
C: #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
I: If#=0x1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
jeedom@jeedom:~ $ lsusb
Bus 002 Device 002: ID 152d:0580 JMicron Technology Corp. / JMicron USA Technology Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 1cf1:0030 Dresden Elektronik
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Le plugin Zigbee semble bien reconnaître la clé :
Les dépendances sont bien installées, et le démon démarre bien.
Les logs en mode DEBUG ne semble pas montrer d’erreur particulière.
[2021-04-27 11:00:02][DEBUG] : http://127.0.0.1:8089/device/all type : GET
[2021-04-27 11:00:02][DEBUG] : null
[2021-04-27 12:00:02][DEBUG] : http://127.0.0.1:8089/device/all type : GET
[2021-04-27 12:00:02][DEBUG] : null
[2021-04-27 12:58:22][DEBUG] : http://127.0.0.1:8089/application/include type : PUT
[2021-04-27 12:58:22][DEBUG] : {"duration":180}
[2021-04-27 12:58:22][DEBUG] : ""
[2021-04-27 12:59:48][DEBUG] : http://127.0.0.1:8089/application/include type : PUT
[2021-04-27 12:59:48][DEBUG] : {"duration":180}
[2021-04-27 12:59:48][DEBUG] : ""
[2021-04-27 13:00:02][DEBUG] : http://127.0.0.1:8089/device/all type : GET
[2021-04-27 13:00:02][DEBUG] : null
[2021-04-27 13:01:34][DEBUG] : http://127.0.0.1:8089/application/include type : PUT
[2021-04-27 13:01:34][DEBUG] : {"duration":180}
[2021-04-27 13:01:34][DEBUG] : ""
[2021-04-27 13:04:18][DEBUG] : http://127.0.0.1:8089/device/all?with_attributes=2 type : GET
[2021-04-27 13:04:18][DEBUG] : {"with_attributes":2}
[2021-04-27 13:04:18][DEBUG] : http://127.0.0.1:8089/group/all type : GET
[2021-04-27 13:04:18][DEBUG] : null
[2021-04-27 13:04:20][DEBUG] : http://127.0.0.1:8089/application/info type : GET
[2021-04-27 13:04:20][DEBUG] : null
[2021-04-27 13:04:20][DEBUG] : http://127.0.0.1:8089/device/all?with_attributes=0 type : GET
[2021-04-27 13:04:20][DEBUG] : {"with_attributes":0}
[2021-04-27 13:04:20][DEBUG] : http://127.0.0.1:8089/network/map type : GET
[2021-04-27 13:04:20][DEBUG] : null
[2021-04-27 13:04:20][DEBUG] : {"ieee":"00:21:2e:ff:ff:06:99:48","version":"0.33.0","nwk":0,"config":{"database_path":"\/var\/www\/html\/plugins\/zigbee\/data\/1\/network_deconz.db","device":{"path":"\/dev\/ttyACM0"},"network":{"channel":15,"channels":34635776,"pan_id":null,"update_id":0,"tc_address":null,"key_sequence_number":0,"tc_link_key":"5a:69:67:42:65:65:41:6c:6c:69:61:6e:63:65:30:39","key":null,"extended_pan_id":null},"topology_scan_skip_coordinator":false,"topology_scan_period":240,"topology_scan_enabled":true,"watchdog_ttl":600,"ota":{"otau_directory":null,"ledvance_provider":false,"ikea_provider":false}},"deconz":{"version":"0x26680700","extendedPanId":"48:99:06:ff:ff:2e:21:00","panId":"0xa383","radioChannel":15,"nwkUpdateId":"0x0"}}
[2021-04-27 13:04:20][DEBUG] : [{"ieee":"00:21:2e:ff:ff:06:99:48","nwk":0,"status":2,"lqi":"221","rssi":"30","last_seen":"1619521294.5451188","node_descriptor":"10:40:0f:35:11:47:2b:00:40:00:2b:00:00","endpoints":[{"id":1,"status":1,"device_type":5,"profile_id":260,"manufacturer":null,"model":null,"output_clusters":[{"id":1,"name":"Power Configuration","attributes":[]},{"id":32,"name":"Poll Control","attributes":[]},{"id":1280,"name":"IAS Zone","attributes":[]}],"input_clusters":[{"id":0,"name":"Basic","attributes":[]},{"id":10,"name":"Time","attributes":[]},{"id":25,"name":"Ota","attributes":[]}]},{"id":242,"status":1,"device_type":100,"profile_id":41440,"manufacturer":null,"model":null,"output_clusters":[{"id":33,"name":"GreenPowerProxy","attributes":[]}],"input_clusters":[]}],"signature":{"model":"RaspBee II","node_desc":{"byte1":16,"byte2":64,"mac_capability_flags":15,"manufacturer_code":4405,"maximum_buffer_size":71,"maximum_incoming_transfer_size":43,"server_mask":64,"maximum_outgoing_transfer_size":43,"descriptor_capability_field":0},"endpoints":{"1":{"profile_id":260,"device_type":5,"input_clusters":[0,10,25],"output_clusters":[1,32,1280]},"242":{"profile_id":41440,"device_type":100,"input_clusters":[],"output_clusters":[33]}}},"class":"zigpy_deconz.zigbee.application"}]
[2021-04-27 13:04:20][DEBUG] : [{"ieee":"00:21:2e:ff:ff:06:99:48","nwk":"0x0000","lqi":221,"rssi":30,"device_type":"Coordinator","manufacturer":"dresden elektronik","model":"RaspBee II","offline":false,"neighbours":[]}]
[2021-04-27 13:04:59][DEBUG] : http://127.0.0.1:8089/application/include type : PUT
[2021-04-27 13:04:59][DEBUG] : {"duration":180}
[2021-04-27 13:04:59][DEBUG] : ""
[2021-04-27 13:53:25][DEBUG] : http://127.0.0.1:8089/device/all?with_attributes=0 type : GET
[2021-04-27 13:53:25][DEBUG] : http://127.0.0.1:8089/application/info type : GET
[2021-04-27 13:53:25][DEBUG] : http://127.0.0.1:8089/network/map type : GET
[2021-04-27 13:53:25][DEBUG] : null
[2021-04-27 13:53:25][DEBUG] : {"with_attributes":0}
[2021-04-27 13:53:25][DEBUG] : null
[2021-04-27 13:53:25][DEBUG] : [{"ieee":"00:21:2e:ff:ff:06:99:48","nwk":0,"status":2,"lqi":"221","rssi":"30","last_seen":"1619521499.4829571","node_descriptor":"10:40:0f:35:11:47:2b:00:40:00:2b:00:00","endpoints":[{"id":1,"status":1,"device_type":5,"profile_id":260,"manufacturer":null,"model":null,"output_clusters":[{"id":1,"name":"Power Configuration","attributes":[]},{"id":32,"name":"Poll Control","attributes":[]},{"id":1280,"name":"IAS Zone","attributes":[]}],"input_clusters":[{"id":0,"name":"Basic","attributes":[]},{"id":10,"name":"Time","attributes":[]},{"id":25,"name":"Ota","attributes":[]}]},{"id":242,"status":1,"device_type":100,"profile_id":41440,"manufacturer":null,"model":null,"output_clusters":[{"id":33,"name":"GreenPowerProxy","attributes":[]}],"input_clusters":[]}],"signature":{"model":"RaspBee II","node_desc":{"byte1":16,"byte2":64,"mac_capability_flags":15,"manufacturer_code":4405,"maximum_buffer_size":71,"maximum_incoming_transfer_size":43,"server_mask":64,"maximum_outgoing_transfer_size":43,"descriptor_capability_field":0},"endpoints":{"1":{"profile_id":260,"device_type":5,"input_clusters":[0,10,25],"output_clusters":[1,32,1280]},"242":{"profile_id":41440,"device_type":100,"input_clusters":[],"output_clusters":[33]}}},"class":"zigpy_deconz.zigbee.application"}]
[2021-04-27 13:53:25][DEBUG] : {"ieee":"00:21:2e:ff:ff:06:99:48","version":"0.33.0","nwk":0,"config":{"database_path":"\/var\/www\/html\/plugins\/zigbee\/data\/1\/network_deconz.db","device":{"path":"\/dev\/ttyACM0"},"network":{"channel":15,"channels":34635776,"pan_id":null,"update_id":0,"tc_address":null,"key_sequence_number":0,"tc_link_key":"5a:69:67:42:65:65:41:6c:6c:69:61:6e:63:65:30:39","key":null,"extended_pan_id":null},"topology_scan_skip_coordinator":false,"topology_scan_period":240,"topology_scan_enabled":true,"watchdog_ttl":600,"ota":{"otau_directory":null,"ledvance_provider":false,"ikea_provider":false}},"deconz":{"version":"0x26680700","extendedPanId":"48:99:06:ff:ff:2e:21:00","panId":"0xa383","radioChannel":15,"nwkUpdateId":"0x0"}}
[2021-04-27 13:53:25][DEBUG] : [{"ieee":"00:21:2e:ff:ff:06:99:48","nwk":"0x0000","lqi":221,"rssi":30,"device_type":"Coordinator","manufacturer":"dresden elektronik","model":"RaspBee II","offline":false,"neighbours":[]}]
[2021-04-27 13:53:31][DEBUG] : http://127.0.0.1:8089/network/map type : GET
[2021-04-27 13:53:31][DEBUG] : null
[2021-04-27 13:53:31][DEBUG] : [{"ieee":"00:21:2e:ff:ff:06:99:48","nwk":"0x0000","lqi":221,"rssi":30,"device_type":"Coordinator","manufacturer":"dresden elektronik","model":"RaspBee II","offline":false,"neighbours":[]}]
[2021-04-27 14:00:01][DEBUG] : http://127.0.0.1:8089/device/all type : GET
[2021-04-27 14:00:01][DEBUG] : null
[2021-04-27 14:07:32][DEBUG] : http://127.0.0.1:8089/application/include type : PUT
[2021-04-27 14:07:32][DEBUG] : {"duration":180}
[2021-04-27 14:07:32][DEBUG] : ""
[2021-04-27 14:10:46][DEBUG] : http://127.0.0.1:8089/application/include type : PUT
[2021-04-27 14:10:46][DEBUG] : {"duration":180}
[2021-04-27 14:10:46][DEBUG] : ""
[2021-04-28 11:00:02][DEBUG] : http://127.0.0.1:8089/device/all type : GET
[2021-04-28 11:00:02][DEBUG] : null
[2021-04-28 11:25:48][INFO] : Lancement démon zigbeed : /usr/bin/python3 /var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py --device auto --loglevel debug --socketport 8089 --callback http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php --apikey f6c37FfXV4UiVDOHdSNQwX3yfcLximE5 --cycle 0.3 --pid /tmp/jeedom/zigbee/deamon_1.pid --data_folder /var/www/html/plugins/zigbee/data/1 --device_folder /var/www/html/plugins/zigbee/data/device --controller deconz --sub_controller auto --channel 15
[2021-04-28 11:25:49][DEBUG] : null
Lorsque je lance l’inclusion je réinitialise bien le device que je veux joindre (prise connectée LIDL, multiprise LIDL, ampoule LED LIDL), aucun n’est jamais détecté.
J’en suis là (et las ) et je ne sais plus où chercher pour comprendre ce que je fais mal et qui m’empêche de continuer.
J’espère avoir été suffisamment clair et détaillé.
Merci par avance de votre aide.