Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic IFTTT commands
#1
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?
Reply
#2
(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.


Attached Files Image(s)
       
Reply
#3
: 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
Reply
#4
(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
Reply
#5
(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?
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)