-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Comment: Determining Bulb Kind #77
Comments
I'm not aware of detection of the bulb type by this property. Overall the bulb type (feature set) can be detected by the bulb name (TW = Tuneable White, DW = Dimmable etc.). |
Yes. Basically the only bit of new information that is provided is the size/shape of the bulb. A21/A19 or BR30, E14, etc... |
... should be noted I have a .NET version of this library. Originally, in the beginning, I translated some of your code, but I have since organized it all in a very .NET way. |
|
This would be good to implement into the bulb type so we can improve how discovery is displayed in Home Assistant |
WiZ Lutec Connected Smart LED Up/Down Outdoor Wall Light This also identifies as a 20,1 |
So |
In the previous versions of the firmware, there used to be an integer array returned with getSystemConfig called 'drvConf'.
Using those two numbers I figured out that it was possible to get the 'type' of the bulb pretty consistently with some experimentation.
In the latest version they took drvConf away, bot those two numbers are instead now found in getModelConfig, the values 'wcr' and 'nowc' are actually the two numbers from drvConf.
So, I've come up with a list so far, and I'd appreciate any feedback you have on this matter.
{ (wcr, nowc) or drvConf: [1,2], "Bulb Kind" }
{ (37, 1), "Philips Color & Tunable-White BR30" },
{ (50, 1), "Philips Color & Tunable-White BR30" },
{ (33, 1), "Philips Color & Tunable-White A19" },
{ (60, 1), "Philips Color & Tunable-White A19" },
{ (20, 2), "Philips Color & Tunable-White A21" },
{ (40, 1), "Philips Color & Tunable-White E14 Candelabra" }
I have about 20 different bulbs in my house. But I would love to know if these match up with what you have?
The text was updated successfully, but these errors were encountered: