Open edmeme opened 5 months ago
Hello,
The issue appears to be triggered by an error short address.
In the ESP_ZB_COLOR_DIMM_LIGHT
example, which is a centralized router, the short address should not be 0x0000.
The indication of NWK Device Associated
suggests that it received an association request that should have been received by the coordinator rather than the router.
Firstly, you should confirm the remote device type. Is it a coordinator?
Secondly, you can check the joining process in a sniffer to determine what short address is assigned to the router by the coordinator.
Thirdly, what is the role of ESP Thread Border Router/ESP Gateway v1.2
in your project?
Thanks for the prompt answer!
I think that error could come from an improper initialization; I factory-resetted the device (calling esp_zb_factory_reset
) and now it will simply not find a network to join ("Network steering was not successful").
Unfortunately I don't have proper tools to test, I ordered tools to sniff traffic now and I will continue troubleshooting then.
The board has a Router role, I think that's usual in ZLL? I am not familiar with Zigbee, ZLL or HA, I am learning it now.
@edmeme ,
The compatibility of Zigbee economics is a contentious issue. We are unsure of the methods employed by devices like the IKEA Trådfri switch
to prevent unauthorized devices from joining their network, such as install codes, link keys, manufacturer codes, and so on. Therefore, a packet sniffer is necessary for us to investigate and address this issue.
@edmeme
Do you have any updates on this issue?
Answers checklist.
IDF version.
v5.3-dev-1724-ga5b261f699
esp-zigbee-lib version.
1.1.0
esp-zboss-lib version.
1.1.0
Espressif SoC revision.
ESP32-H2
What is the expected behavior?
Can connect a switch to the HA_color_dimmable_light example.
What is the actual behavior?
When a switch is connected (testing with an IKEA Trådfri switch) the example crashes
log.log stack.txt
Steps to reproduce.
System upgrade (archlinux)
# pacman -Suy
update IDF and the examples
cd esp-idf ; git pull ; git submodule update --init --recursive ; ./install.sh
git describe --tags
now reports v5.3-dev-1724-ga5b261f699cd esp-zigbee-sdk ; git pull
last commit isa5b261f699808efdacd287adbded5b718dffd14e
build and flash
plug-in my board (ESP Thread Border Router/ESP Gateway v1.2)
idf.py flash --port=/dev/ttyACM0
press 5 times the link button in my remote to pair.
The following line appears in the log
I (37373) ESP_ZB_COLOR_DIMM_LIGHT: ZDO signal: NWK Device Associated (0x12), status: ESP_OK
Then the crash happens.Full log and an attempt to identify all symbols in the stack trace are attached. log.log stack.txt
More Information.
No response