Page 1 of 1

direction commands get more than one response - help please

Posted: Sun Jul 19, 2015 7:36 am
by tranx
I have just stitched together an upgrade for a newish Sony 'Android' Tv, KD-49X83 in which many of the commands are the same as those in other other upgrades for Sony TVs.
https://www.hifi-remote.com/forums/dload ... e_id=13447

It works ok except that, when the direction buttons are used in macros the responses by the TV to up/down left/right, and even select, are sometimes repeated, which can cause overruns in various menus.

This is improved, but not always cured, by adding a dummy command after each direction.

Up: -EFC5 31557 - EFC 067 -Protocol Sony12 -device 1 -sub device none -OBC 116 -Hex 2E 80
Down: -30533 -063 -Sony12 -1 -none -117 -AE 80
Left: -27461 -051 -Sony12 -1 -none -52 -2C 80
Right: -25669 -044 -Sony12 -1 -none -51 -CC 80
Select: -14149 -255 -Sony12 -1 -none -101 -A6 80

I would be grateful for advice

Posted: Mon Jul 20, 2015 9:50 am
by tranx
PS
I noticed that signals from the original remote, learned to the same device, for Up, Down, Left, and Right show the same Protocols, Devices, Sub Devices, and OBCs but Hexs are different:-
Up 2E 2F instead of 2E 80
Down AE AF instead of AE 80
Left 2C 2D instead of 2C 80
Right CC CD instead of CC 80

Why is that the case please? and could it be relevant?

Posted: Mon Jul 20, 2015 10:57 am
by mdavej
Those Hex codes correspond to Sony20, not Sony 12:

Fun. Protocol Dev OBC HEX
Up Sony20 20 116 2E 2F
Down Sony20 21 117 AE AF
Left Sony20 20 52 2C 2D
Right Sony20 19 51 CC CD

However, I've never seen Sony do anything like that. Usually they don't vary the device that much.

Posted: Mon Jul 20, 2015 11:38 am
by madmalkav
Perhaps it sends the arrow keys twice as with the PS2 remote?

http://www.hifi-remote.com/sony/Sony_ps2.htm

Posted: Mon Jul 20, 2015 3:18 pm
by tranx
Thanks very much for the replies.

mdavej, yes on the functions page those keys do have Protocol Sony12.
I tried entering those numbers but the Sub-Device changes from 'none' to 'n/a', and the Hex is different again e.g. Up = Hex 2E 29, Right = CC 29 (and the buttons are not effective)

On the device's set up page: the Protocol is 'Sony Combo (12/15/20)', the protocol ID is 00 26, and the Protocol Parameter boxes for Sony20 Subdevs 1, 2, 3, and 4 are empty, while I noticed that on another Sony upgrade those boxes all contain a '0', would that make any difference? (fixed data is 00 00 00 00 in both cases)

madmalkav, I looked at the link but if the keys were simultaneously sent for a second device I can only guess that in my case the second versions would be ignored?

Posted: Mon Jul 20, 2015 3:59 pm
by mdavej
Start with your original codes and just enter the hex, i.e., 2E 2F, and the other values will be calculated correctly.

If you post the file that includes your learns, maybe we an figure out the correct Sony20 sub-device to enter on the Setup and Functions tabs.

Posted: Tue Jul 21, 2015 12:49 am
by tranx
Starting with the original codes seemed to succeed, thanks, but that also resulted in keys which did not work.

Even using the working learns (with the hex as noted) the macros still cause skipping. Also, the skipping tendency is variable, just as with the keys from the original upgrade in macros.

- so I conclude that after all the problem is due to the TV sometimes being over-excitable :-) but thanks very much for the quick advice

(the 'problem' with Hex, and a new thing noticed about greyed-out delete option in the functions page seem to be coincidental, and might be due to extender testing/RMIR so I will take that up separately)

Posted: Tue Jul 21, 2015 6:50 am
by vickyg2003
We have developed non repeating versions of most protocols for the slingbox, Any remotes using the Samsung processor can make use of these. These will not work on jp1.2, jp2 or higher. Can't remember what
You are running

https://www.hifi-remote.com/forums/dload ... e_id=11416

Not sure if this is a complete ini, or the version you paste into your existing protocols.ini. hopefully the paste kind.

Hope this helps.

Posted: Tue Jul 21, 2015 7:27 am
by tranx
Thanks vicky. We are using URC6440 and OARUSB04G, jp1.3 (pity that sounds 'higher' :-) ) and MAXQ622 (Samsung?) so would one of those versions work?

Posted: Tue Jul 21, 2015 10:24 am
by vickyg2003
Unfortunately with those remotes, the slingbox special protocols won't work. I could help with JP1.2 (Motorola) but MaxQ is out of my league.

Posted: Tue Jul 21, 2015 11:07 pm
by 3FG
Add this to protocols.ini, and make an upgrade with this NoRepeats version. I tested this with a JP2 remote and it worked fine. Since you mention extender testing, I'll mention that I tried this NoRepeat protocol executor with a OARUSB04G which is running some experimental firmware. I had some difficulties which I'm not even able to describe coherently.

Code: Select all

[Sony Combo (12/15/20) NoRepeats]
OldNames=Sony Combo,Sony Combo (new)
PID=01 27
VariantName=single
CmdParms=Protocol:Sony12|Sony15|Sony20,Device,Sub-device:none|1|2|3|4=0,OBC=0
CmdTranslator= SonyComboTranslator() Translator(lsb,3,7)
ImportCmdTranslator=SonyComboImporter()
CmdParmInit=PickInitializer(2,,n0,n1,n2,n3)
DevParms=Sony20 subdev1,Sony20 subdev2,Sony20 subdev3,Sony20 subdev4
DeviceTranslator=Translator(lsb,0,8) Translator(lsb,1,8,8) \
                 Translator(lsb,2,8,16) Translator(lsb,3,8,24)
FixedData=00 00 00 00
DefaultCmd=00 00
Code.MAXQ610=30 64 42 0E 30 00 18 00 18 00 18 00 08 07 60 00 18 00 02 41 01 83 1B 51 01 0C 12 D6 D5 01 16 D6 D6 03 53 D7 D0 D6 63 40 02 00 64 45 03 64 45 77 00 63 40 02 00 64 75

Posted: Wed Jul 22, 2015 12:35 am
by tranx
3FG, thanks for the suggestion and comment.