12-14-2021, 11:36 PM
I need help with some basic IFTTT commands, for example, if I have an alarm condition I want to turn on lights at night, but not during the day:
DI #1 = IR beam perimeter sensor
AI #1= Light meter (<1.0V = night time, >= 1.0V = daytime)
IFTTT:
Number 1: If DI #1 EdgeP,
Then: Relay #1 OPEN (turn on alarm light)
Relay #2 OPEN (send notification)
Number 2: IF DI #1 Edge P and AI #1 < 1.0
Then: Relay #3 OPEN (turn on outdoor lights)
===== This does not work, only Number 1 is executed. If I trigger the IR beam again then Number 2 is executed. But that is not real life (I can’t ask intruder to break beam again !!).
(I also tried putting the Relay #3 OPEN command in Number 1 and set up a new Number 2 command to CLOSE Relay #3 if daytime, but that doesn’t work either.
Any suggestions?
Can you share any detailed IFTTT examples?
DI #1 = IR beam perimeter sensor
AI #1= Light meter (<1.0V = night time, >= 1.0V = daytime)
IFTTT:
Number 1: If DI #1 EdgeP,
Then: Relay #1 OPEN (turn on alarm light)
Relay #2 OPEN (send notification)
Number 2: IF DI #1 Edge P and AI #1 < 1.0
Then: Relay #3 OPEN (turn on outdoor lights)
===== This does not work, only Number 1 is executed. If I trigger the IR beam again then Number 2 is executed. But that is not real life (I can’t ask intruder to break beam again !!).
(I also tried putting the Relay #3 OPEN command in Number 1 and set up a new Number 2 command to CLOSE Relay #3 if daytime, but that doesn’t work either.
Any suggestions?
Can you share any detailed IFTTT examples?