Harmony Remote Saga -- RESOLVED!!
Logitech Harmony Level 2 support finally rediscovered the recipe to make 3-button Input Selectors work for the Anthem Statement D2v device in my Harmony One remote configuration.
These are the set of input selectors defined in Appendix A of the D2v Manual. Things like getting to TV1 directly, without regard to what you last used as a "TV" input, and regardless of where you are coming from, which can be done by sending the 3-button sequence THX-8-9.
The TV1-4, DVD1-4, SAT1-2, FM1-3, and AM inputs are now all implemented as 3-button sequences in the D2v definition in my Harmony One configuration. The Input Selectors that only need a single button sent still send just the single button. So for example CD and VCR are implemented as single button selectors.
One complexity in getting these in is that the Harmony database entry for the D2v does not include the digits named as digits. I.e., there is no database code for "8". In fact all the digits are in the database entry for the D2v but they are specially coded to work differently if pressed and held. So for example the "7" button needs to bring up the Video Source Adjust Menu when pressed and held.
Well what they've got in the database entry is a code for "VideoProcessing" which is simply "7" with this special coding. So if you want the numeric buttons to work you need to assign the named entries to the right buttons. The Harmony database does not do this for you automatically as it has rules that the only thing it will AUTOMATICALLY assign to the "1" button, for example, is a code with the name "1" -- and they don't include the same command with different names in a database entry.
Anyway, the mapping is straightforward:
Buttons 1 - 6 are "Preset1" - "Preset6"
7 is VideoProcessing
8 is Display
9 is ToneBypass, and
0 is Dynamics
And it is these named entries that need to be combined with the "THX" command to make the correct sequence. If you just try to "learn" the digits you won't get the right result.
So in Appendix A it says that the command to get to TV1 directly is THX-8-9, and that gets entered by Harmony Level 2 support as THX-Display-ToneBypass.
With the scripts defined for these, all the Input Selectors WORK, but now you also have to do the typical Harmony stuff of adjusting "delays" for the devices. For example, to send an Input Selector while the D2v is powering up -- and also with the new bug introduced in the V3.09 firmware -- the 3-button sequence has to be sent VERY SOON after the Power ON is sent to the D2v. If you delay for a few seconds it won't work until the D2v is FULLY powered up, which takes about 11 seconds.
So you need to lower the "Power ON Delay" for the D2v device to a small number. I'm using 200ms.
But there are other things that happen as well before the remote sends the input selector to the D2v. It sends Power On to any other devices used in the Activity that need it. And that means their delays also get added in. But it is not the Power On Delay for another device (e.g., a Blu-ray player) that matters but rather it's "Inter-device Delay" which is how long the remote waits after sending commands to device "A" before it will send any command to any OTHER device, so that the other device has no problem seeing its command as new, and not simply an extension of what was just sent to "A".
So in addition to lowering the Power ON Delay for the D2v, you may also need to lower the Inter-device Delays for other devices. Typically these default to 1000ms (1 second). I've found 400 or 500 works.
But if you lower it TOO much then device "B" will get confused if sent a command too soon after one goes to device "A", so there's a bit of a compromise as to what works.
That's the power up side of things. The other side of the coin is switching activities while the D2v remains powered up. In that case the trick is to make sure the 3-button sequence (e.g., THX-8-9) gets sent without anything intervening. The problem is that the D2v will time out if the 8 and 9 don't arrive soon enough after the THX. So if the remote sends the THX, and then sends a command to another device, the inter-device delay for that other device kicks in before the 8 gets sent.
This can be fixed as well by judicious tweaking of the delays. If a small inter-device delay works (e.g., 400ms), then there may be no problem because EVEN IF that delay intervenes the whole of THX-8-9 may still get sent fast enough. And other tweaks can fix the order in which things get sent out in stubborn circumstances. All of this sort of tweaking can be done by you, the Harmony owner, in their standard configuration stuff, and if you've spent any time doing anything at all complicated with the Harmony setup, you've probably already done such stuff. Again, this is in the device definition for each device -- the item for "Adjust Delays". Changes made there automatically get applied to what happens when you enter and leave Activities.
The one case where this sort of stuff could not be fixed using the normal user-level adjustments was my PS3. The PS3 (as controlled by an IR2BT infrared to Bluetooth converter gadget) does not have a discrete Power OFF command. You need to maneuver it through its menus to get to a Power Off item and select that. The Harmony database definition for the IR2BT device has the sequence pre-defined so you just select its Power OFF command and the right magic gets sent to the PS3 -- a sequence of IR commands that go through the IR2BT. But that sequence takes time.
And the problem was that sequence kept getting in the way of the 3-button sequence (e.g., THX-8-9) that was trying to go to the D2v to select the correct input for the NEXT Activity when you LEFT the PS3 related activity.
Harmony Level 2 support had to fix that by building in a special delay in the Leave Activity portion of the Activity using the PS3. The delay they added allowed the remote to send the 3-button sequence to the D2v (to select the next desired input) BEFORE the power down sequence of commands started being sent to the IR2BT.
And with that last tweak it all works. At least so far as I've tested it to this point.
NOW, if YOU have a Harmony remote and would like to get to take advantage of this, the key item is the scripting that implements the 3-button Input Selector sequences for the D2v device definition in your configuration. These DO WORK -- as can be proven by using the "Help" button to resend them as needed. But you may then need to do delays tweaking as described above so that they work properly when powering up the D2v and also when switching between activities given the needs or your various devices. That sort of tweaking will be specific to your set of devices. For the most part, it will ALL be done by tweaking the "Adjust Delays" portion in each device's definition. It is unlikely you'll need to do anything fancier in the Activities themselves -- unless you, too, have something funky like the PS3.
So how do you get this stuff?
Harmony Support tells me is is UNLIKELY the 3-button scripting they've done for me will show up in their definition for the Anthem Statement D2v. Not now, and maybe not ever. Don't ask me why. They just said that's the reality.
BUT, if you point them to my configuration they CAN pull the script out of my configuration for the D2v and apply it to YOUR configuration for the D2v. Then, you'd need to do the timing tweaks to optimize how well it works.
To do that, you need to have the "user ID' for my Harmony account.
I'm not going to post that here because I'd rather Google didn't pick it up.
But if you want to do this, just send me a PM.
ETA: I don't currently have an Activity defined that uses DVD4 = THX-8-8, but I suspect if I did, that 3-button code might NOT work FOR POWER UP due to the OTHER piece of the V3.09 bug which is that evidently it will not buffer a repeated digit in IR input until it is fully powered up -- 11 seconds later. The code will work just fine AFTER the D2v is fully powered up, which means using the "Help" button after power up will work to get you to DVD4 if it didn't work during power up.
I've not actually tried DVD4 for power up with what Harmony has just done for my configuration (above). It is possible -- but not ALL that likely -- that the way they send THX-8-8 as an Input Selector would also work during power up.
DVD4 is the only Input Selector with a repeated digit, so it's the only one that might have this problem.
Edited by Bob Pariseau - 8/28/12 at 2:56pm