Hi folks,
Simply love HASSIO. Am new here. Thanks to all for their awesome contributions.
I have a simple scenario I am stumped by in NR…
I’m running Philips Hue lights, motion and light sensors.
I would like a simple flow which allows for
time of day criteria (outputs on or off)
Lux detection (outputs numerical, can change to on as needed)
motion detection (outputs on or off)
Essentially- after a certain time AND there’s motion AND there is darkness then send on.
With a trigger timer and no motion, send off. The Bool node doesnt send anything other than on I think.
My flow as it stands now
my switch nodes inject topics (input1, 2 and 3), was hoping to preserve the msg.paylod by excluding it in the change node…
The AND gate is below:
This triggers my lights to turn_on with the conditions below, but doesn’t ever trigger the off sequence as the output of the AND bool only sends on, never off.
I’m sure sure there are much more elegant ways of doing this.
I’ve explored joins, splits, functions, etc… But have ended up with a complicated mess.
My environment:
HA 0.94.3
arch aarch64
RPi 3+
Have a small number of integrations and modified LoveLace interfaces - all works a treat…
Any forehead-slappingingly simple suggestions?