[Hai-users] OMNI Programming

Dan Hoehnen dan at customautomationtech.com
Sun Apr 19 09:44:00 CDT 2009


I'm not positive what the problem is, but here's an idea...

I don't think the HAI logic is working the way you want it to.  I think your
WHEN statement is only going to run when the system is in DAY mode AND in
AWAY mode at the same time, which is not possible.

I have not tested this, but it should give you an idea of what to try.  What
you need to do is set a flag every time the system is armed to AWAY mode.
Clear the flag when the system is disarmed.  Now your WHEN statement does a
test of this flag being set instead of testing for AWAY mode.  If it's set
then the system is in AWAY mode.  You may need to clear the flag at other
times too, depending on what else you are doing.  

Regards,
Dan Hoehnen
Custom Automation Technologies
www.customautomationtech.com
614-939-4228 voice
614-939-0614 fax

-----Original Message-----
From: hai-users-bounces at tssi.com [mailto:hai-users-bounces at tssi.com] On
Behalf Of Wijoyo Utomo
Sent: Sunday, April 19, 2009 6:55 AM
To: HAI-users at tssi.com
Subject: [Hai-users] OMNI Programming

To all HAI gurus,

I have a line of code which is the following:

WHEN ARM Area_1 DAY & IF Area_1 AWAY & IF DARK: RUN BUTTON 10

which I assume to be executed whenever the Area_1 security mode is armed
to DAY Mode and from current security mode of AWAY and the current
situation is DARK.

But, this piece of code is never executed. Any idea what I have done
wrong?

Thanks in advance for your help.

Best Regards,
Wijoyo Utomo


_______________________________________________
HAI-users mailing list
HAI-users at tssi.com
http://romaine.tssi.com/mailman/listinfo/hai-users

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4019 (20090418) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4019 (20090418) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 



More information about the HAI-users mailing list