Hue motion sensors and Alexa routines

QUESTION

Hello, fellow home automation enthusiasts! I've got a question that hopefully someone out there may be able to answer when it comes to some Philips Hue tasks.

My current project is working on a Hue lighting routine for nighttime. The lay of the land is that there's a Hue motion sensor fixed on the wall above my staircase. When I'm going downstairs at night, the sensor tells the light at the bottom of the stairs (I've named the "landing light") to turn on at 10% brightness. So far, so good. Easy enough. (Side note, that landing light is only used for this sole lighting routine and is not used in daily life otherwise - why that's important comes into play in a minute.) The next thing I'd like to have that same routine do is light up the kitchen at 10% brightness as well.

NOW - there are two ways I understand I can do this.

  1. Create a zone in the Hue app and run the routine in that zone (including the landing light and the kitchen). Just control that zone, simple enough.

  2. Create a routine within Alexa that acts in tandem with the routine in the Hue app. The Alexa routine would just turn on the kitchen lights at the desired brightness, and then shut them off after a predetermined amount of time. I've got that one in the bag.

Here's where the problem arises and what I can't figure out. Let's say I'm already in the kitchen with the lights on at 100% because I'm doing something and someone else comes down the stairs. The routine overrides the current state of the bulbs and dims them to 10% which is not wanted at that time. The landing light is doing the same as desired. Basically I'm looking for a routine, an IFTT skill... anything that will let me say "IF the kitchen lights are already ON, then do nothing. If they are OFF, then run routine x."

Ultimately I know I can just get another Hue sensor and set it up in the kitchen to just run the desired routine, but if I can be savvy and save myself the $40 I'd rather have a little fun with it.

​

TLDR; Looking for a skill that will let me inject two IF/THEN statements into a Hue motion routine.

Posted Apr 12, 2020, 2:16 PM UTC

11
DavidAg02•

Invest in a true home automation hub like Smartthings, Hubitat or Home Assistant, if you want to be able to more complex automation like this. Would be a piece of cake for any of those.

2
LO661•

If you don't want the landing lights to be conditional at all then use Alexa for those, after you've used the Hue labs "do not disturb my scene" formula for the kitchen :)

1