Quote:
Originally Posted by
KRGM1 
I notice under Model Designer you have Main Pages with a Power page. How did you set this up? Also all the power buttons on this page and the power buttons under your devices all have Macros associated.
On your Punch Through pages you have all the Power On, Off set to Main. I was just setting up individual devices with the Power on the Punch Through page set to that individual device.
I messed up the programming while playing around but I know how to recreate it. I would like to get some needed power macros working.
I'll try to explain the reasoning behind a separate Power page under Main Pages. Currently all of my devices have a separate power page, with a "power on" and "power off" button. These buttons are macros in themselves rather than just a simple 1 device power on command. They are using If/Then variables to only work when a device actually needs to be turned on or off, rather than firing every time regardless of the device's current power state. The benefit of this is that the macros are much shorter since I don't have to wait for unnecessary commands (and their built-in delays) to fire every time I need to do something.
The downside to this is that in theory it is possible that due to RF interference or some other factor one of the macros may run on the remote but not actually do the intended actions on the system. For example, say I press the CD button on my remote and for some reason the remote signal didn't properly reach the system. Now my remote has sent the commands and has set the variable "CD On = True" so even though my CD player isn't on, if I try to push the CD activity again on my remote, it won't send a power command to the CD player because it already believes the system is on and the power on command only works if the variable "CD On = False".
For this reason, I created a separate Power page on my Main page which contains the Off commands for every device, but without any If/Then logic involved. These buttons won't check to see if something is on or off, they will just send the Off command. I then used the red Power off button on the remote so that if that button is held down for more than 2 seconds, it will use the power off commands for each device from the Main page Power page rather than from the "power off" button on each device's power page. This way if something ever gets out of sync, I can hold down the red power button for 3 seconds and everything will turn off completely. I haven't had to use this function yet because the remote is really good at sending signals without interference getting in the way but programmed it as a "just in case" feature.
The main benefit of it is that I can have macros fire much faster by not including every single device in the power on/power off sequences and only sending commands to devices that need to be turned on or off. At the same time I have the ability to reset back to All OFF if for some reason the remote ever happens to get out of sync with the system.
Also about your question for all devices Green and Red power buttons being punched through to the main page -- that is so that I can handle turning everything off from the main page. If I am watching a blu-ray and hit the red power off button, it won't just turn off the blu-ray but will also turn off the receiver and TV as well (which is what I want). If I didn't punch those buttons to main, it would just turn off the blu-ray player. If I want to switch an activity (i.e. TV), I just hit Main, choose TV, and the If/Then macros know to only send an off command for the blu-ray player, leave the TV and receiver on, and also send an ON command to the Dish DVR box and switch to that input.
I hope this makes some sense -- sorry for the long read! Share your file on here if you're having issues and I as well as others can help.