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.

SchedulGhost

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

Re: SchedulGhost

Post by Sem;colon »

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!
If you like my work, Image me a drink :wink:
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: SchedulGhost

Post by Pako »

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 »

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
Plugin Developer
Posts: 625
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: SchedulGhost

Post by Sem;colon »

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?
If you like my work, Image me a drink :wink:
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: SchedulGhost

Post by Pako »

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
Plugin Developer
Posts: 625
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: SchedulGhost

Post by Sem;colon »

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!!
If you like my work, Image me a drink :wink:
jlutsky
Posts: 16
Joined: Sun Mar 08, 2015 10:43 am

Re: SchedulGhost

Post by jlutsky »

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 »

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 »

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
Plugin Developer
Posts: 625
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: SchedulGhost

Post by Sem;colon »

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.
If you like my work, Image me a drink :wink:
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: SchedulGhost

Post by Pako »

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
Plugin Developer
Posts: 625
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: SchedulGhost

Post by Sem;colon »

:D OK, I will!
If you like my work, Image me a drink :wink:
Sem;colon
Plugin Developer
Posts: 625
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: SchedulGhost

Post by Sem;colon »

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 192 times
If you like my work, Image me a drink :wink:
skribb
Experienced User
Posts: 228
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: SchedulGhost

Post by skribb »

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 »

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