Jump to content
C4 Forums | Control4

Driver Request - Every 15min


RAV

Recommended Posts

Wondering how practically it would be to have a driver that triggers every 15 minutes on the hour, quarter, half and quarter of, like a mantle clock chime?

Having a repeating timer won't be accurate to a clock over time.
Creating a bunch of scheduled items seems to be the other option, but a driver would be easier and more practical.

Recently did an office, and setup adjustable time drivers for the client, so they can control open hours, which block people from turning off lights inadvertently.

Could see many other uses for it as well.
For example - left open/on - each trigger if downstairs off scene isn't true, increase variable, if greater than 3 then .... or garage doors left open, outside lights, gate open, door not locked, etc.
Sure, those can be done by multiple timers, but this would be cleaner and very useful.

Link to comment
Share on other sites


Repeating timer that gets reset every day on a scheduled event would be easy enough and likely accurate enough.

If it's not accurate enough, you could have the scheduler reset it a few times throughout the day, or even every hour.

A lot easier to get going than a driver.

You certainly could create a timer managing driver, but after a certain set of scenarios, you'd basically have to recreate the scheduler plus your timer scheme.

I'm not going to discourage anyone from making a driver -- I'm very pro-driver...  :)  But this seems like it's writing a driver for something the existing scheduler plus a timer could do pretty easily and satisfactorily.

RyanE

 

Link to comment
Share on other sites

We do this for our showroom. Using Variables, the scheduler, and timers that repeat themselves when they expire if the conditions are met. If you needed exact times you could create scheduled events for each time you would need and set the schedule accordingly.

 

Link to comment
Share on other sites

1 hour ago, RyanE said:

Repeating timer that gets reset every day on a scheduled event would be easy enough and likely accurate enough.

If it's not accurate enough, you could have the scheduler reset it a few times throughout the day, or even every hour.

A lot easier to get going than a driver.

You certainly could create a timer managing driver, but after a certain set of scenarios, you'd basically have to recreate the scheduler plus your timer scheme.

I'm not going to discourage anyone from making a driver -- I'm very pro-driver...  :)  But this seems like it's writing a driver for something the existing scheduler plus a timer could do pretty easily and satisfactorily.

RyanE

 

Having a resetting timer running constantly won't adversely affect processing overhead any differently than if it was say an agent or driver doing the triggering?

Link to comment
Share on other sites

25 minutes ago, RAV said:

Having a resetting timer running constantly won't adversely affect processing overhead any differently than if it was say an agent or driver doing the triggering?

The Timer Agent is just a C++ driver.

All agents are drivers, but are limited to a single instance, and they show up in the Agents tab instead of System Design, and have a different type of UI.  They don't require any more resources than any other driver, and as the Timer Agent is a native C++ agent, it likely requires fewer resources than the DriverWorks Lua drivers.

RyanE

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.