-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zigbee coordinator working with any zigbee device (TZ-1186) #442
Comments
If you are trying to create a gateway, you could use |
Thank you the example was helpful. I had to erase the flash to get it working. But I don't know how to get the attribute reporting working on it? I have setup an action handler using When I run the example with my Zigbee end device (it is working as it has been tested with a dongle) everything looks okay but nothing gets reported and I'm left with this message |
@Daniel-Craciun If the sensor has reportable attribute, you can configure attribute reporting with |
Thank you. Would I call this function in the coordinator or the end device? Also could I have an example snippet code to show how could I use this function as I feel that the Zigbee documentation is not very clear for me :) |
In addition I'm also trying to connect to end devices with multiple endpoints if that has any effect? |
same issue, created new thread on [https://github.com//issues/444] |
I've managed in the past to get an end device to report to a custom coordinator, where the coordinator does not need to constantly send read commands to the end device. I made it using the temperature/thermostat example (which instead of using temperature clusters I used analog input clusters which worked fine) but when I added multiple endpoints to the end device, only the first endpoint was able to work with the coordinator i.e the coordinator successfully picked up the report commands but only from the first end point. However the rest of the endpoints didn't work. It's almost like the coordinator can't bind to the other endpoints?? Am I missing something here? the documentation for zigbee-sdk is not very clear in my opinion for me. |
Hello everyone, I've finally managed to get multiple endpoints working in zigbee, my solution has been posted on this issue here #407. Hope this is helpful for anyone :) |
@Daniel-Craciun can I suggest that you also check out Tasmota's sub-project called Zigbee2Tasmota (Z2T) here for reference, even though it is currently only comptible with Silicon Labs and Texas Instruments Zigbee Coordinator it might give you ideas: Perhaps also check out the zha (and zigpy) project which can now indirectly use a ESP32-H2 Zigbee Coordinator via zigpy-espzb: |
Hello, sorry for the slow reply! Thank you for the links. I have solved my problem for me. What I did is I adapted an exisiting Zigbee coordinator example (I used the thermostat example) and I just listed after the line of code, which defined that the coordinator will listen for temperature measurements, all the standard ZCL clusters which worked for me :). Thank you everyone for your help again. Helpful as always! |
Question
Hello,
I'm trying to create a Zigbee coordinator which will connect to my custom made Zigbee devices and hopefully any other valid Zigbee device on the market. I've noticed in the examples given on the esp-zigbee-sdk, that all the coordinators define the endpoints/clusters they will 'listen' for (act as a client role for). However I don't want this behaviour but instead I want my coordinator to connect to any Zigbee device, without needing me to define which clusters I will 'listen' for.
Any thoughts on this if it's possible?
Many thanks!
Additional context.
No response
The text was updated successfully, but these errors were encountered: