Page 1 of 1
Need Help with Macros for the 8810
Posted: Sat Feb 05, 2005 8:13 am
by firefighter12035
Ok my question is what would a macro look like in IR.exe to make my remote to switch to the video 1 input on my tv when i push the SAT button and control the directv box. I have a extender 6012 installed on the remote. But I can not figure out how to write the macros and keymoves to switch to the video inputs on the tv. It will switch by pushing the TV device button then the TV/VID button then pushing the SAT button to control the satellite but I want to elimate that. I have many post and help files but I just do not understand all of it.
My setup codes
TV is 0047-RCA DW52 widescreen HD montior
Direc TV is 1392 plugged into the Video 1 input on TV
Fortec Star box is 1776 plugged into the Video 2 input on the TV
Re: Need Help with Macros for the 8810
Posted: Sat Feb 05, 2005 9:30 am
by johnsfine
firefighter12035 wrote:It will switch by pushing the TV device button then the TV/VID button then pushing the SAT button to control the satellite
I think you're mixing together two issues that need to be dealt with individually:
1) What IR signals need to be sent to accomplish the desired operation.
2) How to program the macro to send those signals and perform the related mode changes within the remote.
I assume the TV/VID signal cause one step in round robin sequence of possible video inputs. (Correct me if I'm wrong). That isn't directly useful in a device select macro, because it is only right if the TV happened to be in the previous input state, not if the TV's input state was correct alreadyt nor (assuming there are more than two possible inputs) if it were in some third state.
Your TV probably has discrete input select commands, so first you want to find the command. for discrete video 1 select.
For the macro itself, we normally use the X_ commands to temporarily (and quickly) select a device mode for commands when that is other than the device mode the macro wants to end up in. Beyond that detail, I'm not sure what if anything you're confused about and/or object to in the typical structure of such a macro.
Posted: Sat Feb 05, 2005 11:08 am
by firefighter12035
well I am not sure how the macro and keymove structure would be wrote in IR.exe to do what I what it to do and I am unsure of how discrete keys codes are enter and where to put them. I have found this for my tv but I don't know what to do with it.
Function Descriptions:
Function 58 turns the power on and selects the tuner input. It can also be used to select the tuner input when the set is already on. The inputs that Functions 177, 178, 179, and 181 tune to are user specified in the system setup menu. If the set is already on, they will just select the input. These functions also act as discrete on commands for RCA Devices #2 (HD Recever), #5 (DVD Player), #7 (DTV DSS Receiver), and #14 (VCR). Functions 138 and 167-171 select the video inputs after the set is already on.
Hex Codes:
Device Code: 15 Function: 58 *Power On - Tuner Input*
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 0036 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 006B 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 006B 001B 0193
Device Code: 15 Function: 59 *Power Off*
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 0036 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 006B 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 0036 001B 0193
Device Code: 15 Function: 138 *DVI Input*
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 0193
Device Code: 15 Function: 167 *Component 2 Input*
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 0036 001B 0036 001B 006B 001B 006B 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 006B 001B 006B 001B 0036 001B 0036 001B 0036 001B 0193
Device Code: 15 Function: 168 *Component 1 Input*
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 006B 001B 006B 001B 0193
Device Code: 15 Function: 169 *Front Input*
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 0036 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 006B 001B 0036 001B 0193
Device Code: 15 Function: 170 *Video 2 Input*
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 0193
Device Code: 15 Function: 171 *Video 1 Input*
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 0036 001B 0193
Device Code: 15 Function: 177 *Power On - Sat/Cab* (Same as Device Code 7 Function 58)
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 006B 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 0036 001B 006B 001B 006B 001B 006B 001B 0036 001B 0193
Device Code: 15 Function: 178 *Power On - Aux/HD* (Same as Device Code 2 Function 58)
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 006B 001B 0036 001B 0036 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 0036 001B 006B 001B 006B 001B 0036 001B 006B 001B 0193
Device Code: 15 Function: 179 *Power On - DVD* (Same as Device Code 5 Function 58)
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 006B 001B 0036 001B 0036 001B 006B 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 0036 001B 006B 001B 006B 001B 0036 001B 0036 001B 0193
Device Code: 15 Function: 181 *Power On - VCR* (Same as Device Code 14 Function 58)
0000 0047 0000 001A 00D7 00D7 001B 006B 001B 006B 001B 006B 001B 006B 001B 006B 001B 0036 001B 006B 001B 006B 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 0036 001B 0036 001B 0036 001B 0036 001B 006B 001B 0036 001B 0036 001B 006B 001B 0036 001B 006B 001B 0036 001B 0193
Posted: Sat Feb 05, 2005 1:55 pm
by gfb107
A macro is just a sequence of button presses. Once you know exactly the button presses needed to accomplish what you want, you know exactly what the macro will be.
For example, if manually pressing TV, TV/VID, SAT in order does what you want, your new macro on the SAT button should just add X_TV;TV/VID;X_CANCEL at the beginning.
X_TV temporarily sets the TV device as the active device, TV/VID sends whatever command is assigned to the TV/VID button in TV mode , X_CANCEL cancels the temporary device selection.
Having said that, you probably will want to use the "Video 1 Input" function instead of the TV/VID button, so create a keymove that will put the 'Video 1 Input" function on a key, maybe shift-1 button in TV Mode. I think the EFC (aka advanced code) would be 087. Then instead of the above you would use X_TV;shift-1;X_CANCEL
Posted: Sat Feb 05, 2005 3:53 pm
by firefighter12035
Ok Greg when I enter your first example it works fine I just have to cycle thru until I get to Video 1 input. But when I enter your second example it goes to the tv mode and enters channel 1 on there instead of switching to that input and then goes back to sat mode. When I click on the macro tab to enter the macro I had to highlight the number 1 and then click add shift because I have no opitions there for shift-1. any more suggestions you have are welcome.
Posted: Sat Feb 05, 2005 4:05 pm
by johnsfine
Those function numbers (such as 171 for Video 1) are what we call OBC numbers.
TV/0047 handles RCA device code 15, so any of those commands are easy to set up as KeyMoves based on TV/0047. But you need to translate the OBC to EFC for use in a KeyMove.
If you want to use the EFC calculator from IR's tools memu, you need to know that RCA uses "MSB" translation between OBC and EFC, so in the EFC calculator you put the OBC (such as 171) in the MSB field and read the EFC (such as 087 that Greg already told you) from the EFC field.
Then you create a KeyMove, probably on some shifted key (as Greg described) to hold that EFC, then include that key within the macro.
For discrete input commands, it's usually most convenient to bind the KeyMove in the mode of the device whose input is being selected (SAT in this example) rather than the mode of the device being controlled by that command (TV in this example). Thus, you might create a KeyMove bound to the shift-1 key in SAT mode, with the value of TV/0047, EFC 087. Then you only need to add shift-1 to the end of the macro on the SAT key (after SAT is already selected). You don't need to temporarily select TV mode.
To minimize confusion, put the discrete input selects for other devices (DVD, etc.) on the same key bound in those devices' modes as you used for SAT in SAT mode.
Posted: Sat Feb 05, 2005 4:08 pm
by johnsfine
I didn't see your reply to Greg before typing my reply above to your earlier post.
firefighter12035 wrote: But when I enter your second example it goes to the tv mode and enters channel 1
I assume you didn't understand the part about defining a KeyMoves so you skipped that part and just defined the macro. I hope my post above made that clearer. You need to define a KeyMove to hold TV/0047 and the EFC number, and you need the macro to invoke the KeyMove.
Greg's example assumes you bound the KeyMove in TV mode so the macro must temporarily switch to TV mode to invoke the KeyMove. My suggestion (actually repeating one of Rob's common suggestions) was to bind the KeyMove in SAT mode, since the macro is switching to SAT mode anyway, so the macro can invoke the KeyMove more easily.
Posted: Sat Feb 05, 2005 5:00 pm
by firefighter12035
Ok guys I finally got it to do what I want the only thing is now the tv will not turn off by pushing the tv button and then power any suggestions on that if not I will keep messing with it. Thanks for all of the help that I have got
Posted: Sat Feb 05, 2005 8:13 pm
by gfb107
johnsfine wrote:Greg's example assumes you bound the KeyMove in TV mode so the macro must temporarily switch to TV mode to invoke the KeyMove. My suggestion (actually repeating one of Rob's common suggestions) was to bind the KeyMove in SAT mode, since the macro is switching to SAT mode anyway, so the macro can invoke the KeyMove more easily.
That's now twice this week I've learned little tricks-of-the-JP1-trade that make so much sense I can't believe I didn't think of them myself! Just goes to reinfornce the value of this forum. And shows there's always more to learn.