Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
High Level Triggers and Action rules admin screen
#1
Dean,
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
End

If Zwave.LGHT#Sw_livingRoomLight Equals False
     Zwave.LGHT#Sw_Hallway = OFF
     Pause(10)
     Denon2112.PWR#Main~Power = False
 End
    
Also:
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
End

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.


Thanks
Kevin
_______________
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
Reply
#2
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  6.0.0 Interface Viewer - Action Trace Mark Stega 1 318 03-09-2021, 06:39 PM
Last Post: Dean Roddey
  WebRiva add to home screen fix NishanF 2 788 11-16-2020, 08:54 AM
Last Post: sic0048
  Escaping Character in Action Parameters gReatAutomation 0 391 09-02-2020, 05:51 AM
Last Post: gReatAutomation
  RadioRA2 Triggers gReatAutomation 3 729 03-25-2020, 05:11 PM
Last Post: Dean Roddey
  Reconfig of Driver Causes Built In Triggers to Fire gReatAutomation 2 836 03-25-2020, 04:09 PM
Last Post: gReatAutomation
  WebRIVA Splash Screen gReatAutomation 4 1,215 03-02-2020, 05:15 PM
Last Post: gReatAutomation
  Action wait and exit if variable changes simplextech 8 2,176 02-01-2020, 12:35 PM
Last Post: simplextech
  [FEATURE] Event Run Action simplextech 4 1,802 01-09-2020, 02:04 PM
Last Post: simplextech
  More than 4 triggers simplextech 4 1,318 01-09-2020, 10:02 AM
Last Post: simplextech
  Simple device control from Admin Interface simplextech 7 2,292 01-04-2020, 12:18 PM
Last Post: simplextech

Forum Jump:


Users browsing this thread: 1 Guest(s)