Je confirme, cela fonctionne bien.
Premier appairage réussi:
Test concluant.
Merci à tous pour votre aide.
Par contre, le firmware n’étant pas à jour, j’ai tenté de le mettre à jour.
Pour cela j’ai arrêté le démon du plug-in Zigbee
Puis lancé la commande:
sudo GCFFlasher_internal -t 60 -x 3 -d /dev/ttyACM1 -f deCONZ_ConBeeII_0x26720700.bin.GCF
flashing 164227 bytes: |=error: timeout flashing firmware after 3006 ms
18:25:59:264 retry, elapsed 59 seconds
18:25:59:370 parse commands: /usr/bin/GCFFlasher_internal.bin -t 60 -x 3 -d /dev/ttyACM1 -f deCONZ_ConBeeII_0x26720700.bin.GCF
18:25:59:370 using firmware file: deCONZ_ConBeeII_0x26720700.bin.GCF
18:25:59:427 ls dev: /dev/ttyACM1 (0x1CF1/0x0030) sn: DE2474544
18:25:59:427 ls dev: /dev/ttyACM0 (0x1CF1/0x0030) sn: DE2254887
18:25:59:427 ls dev: /dev/ttyAMA0 (0x0000/0x0000) sn:
Reboot device /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2474544-if00 (ConBee II)
18:25:59:434 query bootloader v1 ID after 5 ms
18:25:59:935 close serial after 505
18:26:00:941 query bootloader v3 ID after 1511 ms
18:26:00:941 TX c081027dffc0
18:26:01:441 close serial after 2012
18:26:01:446 query deCONZ firmware version
retry, failed
2408: Error: uart reset failed, check retry
Cela ne sent pas très bon…
Le plug-in ne redémarre plus
Et j’ai les traces suivantes dans le fichier zigbeed_1 :
ValueError: Data is too short to contain 4 bytes
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/provider.py", line 414, in scan_image
parsed_image, _ = parse_ota_image(f.read())
File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 264, in parse_ota_image
return OTAImage.deserialize(data)
File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 162, in deserialize
hdr, data = OTAImageHeader.deserialize(data)
File "/usr/local/lib/python3.7/dist-packages/zigpy/ota/image.py", line 110, in deserialize
hdr, data = super().deserialize(data)
File "/usr/local/lib/python3.7/dist-packages/zigpy/types/struct.py", line 249, in deserialize
value, data = field.type.deserialize(data)
File "/usr/local/lib/python3.7/dist-packages/zigpy/types/basic.py", line 140, in deserialize
raise ValueError(f"Data is too short to contain {byte_size} bytes")
ValueError: Data is too short to contain 4 bytes
[2022-01-29 18:28:26][DEBUG] : Ledvance: Finished downloading firmware update list
[2022-01-29 18:28:27][DEBUG] : Trådfri: Finished downloading firmware update list
[2022-01-29 18:28:27][ERROR] : Couldn't start application
[2022-01-29 18:28:27][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Connection object at 0x7f7dfdb8f0>)
[2022-01-29 18:28:27][DEBUG] : operation functools.partial(<built-in method close of sqlite3.Connection object at 0x7f7dfdb8f0>) completed
[2022-01-29 18:28:27][ERROR] : [start_zigbee] Fatal error : [Errno 2] could not open port /dev/ttyACM1: [Errno 2] No such file or directory: '/dev/ttyACM1'
[2022-01-29 18:28:27][INFO] : Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyACM1'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py", line 102, in start_zigbee
start_radio=True,
File "/usr/local/lib/python3.7/dist-packages/zigpy/application.py", line 69, in new
await app.startup(auto_form)
File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/zigbee/application.py", line 66, in startup
await self._api.connect()
File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/api.py", line 253, in connect
self._uart = await zigpy_deconz.uart.connect(self._config, self)
File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/uart.py", line 149, in connect
xonxoff=False,
File "/usr/local/lib/python3.7/dist-packages/serial_asyncio/__init__.py", line 448, in create_serial_connection
serial_instance = serial.serial_for_url(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/usr/local/lib/python3.7/dist-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyACM1: [Errno 2] No such file or directory: '/dev/ttyACM1'
[2022-01-29 18:28:27][INFO] : Shutdown
[2022-01-29 18:28:27][INFO] : Removing PID file /tmp/jeedom/zigbee/deamon_1.pid
[2022-01-29 18:28:27][INFO] : Exit 0
Si jamais cela dit quelquechose à quelqu’un?
Ensuite elle apparait puis disparait quand on fait un ls sur les tty
En la pluggant sur un Deconz sous Windows elle est détectée puis déconnectée:
18:41:32:242 COM: \\.\COM5 : P�riph�rique s�rie USB (0x1CF1/0x0030)
18:41:32:243 GW firmware update select USB device
18:41:32:258 wait reconnect 6 seconds
18:41:32:264 GW update firmware not found: deCONZ_ConBeeII_0x26660700.bin.GCF
18:41:33:047 failed to reconnect to network try=8
18:41:33:258 wait reconnect 5 seconds
18:41:34:261 wait reconnect 4 seconds
18:41:35:264 wait reconnect 3 seconds
18:41:36:013 Daylight now: dusk, status: 210, daylight: 0, dark: 1
18:41:36:260 wait reconnect 2 seconds
18:41:37:257 wait reconnect 1 seconds
18:41:38:041 failed to reconnect to network try=9
Pour m’en sortir j’ai reflashé la clef sous Windows en ligne de commande:
C:\Users\cedri\AppData\Local\deCONZ\bin>GCFFlasher -d COM5 -t 60 -f ../firmware/deCONZ_ConBeeII_0x26720700.bin.GCF
GCFFlasher V3_17 (c) dresden elektronik ingenieurtechnik gmbh
Reboot device COM5 (ConBee II)
R21B18 Bootloader
Vers: 2.07
build: Jun 17 2019
flashing 164227 bytes: |==============================|
verify: .
SUCCESS
Wait 10 seconds until application starts