Getting learned signals from XML and LRZ files

Need help adding new codes to your Slingbox, this is the place to ask. You're welcome to ask general Slingbox questions here, but be aware that most of us are not Slingbox experts.

Moderator: Moderators

vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

alanrichey wrote:OK, it worth a try. As for the betaremote problem that is not a strange problem, lots of people have the same problem. Another reason why it is in beta I think.

When you do a normal setup or a Custom Remote you often (although not all the time) get a page asking how you want to enter channel numbers and what speed to use to send Ch+/- down. Unfortunately the site bypasses these checks and seems to use the default settings. And these are not the right ones for your device.

At this stage nothing I can do to help I'm afraid.
Alan, is it possible for you to download the betaremote and capture the slingbox output to the Widget?
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.
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

vickyg2003 wrote:Alan, is it possible for you to download the betaremote and capture the slingbox output to the Widget?
Not at the moment, the output file is a Sling proprietary format. Bur we do have some hackers working on it :)
The Robman
Site Owner
Posts: 22056
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

How does the learning process work? Do you need to do it directly in front of the Slingbox unit, or can you do it remotely? If you can do it remotely, would it be possible to have users connect to your Slingbox in order to do the learning?

Where did those XML files come from that someone posted recently, because they had the learned signals stored in them in UEI format, so we could get the info from those if they're available.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

Starting with the Solo, Sling put an IR Sensor in the front of the Slingbox, so yes, you have to point the remote at the Slingbox to learn the codes.

As I said, we do have a couple of people trying to figure out how the LRZ file works and whether we can extract the UE1 details from them. Same people who produced the XML files I guess :D

So we will get there, but it isn't a quick fix.
The Robman
Site Owner
Posts: 22056
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Regarding the XML files, I'm referring to this thread by "eferz":
https://www.hifi-remote.com/forums/viewtopic.php?t=12334

He posts the XML files in the following post:
https://www.hifi-remote.com/forums/viewt ... 8678#p88678
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

yes if we could get that XML we could create a BIN with the desired repeats.

It was my understanding that with a port sniffer the XML can be captured. If we had the XML we could create a bin.

I know that you guys have grander ideas for this data, but we can do this here and now.
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.
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

He's the one :-) Gets around doesn't he ? I didn't realise he had started that thread, I'll monitor it with interest.

His only fault is that he does tend to make things complicated, confusing the hell out of me sometimes. Although hopefully you can follow what he is trying to say.

What we are trying to accomplish is actually very simple. For example, at the moment I am unable to load the Dreambox DM 8000 onto my Harmony because of a fault in the Logitech database. So we got the user to use the betaremotes site to learn the remote codes and produce the LRZ file. All we want to do is try and extract the ID/Device/OBC codes from that file.
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

alanrichey wrote:What we are trying to accomplish is actually very simple. For example, at the moment I am unable to load the Dreambox DM 8000 onto my Harmony because of a fault in the Logitech database. So we got the user to use the betaremotes site to learn the remote codes and produce the LRZ file. All we want to do is try and extract the ID/Device/OBC codes from that file.
I actually thought there was more to it than that. I thought you were looking to get some sort of mode-less functionality from your dreambox, but what do I know.

I do know that if you guys could get the user to use a port sniffer you could get the information for the decodes right away.

However I wonder if the slingbox will suffer the same learning flaw that our remotes do, when capturing XMP (Dreambox) protocols.
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.
The Robman
Site Owner
Posts: 22056
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

vickyg2003 wrote:However I wonder if the slingbox will suffer the same learning flaw that our remotes do, when capturing XMP (Dreambox) protocols.
As the learns are in UEI format, they are obviously using the UEI chip to control the learns, so therefore yes, they will have the same limitation when learning the XMP protocol. However, Graham did an excellent job of making a silk purse out of a pigs ear with the way DecodeIR handles these bad learns, he's able to fill in almost all the gaps.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

Just to let everyone know that Eferz did a great job figuring out the LRZ file and how we could access the UEI learned data, so for the very first time we have managed to produce a Custom Remote for an unsupported device, that I could not load from the Logitech database, that not only has the correct IR Codes but also displays a realistic virtual remote on the screen that we designed.

A major breakthrough :D
The Robman
Site Owner
Posts: 22056
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Do you have a link to somewhere where Eferz has written up what he found?
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

Might be easier if I explained :D Certainly simpler.

It turned out you cannot get the details directly from the LRZ file, but if you try and import that file to another Slingbox, although it does not appear to go in (which is what confused me) if you subsequently check the log file that is created on the PC while it trying to import, it actually gives you the UEI learn for each button. Dropping that into IR.EXE gave us the the details we need to put into RM.

Like all of these things, easy once you have figured it out.
The Robman
Site Owner
Posts: 22056
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Could you post some samples of the files in question? It might be possible to automate the process a little.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

Sure. My logfile is at https://www.hifi-remote.com/forums/dload ... le_id=8712

If you look around 80% of the way through you will see the important bit. An example is;

00:01:03.960 00000BE4 : <learntremotekey
00:01:03.960 00000BE4 : code="27"
00:01:03.960 00000BE4 : name="Rewind"
00:01:03.960 00000BE4 : 00:01:03.960 00000BE4 : 00:01:03.960 00000BE4 : command="1B104300D2090069A05C0069196C00690578006904240069039
C0069028B00690247006901BF0069017B12637255731638768880926372557316747688800D63725573167400"
00:01:03.960 00000BE4 : dataLength="70"
00:01:03.960 00000BE4 : isTested="true
00:01:03.960 00000BE4 : "
00:01:03.960 00000BE4 : >
00:01:03.960 00000BE4 : </learntremotekey>

and the 'command' bit is what we paste into IR as a learned code (split into bytes by adding a space every 2 characters.

Al
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Cool, very nice data.

Is this logfile automatically created each session?

Where is you logfile located?

Is it called WebSlingPlayer.txt, or was that a name you created for us?

What is the processes for obtaining the IRz file?

How do you load it to your account?
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