Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
user action documentation?
#1
What doc is the user action stuff explained in? Its been years since I even looked at it, need to do some stuff with the HueSim driver, but i'll be damned if I can find the right doc. I looked in the Action guide, but its just a few paragraphs.

which will probably happen the second I hit "submit new thread" though.
------------------------------------
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
What gets sent is device specific, so you have to check each individual driver doc. You can also of course use the /System/Explore/Triggers (might be slightly off on the spelling there) tab to watch the live and see what is being sent.
Dean Roddey
Explorans limites defectum
Reply
#3
I really like the HueSim driver (thanks, wuench!), and while I use switch/dim for my UPB lights, I use "user actions" for a few Elk commands.

IVB, the triggered event I use is "Is This User Action," the Type is "VoiceCommand" (which I think is required by the driver), and Data is then "NAME_USED_IN_CONFIG,on,xxx" where xxx is true or false. I generally use the (true|false) RegEx with the RegEx box checked so my Data would look like this "Announcements,on,(true|false)" (without quotes). Sorry for the detail, but couldn' post a snip of the screen shot.

As an example, the action that I use for turning off (false)/on (true) non-alarm announcements in Elk (which are Tasks 15 and 16) is then:

TrigEvent::GetUserActionVals
P1=LVar:Type
P2=LVarBig Grinata

System::LogMsg
P1=Echo Test
P2=0
P3=Name = %(LVar:Type) //////// Action = %(LVarBig Grinata)
P4=Status

If System::Equals
P1=%(LVarBig Grinata)
P2=Announcements,on,false
P3=Case

Devices::FieldWrite
P1=Elk.InvokeCmd
P2=ActivateTask:15
P3=True

Else
Devices::FieldWrite
P1=Elk.InvokeCmd
P2=ActivateTask:16
P3=True

End

The System::LogMsg helped me monitor what was happening during setup.

Good luck!
Reply
#4
sweet, thanks dude! Long day today, wasn't at home at all, but i'll look at that tomorrow. Or in a few hours once I chill.
------------------------------------
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
  6.0.0 Interface Viewer - Action Trace Mark Stega 1 150 03-09-2021, 06:39 PM
Last Post: Dean Roddey
  Escaping Character in Action Parameters gReatAutomation 0 291 09-02-2020, 05:51 AM
Last Post: gReatAutomation
  LoadAncestor Documentation? gReatAutomation 1 435 05-06-2020, 01:02 PM
Last Post: Dean Roddey
  Action wait and exit if variable changes simplextech 8 1,826 02-01-2020, 12:35 PM
Last Post: simplextech
  [FEATURE] Event Run Action simplextech 4 1,529 01-09-2020, 02:04 PM
Last Post: simplextech
  Display of an Extended Wait for User Image kblagron 4 1,321 09-20-2019, 02:21 PM
Last Post: kblagron
  Latching Documentation Clarification gReatAutomation 2 678 08-16-2019, 04:01 AM
Last Post: gReatAutomation
  Documentation for TimedFldChange2 kblagron 4 954 06-28-2019, 06:03 PM
Last Post: kblagron
  Omni arming mode user info dlmorgan999 2 938 05-02-2019, 04:42 PM
Last Post: dlmorgan999
  Documentation for CML kblagron 3 1,119 03-13-2019, 11:05 AM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)