URC-10820N: Help adding a power-everything-down macro

This is the JP1 beginners forum. There's no such thing as a stupid question in here, so post away, but this forum is just for JP1 users and people considering JP1, non-JP1 users please use the appropriate forum above!

Moderator: Moderators

Post Reply
jannic86
Posts: 4
Joined: Tue Jan 25, 2011 12:09 pm

URC-10820N: Help adding a power-everything-down macro

Post by jannic86 »

I've got a pretty basic setup, just a TV (JVC AV-27D502) and an Xbox 360, and a URC-10820N using vicky's extender. I've got everything I want working so far:
  • TV short-press sets all keysets except Transport to the TV
  • TV long-press does the same and also powers on the TV and sets the channel
  • AUX2 short-press sets Trans, Menu, and Other keysets to the Xbox
  • AUX2 long-press does the same and also powers on the Xbox, powers on the TV, and sets the TV input for the Xbox
That stuff is all working. Now I want to make Power short-press toggle power to the active device, and long-press power everything down. I thought this would work:
  • Macro - Power = Dev_PVR; Phantom1
  • PVR/Phantom1 = [Short]: Dev_Cancel; Shift-Power [Long]: Dev_TV; DiscreteOff; Dev_Au2; DiscreteOff
I used the PVR device for the LPK only because it's not associated with anything, and that feels "cleaner" in my mind than putting it in TV or AUX2, since it controls both. I'm not tied to that setup.

The long-press of this macro actually works and powers everything down, but the short-press isn't working to toggle power for the active device. My understanding was that Dev_Cancel would clear the Dev_PVR set earlier, so that Shift-Power would uncloak the power function for the currently active device (whatever device last had Set_Other called on it).

Am I misunderstanding something here?

I also tested these configurations, to make sure I didn't miss something.
  • Macro - Power = Shift-Power (to test shift-cloaking): works to toggle power to the active device
  • Macro - Power = Dev_PVR; Dev_Cancel; Shift-Power (to test if Dev_Cancel was working how I thought it should): doesn't work
  • Macro - Power = Dev_Cancel; Shift-Power (to specifically test Dev_Cancel): doesn't work
  • Macro - CD = Dev_Cancel; Power (to make sure it's not some shift-cloaking thing): doesn't work
In particular, for the last two tests, I thought Dev_Cancel would be a no-op as the first command, and they would work like normal, but they don't. No response from the devices.

Here's the RMIR file for my intended configuration. It doesn't include the four test scenarios.

https://www.hifi-remote.com/forums/dload ... le_id=9560

What am I missing?
mdavej
Expert
Posts: 4636
Joined: Wed Oct 08, 2003 7:08 am

Post by mdavej »

Here's how I handle your scenario. Make a master power off macro (mine's on xshift-power) with Dev_TV; DiscreteOFF; Dev_DVD; DiscreteOFF, etc. for all devices. Now make a LKP macro for every device. The first is on TV-Power where the short side is Dev_TV;Shift-Power and the long side is Xshift-Power. The next is DVD-Power with short side Dev_DVD; Shift-Power and long Xshift-Power, and so on for all devices.
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Re: URC-10820N: Help adding a power-everything-down macro

Post by ElizabethD »

jannic86 wrote:I thought this would work:
  • Macro - Power = Dev_PVR; Phantom1
  • PVR/Phantom1 = [Short]: Dev_Cancel; Shift-Power [Long]: Dev_TV; DiscreteOff; Dev_Au2; DiscreteOff
I used the PVR device for the LPK only because it's not associated with anything, and that feels "cleaner" in my mind than putting it in TV or AUX2, since it controls both. I'm not tied to that setup.

The long-press of this macro actually works and powers everything down, but the short-press isn't working to toggle power for the active device.
I assume your power buttons work from the keyboard for both the TV and the AUX2 device, correct?
If so, your LKP macro looks fine to me. Dev_Cancel on one side, no Dev_Cancel on the long side is fine.

You have protocol 012A for DVD/2000 setup, but it doesn't look like the protocol it's there. When you added that device for AUX2 did you add the protocol? (I suspect you did, I just don't know what RMIR hides these days)

Dev_PVR has no keysets assigned to it - that might be the problem, not sure. edit: See my post few below this

Finally, in the macro it says Dev_AU2 - should it not be Dev_AUX2? I just tried it in RMIR and the assignment went to AUX2.

I would assign that LKP to TV or AUX2 anyway, it will work. I don't know if it should work with PVR which has no setup code, though it sure seems cleaner, doesn't it? I think I tried something like that once in another remote, perhaps Atlas, and it didn't work for me.
Last edited by ElizabethD on Sun Mar 20, 2011 7:27 pm, edited 1 time in total.
Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride :)
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Something looks mighty fishy here. My version of RMIR is opening up the file with the 11781178 RDF......

I don't see how this is working at all.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Post by ElizabethD »

Vicky, I double click the .rmir file, RMIR asks if I want URC-1082N, and knowing this is extended, I click on the dropdown, and it allows me to select URC-1082 Extender A, which I did. Unfortunatly I know nothing about this remote :(
Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride :)
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

ElizabethD wrote:Vicky, I double click the .rmir file, RMIR asks if I want URC-1082N, and knowing this is extended, I click on the dropdown, and it allows me to select URC-1082 Extender A, which I did. Unfortunatly I know nothing about this remote :(
Himm, I downloaded it, click on it and it opens without asking me any questions. Its opening up with the unextended version of the RDF.

I opened it with notepad and see that the signature is 1A781A78, so I can't figure out why its selecting the non-extended remote RDF.

Nothing in the error log gives me any clue as to why it is picking the 1178 RDF.

Its then giving me all sorts of odd keymoves,and showing all the learns.

I'm kind of perplexed.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Post by ElizabethD »

I think I have an answer to the short press issue - after looking closer:
Active device at the time Phantom1 works is likely not PVR but TV or AUX2 because no keysets were assigned to PVR in the first place, in which case Dev_Cancel is killing it. When you think you're canceling PVR keysets, you're cancelling the other one, whatever keysets were assigned last.

So the bottom line is - don't use PVR for that LKP. Use one of your devices.
Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride :)
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Re: URC-10820N: Help adding a power-everything-down macro

Post by vickyg2003 »

jannic86 wrote:I also tested these configurations, to make sure I didn't miss something.
  • Macro - Power = Shift-Power (to test shift-cloaking): works to toggle power to the active device
  • Macro - Power = Dev_PVR; Dev_Cancel; Shift-Power (to test if Dev_Cancel was working how I thought it should): doesn't work
  • Macro - Power = Dev_Cancel; Shift-Power (to specifically test Dev_Cancel): doesn't work
  • Macro - CD = Dev_Cancel; Power (to make sure it's not some shift-cloaking thing): doesn't work
What am I missing?
I think you found a bug in the extender. I think its a problem with DEV_Cancel. I think I've got a 0B where there should be a 0A in the assembler.

I can't get RMIR to load your file yet, but that's on my end. I'll figure it out eventually. If you were using IR I'd have you make an alteration to the RAW DATA to see if we could fix it, but since its RMIR I don't know how to do that.

I think ED18 needs to be 0A instead of 0B.
Perhaps you can save the file as an IR file and change that location in a text editor and then pull it back into RMIR, I just don't know how to do it in RMIR.
Last edited by vickyg2003 on Sun Mar 20, 2011 11:00 pm, edited 1 time in total.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
jannic86
Posts: 4
Joined: Tue Jan 25, 2011 12:09 pm

Re: URC-10820N: Help adding a power-everything-down macro

Post by jannic86 »

vickyg2003 wrote:I think ED18 needs to be 0A instead of 0B.
Perhaps you can save the file as an IR file and change that location in a text editor and then pull it back into RMIR, I just don't know how to do it in RMIR.
That fixed it. The macro works fine now, even when the LKP is set to PVR/Phantom1 instead of AUX2/Phantom1.

Making the change was easy, too. RMIR has a tab called "Raw Data". I just went there, located ED18, and changed it from 0B to 0A. Great catch.

I updated the uploaded file, too, in case you need that for anything else.

Thanks for the help, everyone.
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Re: URC-10820N: Help adding a power-everything-down macro

Post by vickyg2003 »

jannic86 wrote: That fixed it. The macro works fine now, even when the LKP is set to PVR/Phantom1 instead of AUX2/Phantom1.

Making the change was easy, too. RMIR has a tab called "Raw Data". I just went there, located ED18, and changed it from 0B to 0A. Great catch.
It was your very clear description of that made the fix possible.
I've changed the extender and uploaded the fix here.
https://www.hifi-remote.com/forums/dload ... le_id=9561
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Post Reply