How to fix Zigbee Device-ID?

wifitier
Posts: 4
Joined: Fri Oct 19, 2018 9:18 am

How to fix Zigbee Device-ID?

Postby wifitier » Sat Nov 22, 2025 9:16 am

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?

lichurbagan
Posts: 59
Joined: Thu Nov 13, 2025 3:20 pm

Re: How to fix Zigbee Device-ID?

Postby lichurbagan » Mon Nov 24, 2025 7:41 am

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

Who is online

Users browsing this forum: ChatGPT-User, Qwantbot and 7 guests