Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Status of Scheduled and Triggered Events
#1
Is there a way to check on the status of a triggered or scheduled events to see if they are either enabled or disabled? I checked the documentation and none of the commands are marked with an asterisk.

In the Administrative Interface, you can clearly see the status of Scheduled and Triggered events. If they are paused, the item is greyed-out, if they are not paused, the item is normal.

What's more confusing is that, when you select a new "If" action in a command button, the Event Server is an option with the following commands: PauseTrgEv, PauseSchEv, and PauseEvMonitor. The documentation doesn't explain the return of these functions.

[Image: Capture.jpg]

I am trying to set up an interface where I can pause and resume events, however, have not figured out how to get the status (is it paused or not paused)?

I could set up variables in the variables driver, but this seems sloppy.
Reply
#2
The above command would work. YOu have to pass in the names of variables for it to fill in with all of that info. It will return (assuming it found the indicated event) with the information in the variables. You'd check the value of the one you passed for the statevar parameter, which should indicate the state.

Just as a quick test, set up a global action to call it, then test it in the action trace and to see what you get back.

I think the indication of a return for those pausing commands is bogus. None of those actually seem to set the return value. I'll put that on the list to fix.
Dean Roddey
Explorans limites defectum
Reply
#3
GetSchEvInfo does not work with Triggered events. When you click the Path, you are only shown scheduled events.

To ask again, is there a way to check on the status of a triggered event?
Reply
#4
Oh, sorry, I missed that detail. No, you can't get any info on triggered events, just scheduled ones. You can pause or un-pause a triggered event, but there's no info about it available.
Dean Roddey
Explorans limites defectum
Reply
#5
(04-21-2020, 11:52 AM)Dean Roddey Wrote: Oh, sorry, I missed that detail. No, you can't get any info on triggered events, just scheduled ones. You can pause or un-pause a triggered event, but there's no info about it available.

Thanks, I'll go the variable route for them then and will have to do an initial manually sync to ensure the variable value matches the current state of the scheduled or triggered event. Then, when I want to enable | disable in my GUI I click on the variable checkbox, enable | disable the scheduled/triggered event, then update the variable.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Timers or Waits in events? simplextech 18 6,910 01-08-2020, 02:01 PM
Last Post: Dean Roddey
  Scheduled Events & Variables gReatAutomation 2 1,540 06-20-2019, 01:31 PM
Last Post: gReatAutomation
  your sched/triggered/tasker/IFTTT events IVB 17 9,949 01-18-2018, 07:41 AM
Last Post: RichardU
  Smart Handling of ISY Motion events Sendero 10 6,421 10-05-2016, 09:43 PM
Last Post: Dean Roddey
  Best Way to Handle Wait Times within a Triggered Event kblagron 9 5,300 06-25-2016, 06:03 PM
Last Post: Dean Roddey
  CQC Driver Status Web Page wuench 0 1,608 09-13-2015, 12:14 PM
Last Post: wuench
  Overlay in an Overlay triggered by Widget Deane Johnson 4 4,032 11-09-2014, 10:29 AM
Last Post: Deane Johnson
  EmailURLImg in Triggered Events TurboSam 6 3,941 11-23-2013, 01:50 PM
Last Post: Dean Roddey
  Variable Times for Triggered Events TurboSam 9 5,925 11-19-2013, 10:00 PM
Last Post: Dean Roddey
  Dimmer status ellisr63 1 2,064 09-19-2013, 06:33 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)