Open Xitro01 opened 2 years ago
When I follow the reproduction steps, the lamp turns off and on without glitches. This is the case when using the on/off button on the lamp and the on/off switch in Home Assistant. I also tried turning the light on by touching and holding the slider on the lamp. That also turned on the lamp without issues.
Since you mention that holding the brightness adjuster slows down things: do you have a high log level configured by any chance? That will result in many log messages, putting a burden on the normal operation of the lamp. That's the only route that I can think of where holding the slider would have impact.
When I follow the reproduction steps, the lamp turns off and on without glitches. This is the case when using the on/off button on the lamp and the on/off switch in Home Assistant. I also tried turning the light on by touching and holding the slider on the lamp. That also turned on the lamp without issues.
Since you mention that holding the brightness adjuster slows down things: do you have a high log level configured by any chance? That will result in many log messages, putting a burden on the normal operation of the lamp. That's the only route that I can think of where holding the slider would have impact.
I am using nothing more than your example configuration, so I do not have high log level configured. I have it on both of my lamps. See the video attached: https://user-images.githubusercontent.com/19844787/142441655-6e8301ac-3ac9-4783-b4fd-66148d3e8f51.mp4
That does look off indeed. I can't explain what it's doing there though. I have three lamps here, two production one development. I tested all three and they do a normal transitioning from off to on in color temperature mode. Can you check what happens when you set the transition time to 0s?
That does look off indeed. I can't explain what it's doing there though. I have three lamps here, two production one development. I tested all three and they do a normal transitioning from off to on in color temperature mode. Can you check what happens when you set the transition time to 0s?
Might sound a bit noobish, but I do not see transition time anywhere in the configuration files. How do you suggest to apply that?
It's documented in the packages/core.yaml
file, but no problem if you've missed that. It doesn't make you a noob.
What you can do, is add an extra substitution to your YAML file:
substitutions:
default_transition_length: 0s
It's documented in the
packages/core.yaml
file, but no problem if you've missed that. It doesn't make you a noob. What you can do, is add an extra substitution to your YAML file:substitutions: default_transition_length: 0s
Totally missed that, changed it to 0s. Seems to be partially solved. It still first flashes lightblue, but it's going so fast that you hardly see it. So it's definitely still there!
EDIT: I found out something interesting. It only happens when the colortemp is fully white. So hereby my new reproduction steps:
Yes, that helps. I do see a slightly blue phase when turning on the light. I am not sure if I can fix that cleanly. The lamp is very picky in the low level brightnesses.
Maybe I can skip part of the brightness increase, or maybe it's cleaner to start at a warmer tint for the low levels.
Happy to test both! Let me know when you have the time, no rush.
Sure thing. I now have seen it, so now I can't leave it as-is 😄 Got a few things in queue, but I'll definitely will work on a fix.
Sure thing. I now have seen it, so now I can't leave it as-is 😄 Got a few things in queue, but I'll definitely will work on a fix.
Haha, I understand. I also have a little bit of OCD where everything has to work perfectly.
Yesterday evening I started my two hourly adventure of flashing my bslamp2's. I'm quite happy with the results, so great job on this custom firmware! It offers me a lot of customizability which I yet have to discover how everything works.
Describe the bug The only thing that bothers me slightly is when you are using colortemp mode and you turn the lamp on it will first flash lightblue for half a second and even longer when you hold the brightness adjuster.
To Reproduce Steps to reproduce the behavior:
Expected behavior When you turn on your lamp in colortemp mode you expect it to go into the last color straight away, if that's not possible then just make a small delay where the lamp turns on a little bit later.