Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Field Boolean Image behavior
#1
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
Reply
#2
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
Reply
#3
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?
Reply
#4
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
Reply
#5
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).
Reply
#6
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
Reply
#7
yes, was looking at the event dump which uses the other variants. I think I have it understood now unless too much time passes :-)
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Stupid question: How can I read a motion or other field state change ghurty 10 479 01-10-2019, 10:10 AM
Last Post: Dean Roddey
  Logic Server Field Limit zra 6 1,239 07-10-2018, 12:44 PM
Last Post: zra
Question Boolean image is in error state ghurty 4 980 05-24-2018, 09:04 PM
Last Post: ghurty
  Using Overlay and Static Image Browser kblagron 2 969 03-11-2018, 11:59 PM
Last Post: kblagron
  Changing Field Values in Devices Tab TurboSam 3 922 01-01-2018, 02:47 PM
Last Post: Dean Roddey
  If Field Exist? znelbok 5 2,091 11-18-2017, 01:03 PM
Last Post: Dean Roddey
  How to Import a CQC Image Package KenC 9 2,947 10-28-2017, 04:38 PM
Last Post: KenC
  Simple field change trigger action Bugman 15 5,084 10-23-2017, 11:55 AM
Last Post: Dean Roddey
  Odd behavior of Admin interface Mark Stega 1 1,081 10-22-2017, 09:12 AM
Last Post: Dean Roddey
  Field Boolean Text Widget issue greymatter 5 2,617 08-26-2017, 04:45 PM
Last Post: greymatter

Forum Jump:


Users browsing this thread: 1 Guest(s)