I very nearly did that until I sat down for hours to figure out the long press.
My double clicks are generally used for shut down away or bedtime scripts now. Might have a play with them to so they toggle between “morning” and “night time” scripts and scenes.
If anyone else is as dim[1] as me, the code is revealed when you click the right arrow/triangles in the first post, on the left of “Input Boolean” etc.
I am. You can achieve a warmer white. I will share a video of my bed side lamps with are warmer. Not as warm as a Hue or a traditional halogen though but I feel they are acceptable. I prefer the white cold lighting in the hallways, just makes seeing thing easier!
I’ve made a mistake somewhere that I am trying to work out but shouldn’t the second script be?
script:
brighten_light_landing:
instead of
Or are they both meant to be called dim_light_landing ?
And thank you very much for posting this, it’s too big for me to hold in my head all at once and I never would have been able to do this on my own. Much appreciated.
I have tried the method with LimitlessLED component, but it doesn’t seem to be working. I can see the brightness increasing and then decreasing from the frontend. But the limitlessLED component is not fast enough. It’s sending commands every half a second or so (from the looks of it). Then the light gradually dims or brightens. I’ve looked into the limitlessled.py component code, but weren’t able to find anything related to repetitions or delays.
Is there any firmware out there that lets you flash the bulb to connect directly to WiFi? Do the bulbs communicate with the gateway/remote via WiFi?
Just had a look at the product page and interested to see GU10’s I need a RGB GU10 solution for my kitchen and AILight only compatible with E27 Screw bulbs at the moment.
the communication is handled over a server hub device, I am using the v3 version of the hub. The current version is 6, it might have a better chance with the dimming scripts/system. I am not sure.
I also have the limitlessled component on homebridge. In that package the delay and repetition can be entered in the configuration. That same functionality if it were available here in homeassistant too, might do the trick. As before just speculating here.
I have v4 limitlessled and haven’t been able to get this working either, I assumed I’d made a mistake in copying the code somewhere, thanks for posting that @sendorm
I also have lifx and xiaomi philips bulbs so might give it a shot with those instead. I was just trying to get it working on one bulb first before mass replicating.
Not all smart bulbs are as good at handling a steam of brightness change requests,
I just received a colour yeelight yesterday from China, and I found it was not as responsive to successive brightness changes as my hue bulbs.
Hi, I’m very new with home assistant, and I’m very confused with the syntax, on one side you need to make a Jason template you use the configuration tools how ever, you use yaml on the configuration and not everything is supported through the configuration assistant.
Anyways, I want to use your script, and I can’t find a way to make work beacuse I don’t know how to translate it to the new “automation”, “script” files syntax.
any help how to will be appreciated.
also, I want to add that I have some simple automation working turning on and off light
Note: running Home Assistant v0.57.3 Docker Container on Synology NAS