Wyze Bulb - issues setting color temp? #239
-
I'm pretty techy, but I'm new to Home Assistant, so I could just be missing something. I configured Home Assistant OS (v4.20; newer has issues) on an old PC, and I was able to get Home Assistant to recognize my 8 Wyze Bulbs (not the RGB ones). However, I cannot automate color temperature. I can manually control it with the sliders in the app, but my only automation actions available are: "turn off", "turn on", "toggle", "increase brightness", and "decrease brightness". Do changes to color temp need to be implemented a different way (e.g. a .yaml file), or is this a bug? I'm also finding that changes to color/brightness for my group lights rarely succeed on all 8 - I usually have to fidget with the slider a few more times to get all the lights to change. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hmm. I don't think I have ever set color temp automatically but there should be an option in the light turn on service to set the color temp. I believe it is through some optional data. I would recommend looking at home assistant documentation for that piece. On the issue setting it for a group of lights I replied to your issue so please take a look at that response for my best guess of what is happening |
Beta Was this translation helpful? Give feedback.
-
Thanks! I realized I had a fundamental misunderstanding of how scripting works - I thought changing brightness or color would be a separate service from just turning the lights on. I got it working. |
Beta Was this translation helpful? Give feedback.
-
Hmm this might be a bug in the integration. Worth investigation. I will check on it tomorrow
…Sent from my iPhone
On Sep 4, 2021, at 11:04 PM, reidprichard ***@***.***> wrote:
I'm clearly just getting the hang of GitHub as well - thanks for your patience, and feel free to let me know if I post something in the wrong place, not following convention, etc.
Semi-related to my bug report, I am creating a custom Python service to change the color/brightness of any lights that previously failed to update. I accomplish this by comparing the current brightness/color to the desired for each light, then only updating the bad ones.
I'm seeing strange behavior with the color temp, which is breaking my script. The color temp reported by the light doesn't quite match the value I set. For example, firing light.turn_on with color_temp = 200 results in the device reporting a value of 214. Similarly, 300 results in 338, and 400 results in 461. In addition to messing up my script, this also makes it difficult to set the lights to the warmest or coldest temps. They report min and max mireds of 153 and 500, but setting color to anything close to either value doesn't do anything (because a commanded value of 500 results in an actual value out of range).
Am I doing something wrong, or is this a known issue with Wyze?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
This has been corrected. |
Beta Was this translation helpful? Give feedback.
Hmm. I don't think I have ever set color temp automatically but there should be an option in the light turn on service to set the color temp. I believe it is through some optional data. I would recommend looking at home assistant documentation for that piece.
On the issue setting it for a group of lights I replied to your issue so please take a look at that response for my best guess of what is happening