Light notification by color

Hi,

I want to use the Thirdreality Night Light as color notification.

For example.

The Aqara Smart lock is open = RED
Garage contact sensor open = Orange
Raining sensor wet = Blue
Is dark lumens = white or yellow depending on time.

Not sure if this is even possible.

Let say is dark, the Smart lock is open and garage door is open. I would like for the Garage door to have priority.

If, I close the garage door the Light turn Off, wont stay On in RED for the Smart lock open.
So in this case it should technically go to RED and then if the Light was ON because of movement in the dark white after the lock is closed.

Anyone have a similar setup working?

Thanks!

Should not be a problaem (I presume you already have the nightlight controlled by homey?)

It mainly figuring out the correct logic (make a good decision table before you start building the flow.

Yes, I got the Zigbee nightlight version and so far is working great.
(Another topic but I tried the Matter one before and was disconnecting from Aqara M3 and Apple TV 4k hub.) that why I got the zigbee version.

Alway forget about the logic and variables sometimes it takes me a while to understand them, I would thinker some more and see how far I can get. I post a photo of the advance flow If I get stuck.

I been playing some with the flow but cant get the logic with the specific color to work.
I tried:

Is exactly …
Is not exactly…

does not contain…
contain…
ffae00 = Red
ff0000 = Orange

I guess I have to change it to if the contact sensor is open instead of the Logic for color.

That was the only way I got the if the Garage door is open, smart lock open working.
Sorry for the messy flow

When you follow this link, and enter the device name in the search bar on top, @ the “Capabilities” part you can view the values you need as used by the device:
https://tools.developer.homey.app/tools/devices

Hi,

o wow this is super cool.

I noticed the values format are different than the one from the Flow card THEN.. that let you choose a color.

In the flow Card THEN Red = ffae00, on the device page I see the Light Hue 0 and the Color Saturation 1

For the Orange flow card Then = ff0000, Device page Light Hue = 0.11, Color Saturation 1

Not sure how those number would be input in the Logic Card - Color contain (0 - 0.11)
or the Logic Color Saturation is exactly (0,1 - 0.11,1)

Would try to play with this tomorrow or the following date.

I report back.

Thanks!

This is for RED