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.

EventGhost Application Control Plugin

Questions and comments specific to a particular plugin should go here.
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Re: EventGhost Application Control Plugin

Post by blaher »

Looks very cool and is working well for me so far. :)

Thanks!
phlox
Plugin Developer
Posts: 90
Joined: Wed Jan 11, 2012 3:49 pm

Re: EventGhost Application Control Plugin

Post by phlox »

EG App Control 0.3.1
Here's a minor update, program is unchanged, "just" the documentation has been improved - many thanks to blaher for his help :)

PS: As soon as I believe that everything is stable and final, I'll move the download to the first post. But currently I'd say it's still "beta".

(Edit: attachment removed since obsolete)
Last edited by phlox on Mon Jan 21, 2013 8:20 pm, edited 1 time in total.
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: EventGhost Application Control Plugin

Post by Livin »

Has Pako got back to you on the incompatibility with his Log Redirector? I use Log Redirector regularly
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
phlox
Plugin Developer
Posts: 90
Joined: Wed Jan 11, 2012 3:49 pm

Re: EventGhost Application Control Plugin

Post by phlox »

Pako was faster releasing a new EG version with the new Log API than I was able to answer the last question :)

Even better - here follows the adapted version EG App Control 0.3.2 using the new API. It prerequisites EG version 0.4.1.r1610 (or higher)

Many thanks to Pako for his quick response!

Please remind to install newest version 0.0.7 of Log Redirector as well if you're going to use these two plugins in parallel.

EDIT: attachment removed; moved to the first post.
cfull1
Experienced User
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: EventGhost Application Control Plugin

Post by cfull1 »

This is awesome, thanks!
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: EventGhost Application Control Plugin

Post by Livin »

I'm trying to capture an event...
System.DeviceAttached [u'\\\\?\\DISPLAY#ONK0C81#5&30f4f1ad&5&UID1057568#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}']

When I place that in the 'Capture Log Message' box it is not working.

I want to watch for this event and trigger another event.

thx for the help!
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: EventGhost Application Control Plugin

Post by Livin »

Livin wrote:I'm trying to capture an event...
System.DeviceAttached [u'\\\\?\\DISPLAY#ONK0C81#5&30f4f1ad&5&UID1057568#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}']

When I place that in the 'Capture Log Message' box it is not working.

I want to watch for this event and trigger another event.

thx for the help!

anyone?
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
cfull1
Experienced User
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: EventGhost Application Control Plugin

Post by cfull1 »

Did you check "Whole line" and "Event"?
Attachments
Capture.PNG
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: EventGhost Application Control Plugin

Post by Livin »

yes, I tried several things.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
cfull1
Experienced User
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: EventGhost Application Control Plugin

Post by cfull1 »

Did you execute the action to enable monitoring?
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: EventGhost Application Control Plugin

Post by Livin »

of course. here's a screen. you can see the line is in he log several times and EG App Control does not see it. I've tried changing about ever option in the dialog - and yes, I did check 'Fire an Event' but I turned it off just in case there was some bug and it started working for some reason.
Attachments
Capture.JPG
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Re: EventGhost Application Control Plugin

Post by blaher »

With EventGhost 0.5.0 beta 3 it complains that the mode on line 82 is not valid. Deleting the 't', i.e.

changing it from f = codecs.open(filepath, mode="rt", encoding="latin_1", buffering=-1)
f = codecs.open(filepath, mode="r", encoding="latin_1", buffering=-1)

seems to fix it.
Attachments
EGAppControl.zip
(8.02 KiB) Downloaded 179 times
Post Reply