Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trapping Elk F5/F6 Buttons
#1
Apologies, i'm sure this gets asked a lot but I can't find it. Is there some way for CQC to know that one of the Elk F5/F6 buttons was pressed?

The ISY can tell, and even on which keypad, so it's available via their API somehow...
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#2
The driver doc page is missing info on user actions. It probably got lost in the conversion over to the device class based V2 drivers. I'll put that on the list to deal with.

But, it sends out a user action for key presses. The type is KeyPress and the value is the keypad name plus the key name. You can bring up the event trigger monitor (/System/Monitor/Event Triggers) and hit a key and see what it's send. You do have to enable all the appropriate triggers in the Elk to make it send out the notifications.
Dean Roddey
Software Geek Extraordinaire
Reply
#3
oh right. I haven't done a user action in forever, will muddle through it. Not home until Friday this week, so will look for the 48 hours that i'm home...
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#4
i'm RDP'ed into my host right now, where is the event trigger monitor? I don't see anything in the AdminINtf under /Customize/Events/Monitors/System.
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#5
It's in the path I mentioned above. /Customize is for creating things, so only editing stuff would be there. It's in /System/Monitor/Event Triggers.
Dean Roddey
Software Geek Extraordinaire
Reply
#6
(02-27-2018, 09:34 PM)Dean Roddey Wrote: The driver doc page is missing info on user actions. It probably got lost in the conversion over to the device class based V2 drivers. I'll put that on the list to deal with.

But, it sends out a user action for key presses. The type is KeyPress and the value is the keypad name plus the key name. You can bring up the event trigger monitor (/System/Monitor/Event Triggers) and hit a key and see what it's send. You do have to enable all the appropriate triggers in the Elk to make it send out the notifications.

ok so I figured out the value (evdata=01/F6). Not sure what to put into the trigger though for Device or Type. I tried "User Action For".
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#7
The user action type is 'KeyPress' as I mentioned above.
Dean Roddey
Software Geek Extraordinaire
Reply
#8
What about device, just the driver name?
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#9
Yeh, it would be the driver it's coming from.

http://www.charmedquark.com/Web2/CQCDocs...entFilters
Dean Roddey
Software Geek Extraordinaire
Reply
#10
how do I get access to evdata from within the action dialog box?

Since I have 2 keypads and will be trapping on 4 buttons, I assume I should use
If System.Equals(evdata, 01/F5)
thing one
If System.Equals(evdata, 01/F6)
thing two
If System.Equals(evdata, 02/F5)
thing three
If System.Equals(evdata, 02/F6)
thing four
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Hiding Command Buttons on template kfly 1 24 Today, 10:07 AM
Last Post: Dean Roddey
  Inc Dec buttons Ron Haley 1 921 07-26-2014, 06:44 PM
Last Post: Dean Roddey
  Learn>Videos>Buttons fotofreak 6 1,493 07-20-2014, 06:59 PM
Last Post: Dean Roddey
  Increment Decrement Buttons usage help Shaky 1 915 11-22-2011, 10:24 PM
Last Post: Dean Roddey
  Radio buttons dgeffs 8 2,089 09-11-2011, 07:19 PM
Last Post: batwater
  Overview of Buttons/Images shipped with CQC MavRic 1 766 11-15-2010, 03:13 PM
Last Post: Dean Roddey
  Question about Static Buttons hunt2714 6 1,146 03-05-2010, 11:10 PM
Last Post: hunt2714
  irregularly shaped buttons? cwilson 4 986 10-20-2009, 11:09 AM
Last Post: Dean Roddey
  What is the best way to change buttons on a tool bar? Acropolis 1 867 04-11-2009, 03:58 PM
Last Post: Dean Roddey
  Phantom Buttons for CQC Austride 1 1,001 11-08-2008, 11:31 AM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)