SchedulGhost

Questions and comments specific to a particular plugin should go here.
Post Reply
User avatar
Pako
Plugin Developer
Posts: 2274
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

SchedulGhost

Post by Pako » Sun Aug 29, 2010 11:19 am

Edit 2013-05-05 11:38 GMT+1: Download link corrected
Here is a link to download.
After some time I come with a new plugin. It is basically a scheduler (but with extra features egg timer).
Because the plugin called Scheduler, you've got (the author is krambriw), I gave the name of the plugin SchedulGhost.
This new plugin can (but not in all cases !) to replace the Bartman's plugin Timer (so then there is no need in configuring both plugins).
Philosophy of control (configuration) SchedulGhost plugin is somewhat different from previous Scheduler or Timer plugins.
I relied on the following assumptions:
1) I think it is better able to manage all the schedules and timers in one place (using a single configuration dialog),
than to have a specific dialogue for each schedule or timer.
2) I think it is advantageous to be able to open this central configuration dialog without having to open the main window EventGhost.
3) The plugin has a built-in option to log its events into a text file.
4) To change the time settings of Egg timer is also not necessary to open the main window EventGhost.
5) Is it possible to have more Egg timer with individual settings
6) All schedules and timers can be individually or collectively, to disable or enable with the use of actions. With other actions is also possible to add and delete schedules (without opening the configuration dialog).

The plugin is quite complicated and it gave me a lot of development work. It is very difficult test all possible situations
and it is very likely that it contains bugs. I therefore welcome, if anyone of you try the most detailed test of this plugin.
I welcome too, if they find someone who will check all the English texts and draw attention to my mistakes. I unfortunately do not speak English.
That is why I am not able to write an instruction manual. On the other hand, however, I believe that the dialogs are intuitive enough,
and you'll be able to use them.
I hope you will enjoy SchedulGhost and you will wish to use.

I think a lot more than words can tell you pictures.
SchedulGhost-PluginDialog.jpg
SchedulGhost-PublicHolidaysDialog.jpg
SchedulGhost-PublicHolidaysDialog.jpg (20.48 KiB) Viewed 19636 times
Due to the limitation of the number of attachments for other pictures I make a new post.
Pako
Last edited by Pako on Tue Oct 19, 2010 6:32 am, edited 7 times in total.
You know flattr ? You can Image

User avatar
Pako
Plugin Developer
Posts: 2274
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: SchedulGhost

Post by Pako » Sun Aug 29, 2010 11:25 am

SchedulGhost-ScheduleManager.jpg
SchedulGhost-Tree.jpg
SchedulGhost-Tree.jpg (13.51 KiB) Viewed 19634 times
SchedulGhost-TrayMenuExample.jpg
SchedulGhost-TrayMenuExample.jpg (10.68 KiB) Viewed 19634 times
You know flattr ? You can Image

User avatar
Pako
Plugin Developer
Posts: 2274
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: SchedulGhost

Post by Pako » Sun Aug 29, 2010 11:27 am

SchedulGhost-EggTimerConfigDialog.jpg
SchedulGhost-EggTimerStartFrame.jpg
SchedulGhost-EggTimerStartFrame.jpg (10.34 KiB) Viewed 19634 times
SchedulGhost-EggTimerPop-up.jpg
You know flattr ? You can Image

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SchedulGhost

Post by krambriw » Sun Aug 29, 2010 1:59 pm

Ooooh Pako, this is fantastic, you are brilliant!

I see a great use of this very competent plugin, it will be a pleasure to start using it

Many thanks,
Walter

User avatar
Pako
Plugin Developer
Posts: 2274
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: SchedulGhost

Post by Pako » Sun Aug 29, 2010 4:59 pm

It is very pleasant to hear!
I hope that you will be equally enthusiastic, even after several days of use.
Then please write your experiences and suggestions for further improvement.

Pako
You know flattr ? You can Image

User avatar
Livin
Experienced User
Posts: 790
Joined: Wed Oct 08, 2008 4:56 am

Re: SchedulGhost

Post by Livin » Mon Aug 30, 2010 3:16 pm

This looks great... I've been avoiding timers to this point because it was sort of a pain, I will try your plugin as it looks very nice.

Pako, have you considered working on the EG core? Brett (stottle) has been doing a complete redesign of the EG methodology. I've been bouncing ideas around with him and the new design will be awesome... maybe you can give him a hand coding it - seeing how talented you are :) ?
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

mwkurt
Posts: 4
Joined: Sun Jun 27, 2010 3:13 am

Re: SchedulGhost

Post by mwkurt » Tue Aug 31, 2010 12:13 am

Hello,

I would like very much to use your timer plugin, however, I am a bit new to EventGhost, Would anyone be willing to post an example?

I would like to set the timer to perform an action every 24 hours. Could someone show me the steps and how to fill out the various options?

Thanks,
Mark

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SchedulGhost

Post by krambriw » Tue Aug 31, 2010 6:11 am

Hi, you need to run the macro "Show SchedulGhost". It will bring up a dialogue where you can add a schedule with your settings like the example below. The example will run and every day at 19 it will create an event that you can add to your macro with further actions inside

Best regards, Walter
Image3.jpg

miljbee
Experienced User
Posts: 146
Joined: Fri Mar 27, 2009 1:29 pm
Location: Orléans, France

Re: SchedulGhost

Post by miljbee » Wed Sep 08, 2010 8:18 am

Hello Pako,

I am a sort of "heavy" user of scheduler + Timer. I will give a try to your plugin and see how it can improve my eg tree.

I'll keep you informed. Thanks for the great work.

Regards,

User avatar
Pako
Plugin Developer
Posts: 2274
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: SchedulGhost

Post by Pako » Sat Sep 11, 2010 5:12 pm

New version 0.0.3 released. Added action "Start egg timer" (without the possibility of adjust of time to elapse).
Download link is in the initial post.
Pako
You know flattr ? You can Image

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SchedulGhost

Post by krambriw » Sun Sep 19, 2010 5:19 am

Dear Pako,

I have a configuration whith multiple plugins and I get the following error seen below. I could avoid the error if I positioned SchedulGhost as the first plugin in the tree Autostart
However, I think there is something that might cause problems, maybe you could add a retry in the code somewhere

Best regards, WAlter

Code: Select all

05:48:44         Traceback (most recent call last) (1397):
05:48:44           File "C:\Program Files\EventGhost\eg\Classes\PluginInstanceInfo.py", line 176, in Start
05:48:44             self.instance.__start__(*self.args)
05:48:44           File "C:\Program Files\EventGhost\plugins\SchedulGhost\__init__.py", line 1648, in __start__
05:48:44             self.UpdateEGscheduler()
05:48:44           File "C:\Program Files\EventGhost\plugins\SchedulGhost\__init__.py", line 2205, in UpdateEGscheduler
05:48:44             startMoment = self.NextRun(schedule[2], schedule[3])
05:48:44           File "C:\Program Files\EventGhost\plugins\SchedulGhost\__init__.py", line 1857, in NextRun
05:48:44             runTime = dt.strptime(data[0], "%H:%M:%S").time()
05:48:44         ImportError: Failed to import _strptime because the import lockis held by another thread.

User avatar
Pako
Plugin Developer
Posts: 2274
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: SchedulGhost

Post by Pako » Sun Sep 19, 2010 10:31 am

Hi Walter !
Thank you for the report.
Can you please send a procedure whereby I could induce the same error?
I tried it several times but without success.
Maybe you can attach configuration file.

Pako
You know flattr ? You can Image

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SchedulGhost

Post by krambriw » Mon Sep 20, 2010 3:27 pm

Hello Pako,

Lets see if you can recreate the same problem

The picture below shows my configuration. Besides your SchedulGhost I have a special private plugin called NHS that I use to monitor UPM temp&humidity sensors in my house and do some calculation on received data

With the configuration as is, I get the problem reported. If I move your plugin to be first in Autostart, the problem goes away

Best regards, Walter
Image2.jpg
HomeManager.xml
(2.63 KiB) Downloaded 528 times
NHS.zip
(31.27 KiB) Downloaded 516 times

User avatar
Pako
Plugin Developer
Posts: 2274
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: SchedulGhost

Post by Pako » Mon Sep 20, 2010 4:47 pm

Hi Walter !
Thank you, but I still can not replicate your situation.
During what operation (in which moment) you will receive this error message?
The same problem occurs even when in the configuration is instead of NHS another plugin?

Pako
You know flattr ? You can Image

krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: SchedulGhost

Post by krambriw » Mon Sep 20, 2010 5:31 pm

Hi Pako,
The error comes right away at startup of EG. I think it is because of a conflict with NHS
I have tested with other plugins but it is only mine that causes problems. Running under Vista best to mention ;)
I will also try now with XP

Best regards, Walter

Post Reply