Color-changing LIFX bulb automation with Hubitat Elevation
Вставка
- Опубліковано 16 лис 2024
- Today we take a look at LIFX bulbs and dive into Rule Machine to automate the bulbs to alternate colors as part of our Holiday Lights.
Hubitat Elevation: hubitat.com/pr...
LIFX bulb: amzn.to/30G6ugY
Thank you for walking through all these rules and why, this really helps a lot when you go through the rule and explain your thinking. This gave me a bunch of other ideas for other lights in my house
Finally! I've been using a 3rd party app to control mine for a few years, thank you :D
I want to put 3-4 dozen color changing bulbs in outside hallways on a condominium. Adding WiFi across this vast area is expensive. Do any of these bulbs respond to power line commands so controller can attach to breaker box reducing cost significantly. As an engineer, working with line voltage is fine.
You read my mind. I was trying to figure this out!
Just wondering if anyone is having issues with the lights turning off with the Until command? Here is my rule...
On: Driveway Right, Driveway Left, Front Porch
Repeat every 0:02:00
Set color: Driveway Right, Front Porch ->Red ->Level: 100
Set color: Driveway Left ->Green ->Level: 100
Wait for event: --> timeout: 0:01:00
Set color: Driveway Right, Front Porch ->Green ->Level: 100
Set color: Driveway Left ->Red ->Level: 100
Until (Time is Sunrise(7:17 AM)(F) [FALSE])
Off: Driveway Right, Driveway Left, Front Porch
Seems sometimes the 'Until' action works, sometimes it doesn't. But thanks for the help on this, gave me tons of ideas.
Try something like this instead. The issue may be that the routine sometimes does not make it back to "Until" until after the minute specified has past.
On: Front Porch Switch
Repeat every 0:02:00 (stoppable)
Set color: Driveway Sconce Left ->Red ->Level: 100
Set color: Front Porch Light, Driveway Sconce Right ->Green ->Level: 100
Wait for event: --> timeout: 0:01:00
Set color: Driveway Sconce Left ->Green ->Level: 100
Set color: Front Porch Light, Driveway Sconce Right ->Red ->Level: 100
Until (Time between 11:55 PM and 11:58 PM(T) [TRUE])
Stop Repeating Actions
Off: Front Porch Light, Driveway Sconce Left, Driveway Sconce Right
END-REP
@@johnkathylee I know this was a year ago, but I am just now trying this out... seems like it will work better than last year. Will let you know!
The built in app isn't finding all of my Lifx lights. What can I do?
Any way to do it as a fade vs a flick?
The root cause is because at evaluation time of the UNTIL ( ) , it is quite possible that the time specified in the rule is not exactly the same as in the HE. Using a time between is probably the best thing to do with HE. So if at evaluation time, the UNTIL condition is a bit after the time specified- it will still evaluate the condition as TRUE and terminate the loop. The way the rule is defined in this video is wrong !