Zigbee: how to get correct endpoint number and short adress #11910
CLE93
started this conversation in
Question - Community Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For my current project, I want to connect several end devices to a coordinator. The coordinator should receive commands from one end device and control the other end devices as needed. Its also my first project where I am using Zigbee.
In my current test setup (to get started with Zigbee), I have an ESP32-H2 DevkitM-1 which acts as the coordinator with one endpoint (switch), and another ESP32-H2 DevkitM-1 which is an end device. On that end device there are three endpoints: two dimmable lights and one flow sensor. After connecting the end device to the coordinator, and binding the endpoints to the coordinator endpoint switch, the coordinator outputs the connected endpoints and their addresses. However, this is not working as intended:
the coordinator ouputs only one endpoint
After restarting the coordinator, it ouputs three endpoints (as expected), but with incorrect endpoint numbers (correct would be 100, 101 and 102) and adresses:
→My first question is, how can this error occur, and how can it be avoided?
→My second question: Is there a way to output the connected devices and endpoints as well as their short addresses on the coordinator? I need this information to be able to control the endpoints specifically.
I also connected this end device to a Sonoss USB3.0 Zigbee Dongle (connected to a computer running zigbee2mqtt)... on the frontend I can see the connected endpoints and their correct numbers.
Any help would be highly appreciated :)
code for coordinator:
code for end device:
Beta Was this translation helpful? Give feedback.
All reactions