-
Notifications
You must be signed in to change notification settings - Fork 37
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
Light doesn't respect manual change #123
Comments
Well, if I set it to What I want is to have a configuration where:
Is this not possible? |
Seems to be some sort of duplicate of #70 and #62. My debug log shows the light being stuck in initialization:
|
The issue appears to be when setting color temperature values lower than what the light "actually" supports. If I change the CCT of the current time slot to something like 4200, it works fine:
It would appear to me that this light is simply misbehaving / misreporting its actual Kelvin range. If I bump the lower kelvin numbers to 2280 (experimentally determined), initialization succeeds. |
For what it's worth, I tried updating the software firmware version. It now reports:
But the exact same issue persists. It seems that this is a Hue bug with the new Tento Ambient White panels. |
Now everything works: diff --git a/huelight.go b/huelight.go
index c20609a..d9be6e9 100644
--- a/huelight.go
+++ b/huelight.go
@@ -63,7 +63,9 @@ func (light *HueLight) initialize(attr hue.LightAttributes) {
light.SupportsXYColor = containsString(lightsSupportingXYColor, attr.Type)
// set minimum color temperature depending on type
- if attr.Type == "Color temperature light" {
+ if attr.ModelId == "929003823401" {
+ light.MinimumColorTemperature = 2280
+ } else if attr.Type == "Color temperature light" {
light.MinimumColorTemperature = 2200
} else if light.SupportsXYColor {
light.MinimumColorTemperature = 1000 I don't know what to do about this. Do I have a faulty light? Or are the new Tento panels just a pile of 💩 ? |
When I try changing the bulb manually, either in the Hue app or with a dimmer switch, nothing happens and Kelvin immediately overrides the bulb state.
Log
If I attempt manually changing the bulb brightness now, I don't see anything in the logs. Nor do I see anything when I attempt manually changing the scene to something other than "Natural (Kelvin)", such as "Night Light".
Here is what happens if I power cycle the light now:
Config
The text was updated successfully, but these errors were encountered: