Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

IRDecoder Universal Decoder Question

If you have a question or need help, this is the place to be.
Post Reply
BenInCOSprings
Posts: 3
Joined: Sun Apr 10, 2011 9:26 pm

IRDecoder Universal Decoder Question

Post by BenInCOSprings »

I have a MCE remote receiver and am trying to map remote codes from other remotes (e.g. my Onkyo receiver) inside of EG. When I send an Onkyo command, I see events in EG like, "MceRemote.Unknown.AFEAAFEAAEBAFABA8." The codes that it returns are pretty consistent. If I hit the same button over and over, I get the same MceRemote.Unknown.* response. This tells me that Universal.py is decoding these pretty consistently.

The idea I am thinking of is defining an XML structure (or hard coding it in the py file) that would map the last part of the MceRemote.Unknown.* to human-readable strings, and instead return them to EG as things like MceRemote.OnkyoRemote.ChUp. Is there any reason why one wouldn't want to do this?

I realize that actually implementing a real decoder would be the preferred way of doing this, but I neither have the spec for Onkyo's encoding, nor do I probably have the time to implement it. If I went with an XML definition, it seems like my approach would give users a way of adding their remotes and not having to deal with the MceRemote.Unknown.* responses.

EG developers, what do you think?
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: IRDecoder Universal Decoder Question

Post by jonib »

Sounds like your after something like this Remote event mapper?

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
BenInCOSprings
Posts: 3
Joined: Sun Apr 10, 2011 9:26 pm

Re: IRDecoder Universal Decoder Question

Post by BenInCOSprings »

Thanks. I gave that a try but it doesn't fully do what I am trying to do. I basically want to map arbitrary buttons to macros, which EG can do, clunkily. If the events had more descriptive tags for unrecognized remotes then it would be much less clunky. Seems like it should be relatively easy to do what I am proposing, but I wanted to make sure I wouldn't be breaking any commandments before launching in to it.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: IRDecoder Universal Decoder Question

Post by jonib »

Hmm, still sounds like what the Remote event mapper does. But anyway, I don't think anyone objects to more useful plugins. :D

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Post Reply