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.

IgorPlug-USB & Speedy2 missing buttons names

Questions and comments specific to a particular plugin should go here.
Post Reply
totya
Posts: 12
Joined: Thu Jun 27, 2013 6:29 am

IgorPlug-USB & Speedy2 missing buttons names

Post by totya »

Hi!

First, thanks for this great application.

Eventghost version is latest (0.4.1 r1610).

My IR remote is Speedy 2 http://www.cme.it/meli1/pdf/speedy2_gb.pdf

My IR receiver is IgorPlug-USB http://www.cesko.host.sk/IgorPlugUSB/Ig ... 29_eng.htm

I use this receiver under win7 x64 with x64 driver http://www.promixis.com/forums/showthre ... SB-Release and modified init.py http://www.eventghost.org/forum/viewtop ... f=2&t=1225

Almost all button name is correct, example if I press VOL UP, Eventghost say: EZMCUSB.RC5.TV1.VolumeUp etc.

But two button name is missing:

If I press "AV" on remote, Eventghost log: EZMCUSB.RC5.TV1.39
If I press "PAUSE" on remote, Eventghost log: EZMCUSB.RC5.VCR1.30

This is not really big problem, but I can solve this?

If I use original IgorPlug-USB driver under XP, the result is similar, this is not x64 driver problem.
piert
Experienced User
Posts: 321
Joined: Tue Jun 14, 2011 2:53 pm

Re: IgorPlug-USB & Speedy2 missing buttons names

Post by piert »

It is unclear to me what you want. The messages are not correct, but you can use them in macros just the same, right?
The names of events do not have to reflect what they really do to be still useful.

If you are using the Eventghost events for something else, like for on-screen display or payload for other applications, you can make use of a python script to 'translate' the event into something else. If that is what you need, let us know and we will help you further.
totya
Posts: 12
Joined: Thu Jun 27, 2013 6:29 am

Re: IgorPlug-USB & Speedy2 missing buttons names

Post by totya »

piert wrote:It is unclear to me what you want. The messages are not correct, but you can use them in macros just the same, right?
The names of events do not have to reflect what they really do to be still useful.

If you are using the Eventghost events for something else, like for on-screen display or payload for other applications, you can make use of a python script to 'translate' the event into something else. If that is what you need, let us know and we will help you further.
Hi!

Okay example, if configuration is empty, except autostart/plugin:EZMCUSB is active, ths pressed keys show in log with correct names, example VolumeUP, ChannelUP etc,only two buttons name is missing, see my previous post: "AV" and "Pause". I know this is not really big problem, and I hope this message is clear for you.
piert
Experienced User
Posts: 321
Joined: Tue Jun 14, 2011 2:53 pm

Re: IgorPlug-USB & Speedy2 missing buttons names

Post by piert »

If you do not do anything with the events from the log, why would you care if the right information is listed in the logs? I still do not understand.

If you insist to have the correct event names appearing in the log, you could create a python command that activates when the specific event is received in the log (i.e. when you press the PAUSE button, for instance).

To do so, create a new macro, drag the event "EZMCUSB.RC5.VCR1.30" from the event event log onto it and then add a python command action as follows:
eg.TriggerEvent("PAUSE", payload=None, prefix="EZMCUSB.RC5.VCR1.30", source=eg)

Now, when you press PAUSE on your remote, the event "EZMCUSB.RC5.VCR1.30" will appear in the event log, which triggers your new macro, which will issue the event
"EZMCUSB.RC5.VCR1.30.PAUSE" into your event log.

Again, I have no clue if that is what you want and why you'd want that anyway, but there it is.

If you are looking for an Eventghost tutorial, I recommend watching this:
http://www.youtube.com/watch?v=xnMzu1h1gxc
totya
Posts: 12
Joined: Thu Jun 27, 2013 6:29 am

Re: IgorPlug-USB & Speedy2 missing buttons names

Post by totya »

piert wrote:If you do not do anything with the events from the log, why would you care if the right information is listed in the logs? I still do not understand.
Thanks for answer. This is only sample for you.

This is really big question, if I press keys, I want see this exactly on the screen? I think absolutly not.
piert wrote: If you insist to have the correct event names appearing in the log, you could create a python command that activates when the specific event is received in the log (i.e. when you press the PAUSE button, for instance).

To do so, create a new macro, drag the event "EZMCUSB.RC5.VCR1.30" from the event event log onto it and then add a python command action as follows:
eg.TriggerEvent("PAUSE", payload=None, prefix="EZMCUSB.RC5.VCR1.30", source=eg)

Now, when you press PAUSE on your remote, the event "EZMCUSB.RC5.VCR1.30" will appear in the event log, which triggers your new macro, which will issue the event
"EZMCUSB.RC5.VCR1.30.PAUSE" into your event log.
Thanks, and I see this working, but not really nice solution, because:

If I press vol downn, I see this in log: EZMCUSB.RC5.TV1.VolumeDown
If I press pause - with your macro - I see this:

Code: Select all

14:59:24   EZMCUSB.RC5.VCR1.30
14:59:24      convert keys
14:59:24         eg.TriggerEvent("PAUSE", payload=None, prefix="EZMCUSB.RC5.VCR1.30", source=eg)
14:59:24   EZMCUSB.RC5.VCR1.30.PAUSE
The result is: EZMCUSB.RC5.VCR1.30.PAUSE

But similar to other pressed key, the nice result is: EZMCUSB.RC5.VCR1.PAUSE or EZMCUSB.PAUSE (!)

This is possible?

And why important this?

1. not ugly, unified.

2. My second remote control keys is undeterminable, example:

Code: Select all

15:04:38   EZMCUSB.Unknown.2FBBE7BBEC
15:04:38   EZMCUSB.Unknown.10
15:04:39   EZMCUSB.Unknown.2FFFEFFFEC
15:04:39   EZMCUSB.Unknown.10
15:04:40   EZMCUSB.Unknown.2FFFEFFFEC
15:04:40   EZMCUSB.Unknown.10
Nice solution, if I convert these keys to real names (Volume Down/Pause etc) in common place/folder, because I leave all script and events untouched and my two remote controls works. This is programmer logic, the result is clean code.

Question, these key names, example:

Code: Select all

EZMCUSB.RC5.TV1.VolumeDown
EZMCUSB.Unknown.2FFFEFFFEC
where come from? From driver? Or Evenghost app converted from driver data?
piert wrote: Again, I have no clue if that is what you want and why you'd want that anyway, but there it is.

If you are looking for an Eventghost tutorial, I recommend watching this:
http://www.youtube.com/watch?v=xnMzu1h1gxc
Thanks, but I absolutly know what I want :) Now I use this app to control volume, and control foobar audio app (seek/volume/play/pause/next track etc.)
totya
Posts: 12
Joined: Thu Jun 27, 2013 6:29 am

Re: IgorPlug-USB & Speedy2 missing buttons names

Post by totya »

piert wrote:(...)To do so, create a new macro, drag the event "EZMCUSB.RC5.VCR1.30" from the event event log onto it and then add a python command action as follows: eg.TriggerEvent("PAUSE", payload=None, prefix="EZMCUSB.RC5.VCR1.30", source=eg)
Now, when you press PAUSE on your remote, the event "EZMCUSB.RC5.VCR1.30" will appear in the event log, which triggers your new macro, which will issue the event "EZMCUSB.RC5.VCR1.30.PAUSE" into your event log.
Hi!

Okay, I modified this script, and the result is OK for me.

Input example this: EZMCUSB.RC5.VCR1.30

Script:

Code: Select all

eg.TriggerEvent("Pause", prefix="RemoteControl", payload=None, source=eg)
Result:

Code: Select all

RemoteControl.Pause
But this is not perfect solution, because "Autorepeat current macro" is not working if I use this new event. "Autorepeat current macro" action need of forward/rewind/volume functions...

Thanks.
User avatar
WharfRat
Experienced User
Posts: 159
Joined: Wed Dec 25, 2013 11:56 am

Re: IgorPlug-USB & Speedy2 missing buttons names

Post by WharfRat »

The Remote Event Mapper plugin might have been a better solution for this...
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)
totya
Posts: 12
Joined: Thu Jun 27, 2013 6:29 am

Re: IgorPlug-USB & Speedy2 missing buttons names

Post by totya »

WharfRat wrote:The Remote Event Mapper plugin might have been a better solution for this...
Thank you! This is really good idea, and this works!
Post Reply