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.

Search found 21 matches

by etc6849
Mon Oct 06, 2014 10:17 pm
Forum: General Support
Topic: Have event ghost spin up/down hard drives?
Replies: 1
Views: 1143

Have event ghost spin up/down hard drives?

I'm wondering if anyone has any ideas on how to have EG spin up/down non-system hard drives. The drives are SATA drives in the same PC that is running EG and use an LSI SAS 9201-16i controller. I'm using Flexraid to pool the drives, so they appear as one drive to windows. The drives are used in an ...
by etc6849
Wed Jun 19, 2013 10:41 pm
Forum: Plugin Support
Topic: Finally, an easy way to control your home with EventGhost!
Replies: 0
Views: 2377

Finally, an easy way to control your home with EventGhost!

If you haven't heard of Premise before, it's a free home automation program that Motorola makes available for free. It can be downloaded here: http://cocoontech.com/forums/topic/23480-download-premise-2115117zip/

Summary of what Premise is: http://cocoontech.com/forums/page/home-automation-software ...
by etc6849
Fri Jan 18, 2013 6:16 pm
Forum: General Support
Topic: How to track dvi monitor's state?
Replies: 7
Views: 4597

Re: How to track dvi monitor's state?

Thanks!

This sounds like the best solution I can hope for. It still doesn't handle the case of when the user turns off the monitor using its front button, but oh well.

PS: I'm actually not using EG directly to control the monitor directly, but my home automation system, which in turns talks to EG ...
by etc6849
Thu Jan 17, 2013 4:37 am
Forum: Coding Corner
Topic: I have a plugin I'd like to contribute, please help!
Replies: 2
Views: 2552

I have a plugin I'd like to contribute, please help!

I found that the svn is discussed here: http://sourceforge.net/projects/eventghost/develop?source=navbar

I see that the most recent version of EventGhost is here:
http://www.eventghost.net/downloads/

Can anyone check out and add to the SVN? Will the changes automatically be included in the next ...
by etc6849
Tue Jan 15, 2013 4:51 am
Forum: Coding Corner
Topic: Please check my first tcp plugin for any conceptual errors
Replies: 3
Views: 2924

Re: Please check my first tcp plugin for any conceptual erro

It's unique, I used an online tool. Premise also generates GUID's automatically when you copy/paste objects. I guess like Premise duplicate GUIDs would be an easy way to crash EventGhost...
by etc6849
Mon Jan 14, 2013 4:02 am
Forum: Coding Corner
Topic: Please check my first tcp plugin for any conceptual errors
Replies: 3
Views: 2924

Re: Please check my first tcp plugin for any conceptual erro

Ok, I found another bug, but I'm not sure if it's my fault (for once)!?!

If you run the plugin and examine the event log (also add a print statement as shown below), you'll see that ~1/5 events are dropped! This goes away if I comment out "self.oEventHandlerThreadEvent.wait(0.01)," but this is bad ...
by etc6849
Mon Jan 14, 2013 3:54 am
Forum: General Support
Topic: How to track dvi monitor's state?
Replies: 7
Views: 4597

Re: How to track dvi monitor's state?

Unfortunately, I think that thread is for when you connect a second monitor (e.g. TV). I did try the plugin mentioned in that thread, but it still didn't work.

What I'm wanting for EG to raise an event whenever my monitor goes to sleep (e.g. Windows turns off my display). The idle time idea I had ...
by etc6849
Sun Jan 13, 2013 9:38 pm
Forum: Coding Corner
Topic: Please check my first tcp plugin for any conceptual errors
Replies: 3
Views: 2924

Please check my first tcp plugin for any conceptual errors

The code below works great and I've been through it several times now (and fixed many things I initially had wrong), but this is my first attempt at Python and EventGhost (and I'm self taught and not a professional programmer).

The plugin acts as a TCP server, listening for a client. The client is ...
by etc6849
Sun Jan 13, 2013 1:50 am
Forum: General Support
Topic: How to track dvi monitor's state?
Replies: 7
Views: 4597

Re: How to track dvi monitor's state?

ok, I think I have something that kind of works, but it is definitely a kludge, so please provide suggestions! I found that if I use sendkeys, the system.unidle event is set (but only if the system has entered idle state).

Is the control key a good key to send?!? I can't think of a program that ...
by etc6849
Sun Jan 13, 2013 12:51 am
Forum: General Support
Topic: How to track dvi monitor's state?
Replies: 7
Views: 4597

Re: How to track dvi monitor's state?

Another interesting point is that powering on the monitor as shown in the last post does seemed to reset the system.idle timer. This isn't a deal breaker though as there are actions that can restart this timer for me.
by etc6849
Sun Jan 13, 2013 12:16 am
Forum: General Support
Topic: How to track dvi monitor's state?
Replies: 7
Views: 4597

How to track dvi monitor's state?

I'm using windows 7 x64 with a single monitor (connected via DVI).

When I use the python a command to turn off the monitor (from another PC via a TCP socket), event packets are received as shown below (ignore special formatting):

When I turn the monitor off (via Python command: eg.plugins.System ...
by etc6849
Sat Jan 12, 2013 6:56 pm
Forum: Coding Corner
Topic: Where to find a list of all possible system events?
Replies: 0
Views: 2209

Where to find a list of all possible system events?

I searched the documentation for "system" and could not find a list of all possible system events. Does this exist somewhere?
by etc6849
Fri Jan 11, 2013 4:12 pm
Forum: Coding Corner
Topic: How to send all EG events over tcp w/o creating a macro??
Replies: 10
Views: 6249

Re: How to send all EG events over tcp w/o creating a macro?

Thanks!

Definitely a love/love relationship with Premise and EventGhost. EG has a lot of neat plugin actions that Premise can now access by passing a python command line over tcp (along with triggering EG events via TCP), and Premise can easily do stuff that you would never want to write EG plugin ...
by etc6849
Fri Jan 11, 2013 3:14 pm
Forum: Coding Corner
Topic: How to send all EG events over tcp w/o creating a macro??
Replies: 10
Views: 6249

Re: How to send all EG events over tcp w/o creating a macro?

Thanks, this is what I was wondering about.
by etc6849
Fri Jan 11, 2013 2:23 pm
Forum: Coding Corner
Topic: How to send all EG events over tcp w/o creating a macro??
Replies: 10
Views: 6249

Re: How to send all EG events over tcp w/o creating a macro?

kambriw,

I haven't tried using the time property yet. I thought of it after I made my post, then went back and edited it ;)

Thanks for the pointer about CPU loading. This is my first Python script (and my first time using threads in any language) so any other pointers are appreciated.

PS: Is ...