ESP32-C6 zigbee dimmable light with range extender (router) function #11028
MikaFromTheRoof
started this conversation in
Question - Community Help
Replies: 1 comment 3 replies
-
Hi @hansfriedringelpuetz, the "rangeExtender" endpoint is there mostly for uses cases, where no other endpoint is needed (wanted). You have 3 roles which can be used and start Zigbee with: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone,
I tried to create a zigbee device with my DFRobot Beetle ESP32-C6 board, that features two endpoints: one for a dimmable light function and one for the range extender (router) function. I am using version 3.2.0-RC1 (I believe 3.1.3 doesn't have router functionality, right?)
You can find my code below. It's mostly these two examples combined: Zigbee_Dimmable_Light and Zigbee_Range_Extender. I use the ESP32 PWM dimming, because it has a higher resolution, thus it was easier to do some gamma correction (brightness changes look more linear to the human eye).
I uploaded the code to my board and then added it to my Home Assistant via Zigbee2MQTT. When I do this with the device featuring only one zigbee endpoint, it always works just fine. But when my device uses both zigbee endpoints (light and router) it sometimes works and sometimes not. Not working means, that I can add it to Zigbee2MQTT, but it wont react to any commands like switching the LED on or off.
I am quite new to ESP32 with Zigbee so I would like to ask you more experienced folks, if you might have an idea, why my device isn't working properly with two zigbee endpoints. Did I do it right in my code with combining the two endpoints or should I change something? Might the problem be located somewhere else? Maybe Zigbee2MQTT can't handle those selfmade zigbee devices correctly?
Thanks for your help!!
Here comes the code:
Beta Was this translation helpful? Give feedback.
All reactions