Open trashmaster9000 opened 2 weeks ago
z2m: Successfully interviewed 'Coordinator', device has successfully been paired
you sure the Stick is flashed with a Router Firmware? if i read your Log correctly you try to add another Coordinator ^^
yes, i've flashed it three times already since i thought maybe it didnt work because of the name... and it looks like it flashed successfully, see below.
the zzh adaptor was the coordinator until yesterday, i've replaced it with the sonos adaptor since i had trouble with the usb connection. does z2m still think this is also the coordinator or do i have to flash the FW differently?
sudo python3 cc2538-bsl-master/cc2538-bsl.py -p /dev/ttyUSB0 -evw CC2652R_router_20221102.hex
[sudo] Passwort für poe:
Opening port /dev/ttyUSB0, baud 500000
Reading data from CC2652R_router_20221102.hex
Your firmware looks like an Intel Hex file
Connecting to target...
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:21:B9:52:CA
Performing mass erase
Erasing all main bank flash sectors
Erase done
Writing 360448 bytes starting at address 0x00000000
Write 104 bytes at 0x00057F988
Write done
Verifying by comparing CRC32 calculations.
Verified (match: 0x630abbc5)
edit: i've tried to set the ieee address in hope its making a difference, z2m doesnt crash anymore but i get a different error:
info 2024-11-09 16:46:09zh:controller: Interview for '0x00124b0021b952cb' started
info 2024-11-09 16:46:09z2m: Device '0x00124b0021b952cb' joined
info 2024-11-09 16:46:11z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0x00124b0021b952cb"},"type":"device_connected"}'
info 2024-11-09 16:46:11z2m: Starting interview of '0x00124b0021b952cb'
info 2024-11-09 16:46:12z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"0x00124b0021b952cb"},"type":"pairing"}'
info 2024-11-09 16:46:12z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b0021b952cb","ieee_address":"0x00124b0021b952cb"},"type":"device_joined"}'
info 2024-11-09 16:46:12z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b0021b952cb","ieee_address":"0x00124b0021b952cb","status":"started"},"type":"device_interview"}'
info 2024-11-09 16:46:14z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"0x00124b0021b952cb"},"type":"device_announced"}'
info 2024-11-09 16:46:14z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b0021b952cb","ieee_address":"0x00124b0021b952cb"},"type":"device_announce"}'
info 2024-11-09 16:46:47z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"0x00124b0021b952cb"},"type":"device_announced"}'
info 2024-11-09 16:46:47z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b0021b952cb","ieee_address":"0x00124b0021b952cb"},"type":"device_announce"}'
error 2024-11-09 16:47:14zh:controller: Interview failed for '0x00124b0021b952cb with error 'Error: Interview failed because can not get node descriptor ('0x00124b0021b952cb')'
error 2024-11-09 16:47:14z2m: Failed to interview '0x00124b0021b952cb', device has not successfully been paired
info 2024-11-09 16:47:15z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_failed","meta":{"friendly_name":"0x00124b0021b952cb"},"type":"pairing"}'
info 2024-11-09 16:47:15z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b0021b952cb","ieee_address":"0x00124b0021b952cb","status":"failed"},"type":"device_interview"}'
What program did you use to change the ieee for the zzh device? I am wanting to do the same as I have upgraded a new coordinator (uzg-01) and now wanting to use the zzh as a router.
ok, so after a few attempts the router finally connected and works now as intended.
@duceduc use the -i option from cc2538-bsl to set a secondary ieee address, i copied the primary address and changed the last digit. i've changed :CA to :CB at the end.
Hey. Thanks for the reply. That is what I did, but was hoping to use the programmer 2 for windows to change it since the router version is 2022xxx which should still work. Unfortunately, it did not want to write to the router.
I have a rpi4 running as a test unit and tried to installed the cc2538-bsl on it and that was asking the python should be run in a env environment which I did not know how to do.
Fortunately, I did not wipe clean my old windows 10 pc which had python3 installed with cc2538-bsl.
What happened?
Z2M crashes after pairing a zzh stick flashed with router Firmware, the router is not listed in Devices list despite getting a "pairing successfull" message before the crash
What did you expect to happen?
successfull pairing and no crash
How to reproduce it (minimal and precise)
Enable Pairing, press button on zzh, wait
Zigbee2MQTT version
1.41.0
Adapter firmware version
20240710
Adapter
Sonoff Zigbee 3.0
Setup
Homeassistant OS, addon, x86_64
Debug log