Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ELK Police Alarm
#1
I'm trying to set the "Police Alarm" using the Elk driver in version 4.0. In ElkRP2, that is accomplished by activating Event 23, typically with a keypad.

So far, I've played around with InvokeCmd using ActivateTask, but that doesn't seem to work. Before I go through every permutation of InvokeCmd and then Passthrough, I thought I would ask if anyone knows how to do this. Thanks.
My Other web server is Dropbox.
Reply
#2
Well, if you have the latest version of the driver (2.2), you can use the
KeypadFKey : keypad#, fkey# command. This simulates a function key being pressed on the keypad. Here is the code I use in my UI:

Code:
If IntfViewer::InvokePopup
    P1=\\User\\Popup_ELKYesNo
    P2="Invoke Police Alarm?"
    P3=0 0

Devices::FieldWrite
    P1=Security.InvokeCmd
    P2=KeypadFKey : 2, 2
    P3=True

End
(I use keypad 2 because keypad 1 is an outdoor arming station)

Hey Dean, has 2.2 made it into the main code base yet?

If not, you can get it here: http://www.charmedquark.com/vb_forum/sho...stcount=19

--Bob
Reply
#3
Bob,
Is that driver only for serial or will it work for network also?
Thanks
George M
Reply
#4
Bob: Thanks for that. As usual, whenever I wonder if the answer is A or B, it ends up being C.

George: If you look at the whole thread Bob links to, you will see the IP version.
My Other web server is Dropbox.
Reply
#5
My Elk died and I've not had the chance to get it replaced yet, so I've not had a chance to do any work on the Elk driver to incorporate some of these changes.

I need to contact them again and see if I can get a response.
Dean Roddey
Explorans limites defectum
Reply
#6
Figures. I tend to have redundant systems for everything. I recently considered a backup for my ELK and decided, nah, that thing is like a rock. Guess not.
My Other web server is Dropbox.
Reply
#7
Mine isn't a production system, it's just for testing. And it's pretty old now, I guess ten years or more. So it's spent most of the time under the bed. I need to get it out and try to connect with the serial port directly just to be sure and see if RP can talk to it that way. Maybe the configuration just got hosed. I think I tried that back when it died, but I'll try it again and if it's still dead I'll make another attempt at contacting them for a replacement.
Dean Roddey
Explorans limites defectum
Reply
#8
So is this new driver still "beta?"

And does anyone know any other way to use passthrough or invokecmd to activate a panic alarm with ELK?
My Other web server is Dropbox.
Reply
#9
I don't think so with the shipped driver. Well, you could set up a task to do it and use InvokeCmd to invoke the task, right?
Dean Roddey
Explorans limites defectum
Reply
#10
InvokeCmd can run a task (which can trigger a rule), but rules don't have the ability to invoke events or set off alarms (odd, isn't it).

However, keypadFkeys can invoke Events which include alarms and keypadFkeys can be activated from the RS-232 protocol.

This is why I added it to the new version of the driver. I think the driver is quite stable, and I put a lot of effort into the improvements (particularly the event log and the violated zones list), but if you really don't want to use it, you can invoke a keypad function key from the Passthrough field (which exists in both versions).

FieldWrite(Security.Passthrough, "kf012") will invoke function key 2 on keypad 01.

--Bob
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Alarm Decoder for Ademco Honeywell Vista 20P gReatAutomation 4 2,020 05-22-2019, 07:26 AM
Last Post: gReatAutomation
  Can I use CQC to push out custom audio through ELK to alarm speakers? ghurty 8 4,458 06-18-2013, 07:23 AM
Last Post: rbroders
  Alarm Zone and Unit renaming DaveB 2 1,512 04-15-2013, 12:46 PM
Last Post: zaccari
  M1 alarm triggered info znelbok 36 9,094 03-31-2013, 07:46 PM
Last Post: rbroders
  CQC Drop M1 connection on alarm znelbok 11 4,081 09-26-2011, 06:04 AM
Last Post: sic0048
  How to display an Alarm? pjgregory 5 1,771 07-27-2010, 11:52 AM
Last Post: Dean Roddey
  ELK driver going off line anytime alarm is armed/disarmed sic0048 24 4,518 11-24-2009, 11:30 AM
Last Post: Dean Roddey
  Displaying HAI OPII Alarm Messages Acropolis 8 2,488 04-13-2009, 10:34 AM
Last Post: Dean Roddey
  Playing a wave file as an alarm annunciator znelbok 27 4,060 07-05-2008, 02:05 PM
Last Post: znelbok

Forum Jump:


Users browsing this thread: 1 Guest(s)