Jump to content
C4 Forums | Control4
  • 0

Time to be used


ILoveControl

Question

Posted

Maybe a simple question but is there a variable that one can use to get specific times? What I am trying to do is run a specific announcement based on a door opening (contact) but only between specific times?

8 answers to this question

Recommended Posts


Posted

I've done it with T/F variables.  As an example - create a variable called Door Announcement.  Say you want it active from 9am to 9pm.  So every day at 9am have that Variable become True and at 9pm have it switch to False.  in your programming, if Variable Door Announcement is True....and if Variable Door Announcement is False....and you can program off those T/F states.

Posted
6 hours ago, eggzlot said:

I've done it with T/F variables.  As an example - create a variable called Door Announcement.  Say you want it active from 9am to 9pm.  So every day at 9am have that Variable become True and at 9pm have it switch to False.  in your programming, if Variable Door Announcement is True....and if Variable Door Announcement is False....and you can program off those T/F states.

+1 for this method as it gives more flexibility.

Posted
36 minutes ago, LollerAgent said:

What exactly does it do?  Know the name of it?

Haven't used it yet something the along the lines of announcement disable/enable.

Posted
Just now, Matt Lowe said:

Haven't used it yet something the along the lines of announcement disable/enable.

it's gone - it used to be in the database but i can't find it any longer

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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