and allow Home Assistant to talk to the hardware controller Hue Bridge. For example, a product by Philips called Hue would use the Philips Hue integration Integrations connect and integrate Home Assistant with your devices, services, and more. Integrations are pieces of software that allow Home Assistant to connect to other software and platforms. This should end up working the same as your old automation with the only difference being how it does the looping.īlueprint ( homeassistant/blueprints/mdolnik/color_loop_xy.Now you’re in Home Assistant, let’s look at the most important concepts. I made a quick alteration of my script to use the XY colors of your script. I doubt is this your issue as I assume that HA converts the named colors to RGB/HSL/XY before sending the command (your logs seem to back this up). If you manually add an unsupported color (eg Qwerty) it ends up being white because it doesn’t know what to do with it. The current in-between colors update roughly once a second and tend to kind of jump all over the place, but in general:Īlso, if the previous “GOOD COLORS” script did not work for you, it may also be possible that some of the named colors are not supported by your bulb? I’m not sure if all lights can do this, but if you change the transition time to something longer (eg 10 secs) you can see the live current colors in between the chosen colors if you inspect the current light in the UI while the script is running. On my light there is a huge difference in the transition where the “GOOD” one is smooth and the “BAD” one seems to brighten (or go white) between each color. So I did a quick test, try adding both of these scripts to your setup: color_loop_lightstrip_good_colors:īoth of these scripts use the exact same list of colors, but Color Loop GOOD COLORS sets the colors in order of “following the outside of the color wheel” and Color Loop BAD COLORS will have each color on the opposite side of the previous color. Hmmm, not sure why that would be occurring, I tried mine with one second transition and the same list of colors and I’m only sort of get that occurring when the color change is drastic (eg Blue to Orange) which I assume is because, looking at a color wheel, the colors in between would be going directly across the center of the color wheel and white is in the center (I could be way off though). It seems to insert full white ever other transition for some reason. I also took z2m output to see how the colors change (the double entries are caused by having the availability and/or last_seen enabled in z2m options - that is not the issue): This is with 1s delay as I wanted to recreate what I already have and adjust from there. I took a video, it’s not super clear as the phone tries to correct the colors all the time, but you can see it’s not smooth with the flashes of white. The light I’m using it on is a philips lightstrip. Hi I tried to recreate my blueprint with yours (as I was unable to change it to anything but 1second delay), but it seems to insert full white ever other transition for some reason.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |