Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
High Level Triggers and Action rules admin screen
Now that V2 has brought some organization to drivers and fields any chance to get a higher level more easy to use global action screen in the Admin Interface?
Using Triggers and Edit Actions gets messy quickly and easy to leave triggers on if you want a bunch of just simple rules.

I only need to evaluate every second or two the status of a device(light,security field,etc) when they transition.
Rules could be very simple like:

if  elk.SEC#Zone_FrontEntryDoor_Status Equals  Not Ready
    Zwave.LGHT#Sw_FrontPorch = ON

If Zwave.LGHT#Sw_livingRoomLight Equals False
     Zwave.LGHT#Sw_Hallway = OFF
     Denon2112.PWR#Main~Power = False
Right now I have a  scheduled events to check for Denon power is off  every 60 minutes and then turn off all the other hardware.
Would be great to have it all in one place(events-triggers,etc)

If Denon2112.PWR#Main~Power = False
    Russound.PWR#Z01 = Off
    Russound.PWR#Z04 = Off

Would be even better if you could turn on or off  for X seconds. (again without having to write a complicated  Schedule item)
Zwave.LGHT#Sw_FrontPorch = ON  for 10 seconds

elk does a pretty good job at letting you write rules all on one screen so something like that would be excellent.

Denon 3808ci, 2112ci ,Sonos, NoVo Grand Concerto, Z-Wave(Lights,Locks), Hue, SmartThings,
iPads,Tivo,Hikvision,Elk-M1,TED5000,Somfy RTS blinds+ZRTSI, Amazon Echos+Dots, Polk XRT12,
Honeywell Wi-Fi 9000, Caleo Wi-Fi Thermostats, Rainmachine
The for X seconds is already there. Use a timed field change for that.

The other thing is really something different from triggered events. Triggered events are very efficient because they are triggered. I.e. they don't have to constantly monitor the value of a field (which has a cost in a network distributed system like CQC.) They get told when the field changes. That also means that they aren't subject to race conditions, i.e. a field changes quickly before you ever get a chance to see it (because polling across the network can only be done so fast.) You always get the trigger no matter how quickly the field changes because the driver itself sends the trigger upon storing the field change. And of course it can work with predefined triggers which makes them much more portable across devices.

What you are talking about is sort of a different scheme, which has to monitor fields constantly. So it's more like Rules, not Events. So it would have to be implemented differently and be a whole other area of the browser tree.

In one sense, Event Monitors are designed for what you want to do, but they are currently CML only, so that makes them not so useful for most folks, and they are badly under-utilized these days given how powerful they could be.
Dean Roddey
Explorans limites defectum

Possibly Related Threads…
Thread Author Replies Views Last Post
  Admin Interface Help Doesn't Work alexismtz13 1 249 04-28-2022, 01:14 PM
Last Post: Dean Roddey
  Variable Action "Find" command or alternate Shaky 3 527 11-02-2021, 08:19 PM
Last Post: Shaky
  ExecApp Action Failing Shaky 2 466 11-02-2021, 08:17 PM
Last Post: Shaky
  6.0.0 Interface Viewer - Action Trace Mark Stega 1 640 03-09-2021, 06:39 PM
Last Post: Dean Roddey
  WebRiva add to home screen fix NishanF 2 1,166 11-16-2020, 08:54 AM
Last Post: sic0048
  Escaping Character in Action Parameters gReatAutomation 0 629 09-02-2020, 05:51 AM
Last Post: gReatAutomation
  RadioRA2 Triggers gReatAutomation 3 1,041 03-25-2020, 05:11 PM
Last Post: Dean Roddey
  Reconfig of Driver Causes Built In Triggers to Fire gReatAutomation 2 1,242 03-25-2020, 04:09 PM
Last Post: gReatAutomation
  WebRIVA Splash Screen gReatAutomation 4 1,623 03-02-2020, 05:15 PM
Last Post: gReatAutomation
  Action wait and exit if variable changes simplextech 8 2,909 02-01-2020, 12:35 PM
Last Post: simplextech

Forum Jump:

Users browsing this thread: 1 Guest(s)