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
  Get Field Value via HTTP znelbok 3 1,165 06-11-2020, 03:43 PM
Last Post: Dean Roddey
  Is there a way to have an image displayed that is not imported? ghurty 3 977 04-28-2020, 04:22 PM
Last Post: Dean Roddey
  Timers Driver / Field Time Image / Seconds gReatAutomation 1 1,070 03-16-2020, 05:48 PM
Last Post: Dean Roddey
  Issues after Acronis True image clone Ron Haley 4 1,719 02-14-2020, 03:44 PM
Last Post: Dean Roddey
  If statement to check field value simplextech 10 3,406 01-27-2020, 01:32 PM
Last Post: Dean Roddey
  Changing WebRIVA Splash Image? gReatAutomation 4 1,699 01-07-2020, 05:28 PM
Last Post: gReatAutomation
  Increment web image widget NishanF 5 1,984 10-24-2019, 08:16 AM
Last Post: Dean Roddey
  Display of an Extended Wait for User Image kblagron 4 1,871 09-20-2019, 02:21 PM
Last Post: kblagron
  Zwave lock battery level indicator on Field Checkbox kfly 4 3,160 09-07-2019, 05:34 AM
Last Post: kfly
  Odd LogicSvr behavior gReatAutomation 2 1,109 08-14-2019, 12:40 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)