Jump to content
C4 Forums | Control4

Looping macros


Izwebusr
 Share

Recommended Posts

Hi,

Using Home Composer.  I have shades set up via scheduler but would rather have all instructions for a particular room set up in one place.  I can do this by programming a macro that tests for the time of day and executes instructions.  However, this implies a macro that loops forever.  Is this ok or am I boycotting the whole system?

Thanks

Link to comment
Share on other sites

  • 6 months later...

Link the programming to a variable that updates based on changes in time of day. For example, I use scheduler to set 'morning, day, dusk' etc. as a variable for my time-based lighting and then have a script that runs every time the variable is updated to set lighting presets. The same design would work for your use case (and could be room-specific). Hope this is helpful. 

 

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

 Share

×
×
  • Create New...