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.

test Irman

If you have a question or need help, this is the place to be.
Post Reply
kobesaii
Posts: 2
Joined: Mon Apr 16, 2007 7:03 pm

test Irman

Post by kobesaii »

hello,

I have a irman, if you tell me how, I can test the plugin.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

Very nice!

Give me two days to clean-up the code (it was written nearly a year ago).

I will inform you in this thread, if the test version is ready.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
kobesaii
Posts: 2
Joined: Mon Apr 16, 2007 7:03 pm

Post by kobesaii »

ok, I wait for the test version
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

Ok, the two days came down to less than two hours. Grab the latest beta and hopefully the new UIR/Irman plugin will show some events.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
jobec
Posts: 2
Joined: Fri Aug 10, 2007 2:27 pm

Re: test Irman

Post by jobec »

What is the current status of the IrMan plug-in? I installed the latest version of EventGhost (0.3.6.1090), which has the IrMan plug-in. But when I enable it, the received messages are mostly useless. The messages contain 12 bytes which seem to be rotated randomly when the same remote button is pressed again. I.e., the one "correct" code is received in average only in 16% of the button presses.

Is this behaviour known and desired, or a bug? Of course I could assign all rotations to the same event, but that seems somewhat pointless.

System: WinXP SP2, Evation IrMan on COM (working with some other softwares), tested with 5 different remotes.

Cheers,
jobec
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: test Irman

Post by Bitmonster »

The plugin hasn't been tested yet. I think I found the bug you are reporting. Please open the file EventGhost/plugins/UIR/__init__.py with Notepad or similar. At line 117 you find the code:

Code: Select all

        self.buffer += "%X" % ord(data)
Change it to (be careful not to change indentation):

Code: Select all

        self.buffer += "%02X" % ord(data)
and report your findings.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
jobec
Posts: 2
Joined: Fri Aug 10, 2007 2:27 pm

Re: test Irman

Post by jobec »

That seems to help. Now the codes are nice and clean and same on every button press.

Thanks for the very quick answer.

Cheers,
jobec
clinkme2
Posts: 4
Joined: Sat Aug 11, 2007 12:42 pm

Re: test Irman

Post by clinkme2 »

Ok. I've also tested that new plugin. It seems, all works fine, except:
1) the latest modification confirmed by me too

Code: Select all

self.buffer += "%02x" % ord(data)
2) some UIRs have the variable output bytes count ( i.e. 4 or 8 ) instead of default 6. May be, make that as a config option.
3) my UIR doesn't use the "hello" protocol (IR/OK startup sequence). So, I've just commented
these lines:

Code: Select all

#            serialPort.write("I")
#            time.sleep(0.05)
#            serialPort.write("R")
#            if serialPort.read(2) != "OK":
#                self.PrintError("Got no OK from device.")
#                #return
Also, is it possibly to make that as a config option? (For example, "Use simple communication protocol" additional option.

Thanks for that interesting software,
Il
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: test Irman

Post by Bitmonster »

I haven't understood point 1.
Do you want to have the hexadecimal letters in lower case or what is the point?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: test Irman

Post by Bitmonster »

The remaining points are implemented in the newest beta.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
clinkme2
Posts: 4
Joined: Sat Aug 11, 2007 12:42 pm

Re: test Irman

Post by clinkme2 »

Bitmonster wrote:I haven't understood point 1.
Do you want to have the hexadecimal letters in lower case or what is the point?
Sorry for my bad english. I mean that I've made this modification by myself and after that found this topic ;)

Tested the latest beta 1094. Works fine.
Post Reply