SchedulGhost

Questions and comments specific to a particular plugin should go here.
Sem;colon
Experienced User
Posts: 609
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: SchedulGhost

Post by Sem;colon » Mon Feb 16, 2015 11:21 pm

Hi Pako,

I think I found a bug - do the following to reproduce:
-Create a schedule to trigger on week days and select at least the actual day (I don't know if the result is the same with other types, I didn't check it)
-Select a time that is in the future for the start event(not too far, you will need to wait for it), no stop event
-Save and enable that schedule
-Use Force to run schedule immediately to trigger the just created schedule
-Wait until the time you set is reached

You will see that the schedule doesn't trigger again as the time is reached, even if it's enabled.

Do you have an idea why?

Thank you!

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

Re: SchedulGhost

Post by Pako » Sat Feb 21, 2015 5:08 am

Thanks for the warning.
I'll look at it.

Pako
You know flattr ? You can Image

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

Re: SchedulGhost

Post by Pako » Tue Mar 03, 2015 4:25 pm

Sem;colon wrote:Hi Pako,
I think I found a bug ...
I have patched version in which the bug is not already.
But I came across a dilemma. Here is an example:
I have a schedule Test (where span = 5 minutes) to be started at 18:00.
I manually run this schedule at 17:58.
EventGhost log:

Code: Select all

17:58:00   Test.Start
18:00:00   Test.Start
18:03:00   Test.Stop
18:05:00   Test.Stop
It does not seem to me to be completely perfect. But I will leave it at that.
In another case, that would mean too many complications (for example: when to start the next run at periodic schedules ?)
Repository link

Pako
You know flattr ? You can Image

Sem;colon
Experienced User
Posts: 609
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: SchedulGhost

Post by Sem;colon » Tue Mar 03, 2015 9:17 pm

Cool, I'll try it and let you know! :)

Thank you!!
Pako wrote: But I came across a dilemma. Here is an example:
I don't know what you mean, isn't that exactly what should happen?

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

Re: SchedulGhost

Post by Pako » Wed Mar 04, 2015 5:38 am

Sem;colon wrote:I don't know what you mean, isn't that exactly what should happen?
When I wrote a dilemma, so I was referring to the described example and whether to leave it or not.
But as I wrote earlier, I decided to leave it at that.
Another option would be to devise a rule to avoid overlap.

Pako
You know flattr ? You can Image

Sem;colon
Experienced User
Posts: 609
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: SchedulGhost

Post by Sem;colon » Wed Mar 04, 2015 5:01 pm

I see, you think it would be nicer if it:

Code: Select all

17:58:00   Test.Start
18:00:00   Test.Start
18:05:00   Test.Stop
right?
I don't think that's an issue...

BTW. It works great! Thank you!!

jlutsky
Posts: 16
Joined: Sun Mar 08, 2015 10:43 am

Re: SchedulGhost

Post by jlutsky » Wed Mar 11, 2015 7:10 am

Is there a way to pass payload with the event from an Egg Timer?

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

Re: SchedulGhost

Post by Pako » Wed Mar 11, 2015 7:31 am

jlutsky wrote:Is there a way to pass payload with the event from an Egg Timer?
No.
But I think you can use the normal schedule of "Time span".

Pako
You know flattr ? You can Image

cguy123
Posts: 5
Joined: Tue Jan 01, 2008 7:48 pm

Re: SchedulGhost

Post by cguy123 » Wed Sep 09, 2015 11:01 am

I've been using your plugin for a long time with no problems - Thank you.

However, for some reason unknown, this morning I get this error message in my log file when it's trying to start ScheduleGhost.

Error starting plugin: SchedulGhost
Traceback (most recent call last) (1700):
File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginInstanceInfo.py", line 177, in Start
self.instance.__start__(*self.args)
File "C:\Program Files (x86)\EventGhost\plugins\SchedulGhost\__init__.py", line 1669, in __start__
self.data = self.xmlToData()
File "C:\Program Files (x86)\EventGhost\plugins\SchedulGhost\__init__.py", line 2440, in xmlToData
xmldoc = miniDom.parse(xmlfile)
File "xml\dom\minidom.pyc", line 1918, in parse
File "xml\dom\expatbuilder.pyc", line 924, in parse
File "xml\dom\expatbuilder.pyc", line 211, in parseFile
ExpatError: no element found: line 1, column 0

I'm not a programmer, so I don't even know where to begin here. Any help would be appreciated.

Thanks,
cguy

Sem;colon
Experienced User
Posts: 609
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: SchedulGhost

Post by Sem;colon » Sun Oct 11, 2015 1:24 pm

Hi Pako,

I recently started using the holiday function of SchedulGhost which is a very nice idea, but I noticed some limitations:
-You can't select "Do also trigger events for a non-chosen day if it happens to be a holiday" if you don't select any day, but this would be nice if you like your schedule to only trigger on holidays.
-A lot of people are working on Saturday - but not if it's a holiday (e.g. super market), it's currently not possible to create a schedule for them that triggers on each of their working days, but not on holidays, on a weekly basis.
-You may want to select "Do not trigger events for a chosen day if it happens to be a holiday" even if you set your schedule to trigger on a Saturday or Sunday as holidays are often a bit more special than normal Saturdays or Sundays.

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

Re: SchedulGhost

Post by Pako » Tue Oct 13, 2015 1:29 pm

Hi Sem;colon !
You can add it yourself.
I do not remember anything from the development of the plugin,
so add a feature, it would mean the same effort for me and for you.

Pako
You know flattr ? You can Image

Sem;colon
Experienced User
Posts: 609
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: SchedulGhost

Post by Sem;colon » Tue Oct 13, 2015 4:33 pm

:D OK, I will!

Sem;colon
Experienced User
Posts: 609
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: SchedulGhost

Post by Sem;colon » Sun Oct 18, 2015 9:31 am

Done!
I did it by removing the distinction between weekend days and workdays, all days are workdays now.
Attachments
__init__.py
0.1.14
(139.59 KiB) Downloaded 144 times

skribb
Experienced User
Posts: 223
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: SchedulGhost

Post by skribb » Sat Oct 24, 2015 8:33 am

How do I set up SchedulGhost to run an audio file at set hours? i.e 0800, 0815, 0900 etc

I'm completely new to this plugin btw.
Automation is life.

Win7 64bit
EG: v0.5.0-rc4

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

Re: SchedulGhost

Post by Pako » Sun Oct 25, 2015 2:55 pm

skribb wrote:How do I set up SchedulGhost to run an audio file at set hours? i.e 0800, 0815, 0900 etc
What does "etc"?
Can you clarify?
You can specify the whole set?
It has to operate every day?

Pako
You know flattr ? You can Image

Post Reply