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.
test Irman
test Irman
hello,
I have a irman, if you tell me how, I can test the plugin.
I have a irman, if you tell me how, I can test the plugin.
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
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!
Re: test Irman
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
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
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: test Irman
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:
Change it to (be careful not to change indentation):
and report your findings.
Code: Select all
self.buffer += "%X" % ord(data)
Code: Select all
self.buffer += "%02X" % ord(data)
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Re: test Irman
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
Thanks for the very quick answer.
Cheers,
jobec
Re: test Irman
Ok. I've also tested that new plugin. It seems, all works fine, except:
1) the latest modification confirmed by me too
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:
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
1) the latest modification confirmed by me too
Code: Select all
self.buffer += "%02x" % ord(data)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
Thanks for that interesting software,
Il
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: test Irman
I haven't understood point 1.
Do you want to have the hexadecimal letters in lower case or what is the point?
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!
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: test Irman
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!
Re: test Irman
Sorry for my bad english. I mean that I've made this modification by myself and after that found this topicBitmonster wrote:I haven't understood point 1.
Do you want to have the hexadecimal letters in lower case or what is the point?
Tested the latest beta 1094. Works fine.