Jump to content
C4 Forums | Control4

Recommended Posts

Posted

Is there a way to initiate a set of actions when a room powers on?    There is only a "power off" option in the room list of events.  Will a power on automatically activate a video or audio change?

 


Posted

When audio...only triggers on a sound only selection

When video, only on a selection that involves video..in other words, it matches what is under watch vs under listen.

 

HOWEVER note that a power OFF is ALSO an audio AND a video selection change - using the variables is the correct way.

Posted
22 hours ago, Hardware said:

Both ways are correct 

That depends - if you want something to happen on both audio AND video selection changes, I would argue that having to program the same thing twice isn't correct ^_^

Posted
39 minutes ago, Cyknight said:

That depends - if you want something to happen on both audio AND video selection changes, I would argue that having to program the same thing twice isn't correct ^_^

Seems like we may be confusing “correct” with “optimal” - ROTFL

Posted
5 hours ago, Cyknight said:

That depends - if you want something to happen on both audio AND video selection changes, I would argue that having to program the same thing twice isn't correct ^_^

Absolutely, but if you don't.. its possibly extra steps 

Posted
1 minute ago, Hardware said:

Absolutely, but if you don't.. its possibly extra steps 

Hit a macro when watch or listen is selected. Then you only have 1 place that needs editing

Posted

Why are you adding macros? If you need a action based off of a specific watch or listen choice using the room events "when audio/video" changes is a single window with limited lines of code needed. 

Posted
58 minutes ago, Hardware said:

Why are you adding macros? If you need a action based off of a specific watch or listen choice using the room events "when audio/video" changes is a single window with limited lines of code needed. 

Just saying if he is pissy about editing it in 2 places due to "inefficientcy". Have watch and listen hit a macro then edit the macro in 1 spot

Posted
4 hours ago, Hardware said:

Gotcha. I think his point is if you want an action with the room powering on no matter what happens, his way is less work.

Yup.

WHEN powerstate changes

IF room is on

-action

 

Vs doing the exact same IF plus action twice, or even putting a macro in twice.

Note that yes, the IF statement is still needed using when video/audio selection changes, because the room turning off is also a change in selection...so would trigger the programming

Posted

Thanks - that helps.  When you invoke a power on activity by using the video change event, I assume that the actions happen after it has turned on all of the devices in the room?  And since a power off event also invokes a video change, do the additional programmed actions happen before or after it initiates the room power off?

 

Posted
5 hours ago, VideoDemon said:

Thanks - that helps.  When you invoke a power on activity by using the video change event, I assume that the actions happen after it has turned on all of the devices in the room?  And since a power off event also invokes a video change, do the additional programmed actions happen before or after it initiates the room power off?

 

the when video selection changes event happens immediately. so if devices need time to power on you will need to program around that.

and you will want a conditional for when the room power is on.

 

what are you trying to program?

Posted

Got it.

 My goal is pretty simple.  My receiver defaults to sending audio to the speakers when it turns on, and I want it to send it to the TV so that my soundbar will output the audio.  I just need to change the output when the room goes on.

I don’t care if it also does the same thing when it powers off - in this case it would be even better if it remembered the setting, but it doesn’t.

  • 2 years later...
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.