-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Missing support for new Bluetooth (Gen4) lights #58
Comments
There is, and it is implemented on the development branch along with a bunch of other changes. You can look at #57 for more detail, TL;DR:
I would be especially interested in feedback on the color conversion. Maybe it needs to be rolled back to only affect XY and leave brightness alone. |
@EmilyBjoerk Can you confirm that the development branch is working for you? |
@enwi I'm using my fork that I've locked at an older commit with some of my fixes on. I don't currently have the time to rework my code to work with the breaking changes in the development branch. So unfortunately I haven't tested and will unlikely have the time to test. (I've applied a fix to my local fork for the light that I needed already). |
Okay then I will close this issue. |
I got a new Hue light yesterday with bluetooth support (gen4) with the identifier
LTA001
. This caused hueplusplus to crash on enumerating the lights with:This is caused by the string "LTA001" missing from the check here:
hueplusplus/hueplusplus/Hue.cpp
Line 277 in 83d4883
Presumably there are other new lights that are also missing that I don't know of.
In general I believe that the approach of enumerating all product IDs here to determine their capabilities is going to cause this class on sins of omission to continue appearing as new products are created by Philips. Is there no way to query the lights to get their capabilities from the API so that a hard coded list like this isn't needed?
The text was updated successfully, but these errors were encountered: