Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Event Server - Scheduled Events
#1
Dean,

Just questioning why the Event Server, Scheduled Events is not exposed to the user interface for either monitoring or creation of events on the fly?

This would be a great method of creating and managing events like temperature setback and so on. Currently I manage these type of events through HAI and monitor these functions via CQC. I want to move that functionality directly to the IV rather than being hard coded in HAI.
Thanks,
Dave Bruner
Cool
Reply
#2
DaveB Wrote:Dean,

Just questioning why the Event Server, Scheduled Events is not exposed to the user interface for either monitoring or creation of events on the fly?

This would be a great method of creating and managing events like temperature setback and so on. Currently I manage these type of events through HAI and monitor these functions via CQC. I want to move that functionality directly to the IV rather than being hard coded in HAI.

That functionality is there - see the last section of the Action Reference tech doc:

Target: EventSrv
The EventSrv:: target provides commands that allow you to interact with the CQC Event Server.
StdCmd:GetSchEvInfo (id,timevar,maskvar,statevar)
This command allows you to get information about a scheduled event (one of the daily, weekly, or monthly types.) You provide the id of
the event and it fills in three variables that you provide. They receive the start time of the event, the day/month mask, and the
paused/un-paused status
The mask has no meaning for daily events. For weekly events it is a list of seven ones or zeros, indicating which days of the week are
scheduled. For monthly events it is a list of twelve ones or zeros indicating which months of the year are scheduled. A one means that
day or month is scheduled and zero means it is not.
The time value is in the form ├ó┬Ç┬£dd hh mm├ó┬Ç┬Ø, i.e. the day, hour, and minute that the event runs each day, week, or month. The day value
isn‟t meaningful for a daily type event.
StdCmd:GetSunEvInfo (id,offsetvar,statevar)
This command allows you to get information about a sun-based event. You provide the event id, and it sets two provided variables to
the offset from the sunrise or sunset time and the paused/unpaused state of the event.
StdCmdTongueauseSchEv (id,state)
This command allows you to pause/unpause scheduled events. The id is the unique identifier of the scheduled event to affect. This is
not a human meaningful value, but when you select them from the list during creation of the action you will be able to see the text
names. The text name though is not required to stay the same, so the unique id is what is actually put into the parameter. The state is
the usual Boolean True/False value, with true meaning pause it and false meaning unpause (resume) it.
StdCmd:SetSchEvTime (id,time,mask)
This command allows you to get information about a scheduled event (one of the daily, weekly, or monthly types.) You provide the id of
the scheduled event, and the runtime and mask. These are the same as described in GetSchEvInfo above. The mask cannot be all
zeros.
StdCmd:SetSunEvInfo (id,offset)
This command allows you to set the offset for a sun-based event. The offset value is the number of minutes (-60 to 60) to offset the
event from the actual sunrise or sunset
Reply
#3
Thanks John - Missed that day in training class!
Thanks,
Dave Bruner
Cool
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Status of Scheduled and Triggered Events gReatAutomation 4 1,457 04-21-2020, 12:58 PM
Last Post: gReatAutomation
  CQC Server? gReatAutomation 3 1,307 03-23-2020, 05:29 PM
Last Post: Dean Roddey
  Timers or Waits in events? simplextech 18 5,742 01-08-2020, 02:01 PM
Last Post: Dean Roddey
  Server hardware question rhosch 3 2,066 10-02-2019, 11:19 AM
Last Post: rhosch
  Server Hardware for WebRiva greyjeep 4 2,302 08-04-2019, 07:15 AM
Last Post: gReatAutomation
  Scheduled Events & Variables gReatAutomation 2 1,337 06-20-2019, 01:31 PM
Last Post: gReatAutomation
  Master server PC Mark Stega 10 3,797 06-12-2019, 09:51 AM
Last Post: gReatAutomation
  CQC error installing on server 2016 zane 3 2,102 05-28-2019, 12:07 PM
Last Post: zane
  master server crash tom 8 3,589 10-21-2018, 04:21 PM
Last Post: Dean Roddey
  event and subsequent countdown timer question dogman 9 5,001 05-03-2018, 06:36 PM
Last Post: dogman

Forum Jump:


Users browsing this thread: 1 Guest(s)