Smart Home Automation Forum

Full Version: Basic IFTTT commands
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
(12-14-2021, 11:36 PM)James Alabama Wrote: [ -> ]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?

Number2: you can just set IF command   AI #1 <1.0  THEN  open Relay #3, Check to see if it works.
: good morning
I have problems with ifttt, no command works for me, my colb is connected to a kc868 h8
it is urgent to solve it
(12-15-2021, 01:29 AM)KinCony Support Wrote: [ -> ]
(12-14-2021, 11:36 PM)James Alabama Wrote: [ -> ]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?

Number2: you can just set IF command   AI #1 <1.0  THEN  open Relay #3, Check to see if it works.
After I changed my digital input time from 0.1 to 0.2 seconds, it fixed all my IFTTT problems.  Please check this.
James

(03-23-2022, 03:16 PM)edkill Wrote: [ -> ]: good morning
I have problems with ifttt, no command works for me, my colb is connected to a kc868 h8
it is urgent to solve it

After I changed my digital input time from 0.1 to 0.2 seconds, it fixed all my IFTTT problems.  Please check this.

James
(03-23-2022, 03:16 PM)edkill Wrote: [ -> ]: good morning
I have problems with ifttt, no command works for me, my colb is connected to a kc868 h8
it is urgent to solve it


can you write details, what is IF command?