After some trial and error, I finally got my Yeelight color bulb setup working perfectly for arming status notifications! Let me share my experience in case anyone else is looking to do something similar.
I wanted to use my Yeelight bulb to notify me of the status of my home security system. Specifically, I wanted the bulb to change color based on whether the system was armed (away or night mode), disarmed, or if there was an alert. The bulb is also connected to a Lutron switch, which adds another layer of control, so I had to make sure the automation wouldn’t interfere with the manual switch functionality.
Here’s what I did:
-
Rule Setup: I created separate rules for each arming status in the rule manager. For example:
- When the system arms away, the bulb turns green.
- When the system arms night mode, the bulb turns purple.
- If an alert is triggered, the bulb turns red.
-
Color Transitions: I added a short delay between turning the bulb on and changing the color. This ensures the bulb has time to fully turn on before the color change happens. After a few seconds, I set the bulb to return to its default soft white color and then turn off. This prevents the bulb from staying on unnecessarily.
-
Testing: Initially, I was having issues with the color not changing. I realized I needed to make sure the bulb was fully on before sending the color change command. Once I added the delay, everything worked like a charm!
-
Integration with Lutron Switch: The Lutron switch works seamlessly with the automation. Manual switching doesn’t interfere with the bulb’s automated color changes, and vice versa.
It’s such a neat setup! Now, I can easily glance at the bulb to check the status of my security system without having to pull out my phone. Plus, it adds a nice visual alert if something goes wrong.
If anyone else is looking to do something similar, I highly recommend starting with simple rules and testing each part of the automation separately before combining them. Happy automating! ![]()