How to fix Zigbee Device-ID?
Posted: Sat Nov 22, 2025 9:16 am
by wifitier
Everytime i reflash my Zigbee node project onto my ESP32-H2 it is seen with a different Zigbee IEEE device-ID (dynamically created?) like "0x714dbdfffe65a69d". How can i set a fix ID so it is always seen as the same device?
Re: How to fix Zigbee Device-ID?
Posted: Mon Nov 24, 2025 7:41 am
by lichurbagan
You can set a fixed Zigbee IEEE address on the ESP32-H2. Call `esp_zb_set_long_address()` after `esp_zb_init()` and before joining. Pass an 8-byte little-endian address. This stops random IDs. API details are here:
https://docs.espressif.com/projects/esp ... e_nwk.html
For a permanent ID, use the Espressif manufacturing tool. It writes the IEEE address into the `zb_fct` partition. This survives reflashing. Production steps are here:
https://docs.espressif.com/projects/esp ... ction.html