Posts: 283
Threads: 26
Joined: Dec 2012
12-28-2015, 03:20 PM
(This post was last modified: 12-28-2015, 03:23 PM by pinballmark.)
I have a field boolean image widget. I'd like to display a green or red LED image based on the state of the door sensor connected to the Elk.
I cannot get this to work as expected unless I call it a Motion device in the Elk client dialog. What am I missing...it must be simple. If I set it as a Motion device (which it's not), it works perfectly.
Also, when does one use Sec#ZoneStatus vs Zone_PhysStatus?
Mark
Posts: 40,483
Threads: 491
Joined: Aug 2002
Which version of the Elk driver are you using? Is this the V1 or the V2?
Presumably calling it a motion device makes it a boolean, so the default 'IsTrue' statement (I thin that's the default) will work. If you set it to some other type of zone, it may be of another type, such as security zone which has a string type and have values indicating the status of the zone, so you'd have to use Is Equal and set the comparison zone to the appropriate zone status value.
Dean Roddey
Explorans limites defectum
Posts: 283
Threads: 26
Joined: Dec 2012
thanks Dean, using V2 Security Zone. I'll try the string comparison as you suggest and report back.
Can you comment on this:
Also, when does one use Sec#ZoneStatus vs Zone_PhysStatus?
Posts: 40,483
Threads: 491
Joined: Aug 2002
That's more of an Elk user's type of question if you want the real details. But generally zone status is what you want. That's the one that drives the sending out of zone status triggers as well.
Also, zone status is the V2 supported field, whereas the physical status is Elk specific.
Dean Roddey
Explorans limites defectum
Posts: 283
Threads: 26
Joined: Dec 2012
Thanks Dean, have it working using Zone Status.
I was bit by the Not Ready vs notready thing again. I realize there is a historical reason for it but would be helpful to somehow catch/parse it. It's a killer if one doesn't remember (or new users).
Posts: 40,483
Threads: 491
Joined: Aug 2002
The field itself should be Secure, Not Ready, and Violated. So I assume you mean the different spelling in the triggered event?
Dean Roddey
Explorans limites defectum
Posts: 283
Threads: 26
Joined: Dec 2012
yes, was looking at the event dump which uses the other variants. I think I have it understood now unless too much time passes :-)