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?
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.
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
-
BenInCOSprings
- Posts: 3
- Joined: Sun Apr 10, 2011 9:26 pm
Re: IRDecoder Universal Decoder Question
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.
Re: IRDecoder Universal Decoder Question
Hmm, still sounds like what the Remote event mapper does. But anyway, I don't think anyone objects to more useful plugins.
jonib
jonib
