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
[Device Support Request] Philips Hue Power Cycle Attribute #399
Comments
does the 2nd one support this? It doesn't have the Philips cluster... |
nvm. |
I see that a merge has been completed to support this! Amazing work! Thanks so much. Regards Kurt |
I wonder if you would be able to assist me in setting this cluster value in Home Assistant. I seem to be unable to set it to anything. I have tried PowerOnState.Off, 0x00, Off, 00 and 0 and none of them seem to work. Do you perhaps know how I would be able to do it? When I had added it myself (not through device handlers) I could use 0x00 successfully. Hopefully you can provide some assistance. Regards Kurt |
@kurtwarwick-new Just wondering, did you find a way to set these values and have them work? |
I have not been able to get this to work. Until I find out, I have been altering the zigpy file containing this cluster which allows me to change the values using 0x00, 0x01 and 0xff. Trying those values with this particular fix doesn't seem to do anything, and trying "Off" or "PowerOnState.Off" result in errors: So I am not sure how to actually set those attribute values 😞 Kurt |
Thanks, I will try that later! I'm not sure this is related to the issue, but if I "get" the current value from power_on_state (0x4003)/PhilipsOnOffCluster (0x0006), it always returns "None". Regardless if I set it to 0 or 0x00 previously. (Perhaps it's not setting the attribute correctly?) Also not sure if this is helpful or even has anything do with it, but it seems like that the Hue Bridge doesn't handle this as a "manufacturer attribute" (but the code in https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/philips/__init__.py#L60 defines it as such?) @dmulcahey Should I create a new issue for this or is there anything else that would point to an error on my side(?) |
@kurtwarwick-new Just wanted to let you know, I created an issue for this now: #461 |
Seems like this needs to be moved to attributes. Let me get an example... |
@TheJulianJES Try replacing the implementation with this: https://github.com/zigpy/zha-device-handlers/blob/911c188b57079401c3c57066536ec08fcf4ea4e8/zhaquirks/philips/__init__.py @Adminiuga looks like philips may not like getting the manufacturer code sent with their custom attributes. Why don’t any of these companies do things correctly... |
You may need to remove the 0x403 Astrid from the manufacturer specific attrs so it doesn't send the code. |
Yep that’s what I suggested above |
Yep, that works! Thanks. |
Hi
It would be great to have the Philips Hue Power Cycle attribute added. This allows for the bulb to remain powered on, off or set to previous settings when powered on.
The vendor attribute is
0x4003
and falls part of the0x0006
(on_off) cluster. The possible values (enum8) areThe device signature for the ambient color bulb is as follows:
The device signature for the dimmable white bulb is as follows:
I hope this is all that is needed to implement this. Please let me know if there anything you need.
Thanks.
Kurt
The text was updated successfully, but these errors were encountered: