VideoDemon Posted April 26, 2018 Posted April 26, 2018 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? Quote
Hardware Posted April 26, 2018 Posted April 26, 2018 Use the "When audio/video selection changes" Quote
sonic30101 Posted April 26, 2018 Posted April 26, 2018 There is also a room variable for power state in the room dropdown Quote
Cyknight Posted April 26, 2018 Posted April 26, 2018 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. Quote
Cyknight Posted April 27, 2018 Posted April 27, 2018 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 THEORY 1 Quote
South Africa C4 user Posted April 27, 2018 Posted April 27, 2018 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 Quote
Cyknight Posted April 27, 2018 Posted April 27, 2018 3 hours ago, South Africa C4 user said: Seems like we may be confusing “correct” with “optimal” - ROTFL How about 'proper' instead of 'correct' South Africa C4 user 1 Quote
sonic30101 Posted April 27, 2018 Posted April 27, 2018 Plus you can do separate variable values to track if the tv is on or off Quote
Hardware Posted April 27, 2018 Posted April 27, 2018 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 Quote
sonic30101 Posted April 27, 2018 Posted April 27, 2018 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 Quote
Hardware Posted April 27, 2018 Posted April 27, 2018 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. Quote
sonic30101 Posted April 28, 2018 Posted April 28, 2018 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 Quote
Hardware Posted April 28, 2018 Posted April 28, 2018 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. Quote
Cyknight Posted April 28, 2018 Posted April 28, 2018 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 Quote
VideoDemon Posted April 28, 2018 Author Posted April 28, 2018 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? Quote
Matt Lowe Posted April 28, 2018 Posted April 28, 2018 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? Quote
VideoDemon Posted April 28, 2018 Author Posted April 28, 2018 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. Quote
Matt Lowe Posted April 29, 2018 Posted April 29, 2018 yea so this would be best to do on room power state changes. then do a conditional. if room power is on delay x seconds then run your macro. Quote
Crustyloafer Posted May 4, 2018 Posted May 4, 2018 The new Room Control driver would also do this for you. https://www.dropbox.com/s/vb5nnlyw2jdnyh4/Screenshot 2018-05-04 15.20.36.png?dl=0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.