-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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 ColorDimmableLight hue/sat #10669
Comments
Hi @ilker-aktuna, I will work on that soon to add a hue/sat support also. Thank you for the report. |
thanks for your fast response. What would be the fastest way to be informed when you add hue/sat support ? Also, there is another issue ; even if the device is paired with my hub , I believe the device stays in "pairing" mode. Whenever I try adding another zigbee device, I see the esp32c6 in pairing queue. How can I stop pairing ? |
I will keep you updated in this issue when there are updates on this. About the "pairing" I did not experienced anything like that. Can you please send more informations about this issue? The more info and logs the best :) |
ok. what logs can I get you ? |
What system are you using for the controlling the Zigbee devices? HomeAssistant? |
it is Hubitat |
I see, what is the model of the hubitat? |
@yuvashrikarunakaran May I ask you what is this code for? |
I removed the device and then re-paired with the Hubitat hub. I started pairing on Hubitat several times after the initial pairing process completed. As you will see in the summary log everytime Hubitat detected again the esp32c6 in pairing mode. This does not happen with any other zigbee devices that are already paired with Hubitat. I also noticed that the "controlling" part is not stable. Sometimes, Hubitat does not detect the state of the light (on or off) and can't send the command. |
should I try this code ? |
@ilker-aktuna No you don't have to, its not related. I am removing the comment. |
ok. you got my logs above ? |
From the Arduino log the device is never connected to the Zigbee network. What is the Hubibat hub model? |
I am currently using a Hubitat C7 |
Think you may need the |
Main thing is the log from the Arduino device. Your log says the device never joins the network.
Can you use the latest version? Use manual install of Arduino core and use the |
well if that's the case, then esp32c6 has a serious problem. Because I have more than 100 devices connected to my hub and they all work fine. A lot of different vendors. Also, the hub accepts the device as joined. And control it randomly. The issue is that EP does not accept itself as joined. I believe it is an implementation issue. How can we troubleshoot this ? |
Now I updated esp32 core to 3.1.0-RC3 |
the device does not understand that it has joined the network. |
@P-R-O-C-H-Y |
@ilker-aktuna Its in my backlog. It needs to be addition to the code in order to make it work with the hue/sat. |
@P-R-O-C-H-Y It lists 2 color modes: XY and HueSat. RGB seems to be an option but not the primary one. Do you have an estimation about when you can return to this subject ? Because Hubitat side doesn't really seem interested in RGB option as HueSat is primaryly supported by the specification. |
Hi @ilker-aktuna, sorry for this taking so long, but as you mentioned I have been working on adding more features to the Zigbee library over last weeks. I will get to work on it this week, so you may expect a PR soon. I will ping you there and will be happy if you will give it a try before merging it :) |
thanks for your work. I downloaded the new branch and will try it in a few minutes. |
@P-R-O-C-H-Y |
No it's still a Pull request. We will merge once it's tested from your side.
You don't need any special example for that. Just use the ColorDimmableLight example. Now it's supporting both XY/Hue+Sat colors. Please give it a try if you can control the color from your Hubitat. Thanks |
@P-R-O-C-H-Y |
@ilker-aktuna I see what I have missed, the hue/sat attributes were not added to the cluster. |
@P-R-O-C-H-Y |
I will update the PR anyway, so for me it would be better if you can pull the latest commit from the PR branch / or update the changed files manually (for sure will be both cpp and header file of the ColorDimmableLight endpoint). |
Once its ready I will ping you here :) |
@P-R-O-C-H-Y edit: nevermind new commit is not a change. |
@ilker-aktuna I have pushed the changes, which adds the HUE/SAT attributes and also updates the color capabilities to 9, which means both XY and HUE/SAT is supported by the device. Please give it a try :) |
@ilker-aktuna I have tested the step_hue and step_saturation commands in HomeAsisstant and it worked fine :) So the PR is ready to be merged. It should work on your end too now. |
Thanks. It works. As this is now merged into master, can I use the esp32 drivers from release ? I don't see 3.1.2 update on the IDE |
As this is now merged into master, can I use the esp32 drivers from release ? I don't see 3.1.2 update on the IDE |
The 3.1.2 should be there. I will check. If the release is not showing for sure you can use master branch now :) |
got it now. |
Related area
Zigbee , ZHA
Hardware specification
ESP32C6
Is your feature request related to a problem?
I am trying to implement and test zigbee features on a ESP32C6
ZigbeeColorDimmableLight example works partially.
On/off and level commands are working fine but when my Zigbee hub sends a color change it does not work.
When I debug the code, I see that R,G,B values are all 255
I guess my Zigbee hub (Hubitat) sends only Hue&Sat values.
But the examples do not include anything with hue and sat. How can I make the device receive HSL ?
Describe the solution you'd like
an example with HSL command.
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: