2025-11-28 1:08 AM
Hello,
I am working on a Zigbee project for my school and i have never worked with any form of wireless communication. I managed to flash the Zigbee_OnOff_Server_Coord application on my nucleo board and the Zigbee_OnOff_Client_Router on my USB dongle. And when i click on the dongle button the led on the nucleo toggles, that alone works just fine.
But for my project i need to connect an Aqara Door and Window Sensor to my P-NUCLEO-WB55. When i click on the "pairing" button on my sensor even tho i am able to connect it with the nucleo i have no idea on what to do after that, because when i toggle the door sensor state (manually open/close the sensor) nothing appears on the terminal.
I have done some tests with the door sensor and the aqara HUB and the sensor works fine so we can get that out the way.
Thanks in advance,
Churin Mateo
2025-12-08 7:40 AM
Hello Mateo,
i am not sure what kind of zigbee cluster is on the Aqara Door and Window Sensor, but I guess it could be potentially be OnOff_Server or OnOff_Client . In that case you would probably want to edit the coordinator project so it will contain appropriate cluster so you would create this server/ client pair and then you will want to create binding between the two clusters. You can find some info about binding here.
For getting info what kind of cluster are available on the devices you might want use ZbZdoSimpleDescReq which can be used to query the simple descriptor of a remote device. It may also be useful to use ZbZdoActiveEpReq to discover a remote node’s endpoints first.
For debugging the zigbee communication you will possible also find helpful to use your dongle as 802.15.4 sniffer to see what is happening on your network. You can find how to make it work here.
Let me know how have you proceed and I will gladly try to help you further.