more G-Labs products

Author Topic: Wizard script trigger problem  (Read 716 times)

March 24, 2015, 09:12:10 AM
Read 716 times

KaZe

  • ****
  • Information
  • Sr. Member
  • Posts: 219
I created a script to automatically turn off the alarm system.
Is it possible to 'and' relationship should be between the conditions? For the moment, if one of them is from 0 to 1 is changed, then the alarm system off.
So, if any of the conditions change, it'll examine not only to the one condition, whether true or false, but also check the condition of all. (Despite the fact that those parameters are not changed.)

Example:
PingMeAtHome = 0
Zone1.StatusLevel = 1
HomeGenie.SecurityArmed =0

Status change: HomeGenie.SecurityArmed switch to "1"

In this case, the alarm system is turned off, as it passes through one of the conditions is true.

But overall, the conditions are not true.

PingMeAtHome = 0 (FALSE)
Zone1.StatusLevel = 1 (TRUE)
HomeGenie.SecurityArmed =1 (TRUE)


There are no comments for this topic. Do you want to be the first?