Hi
I need an alarm from my tracker when 12 Volts comes on digital input 2 but only if there is no voltage on digital input 1 (ignition)
I have this string now di2==1?"12v ind":null, but what should I add so that it only makes the alarm if di1 is not high (ignition)
Probably something like this:
(di1 == 0 && di2 == 1) ? "12v ind" : null
Thanks
but does the text have to be written differently when it's in version 4.15?
because I can't really get it to work
I found the problem. I hadn't set the GPS to send DI1 in.
Hi
I need an alarm from my tracker when 12 Volts comes on digital input 2 but only if there is no voltage on digital input 1 (ignition)
I have this string now di2==1?"12v ind":null, but what should I add so that it only makes the alarm if di1 is not high (ignition)