Page 3 of 4
Re: Scheduler
Posted: Thu Mar 18, 2010 10:05 am
by ibseventh
it still wont work
I can't manage to move it from the loggger to the configuration area of the macro
Re: Scheduler
Posted: Thu Mar 18, 2010 2:43 pm
by krambriw
This is a typical configuration for a timer action that works for me in my test set-up
You need to check carefully that it is really running
Once the event appears in the log, copy & paste it (or drag and drop it with left mouse button) to the macro you decide
Next time the timer event fires, it will trigger the macro and the actions inside
Re: Scheduler
Posted: Sun Jul 22, 2012 4:55 pm
by bxr
Can it awake the pc from sleep mode?
Re: Scheduler
Posted: Sat Oct 06, 2012 5:13 pm
by haklis
Hello, I am now using this plugin for time based control of lighting and heating. Next thing is:
How can I enable vacation mode from Python Script?
Hakon
Re: Scheduler
Posted: Sun Oct 07, 2012 6:19 am
by krambriw
Right now you can't but I am working on an update that allow this. When finished with this I will publish a version here.
Then you could do as follows from a python script to toggle the vacation mode on/off:
Code: Select all
eg.plugins.Scheduler.plugin.vacation_m = True
Code: Select all
eg.plugins.Scheduler.plugin.vacation_m = False
Re: Scheduler
Posted: Sun Oct 07, 2012 7:43 am
by krambriw
Here is an updated version that works as described above when I test it. Please note that when you change the state of the vacation mode, it is a runtime function and it is not being saved persistant. It will work as long as EG is running. If you restart EG or your PC, it will default back to the mode it is configured to.
Best R Walter
Re: Scheduler
Posted: Fri Oct 19, 2012 11:37 am
by haklis
Thanks!

I'll test it right away (I did not see the reply before today

)
Hakon
Re: Scheduler
Posted: Fri Oct 19, 2012 11:56 am
by haklis
krambriw wrote:Here is an updated version that works as described above when I test it. Please note that when you change the state of the vacation mode, it is a runtime function and it is not being saved persistant. It will work as long as EG is running. If you restart EG or your PC, it will default back to the mode it is configured to.
Thankt you for your update. I have tested it now and if I print the variable after I change it I can confirm that it is changed, but...
Is it correct that the Scheduler plugin panel does not show the correct status of vacation mode using this method?
eg.plugins.Scheduler.plugin.vacation_m = True
print "Vacation mode:" , eg.plugins.Scheduler.plugin.vacation_m
Re: Scheduler
Posted: Fri Oct 19, 2012 12:40 pm
by krambriw
Is it correct that the Scheduler plugin panel does not show the correct status of vacation mode using this method?
It can be discussed. This is done in this way, you can change the status in runtime but the basic configuration setting is not changed.
Best regards
Re: Scheduler
Posted: Fri Oct 19, 2012 1:55 pm
by haklis
OK. Thanks for the quick response. I now use a NEXA wireless button next to our front door to turn on/off vacation mode. The intention is that if we are leaving the house on a Saturday morning and do not want heating and lights to be on like normal, we just press the button when we leave. When we arrive we turn it off to continue Saturday schedule.
Hakon
Re: Scheduler
Posted: Fri Oct 19, 2012 2:58 pm
by krambriw
Hi, the only concern could be if you would have a power failure while in the "opposite" mode. I will check if I can make it persistent so that it at least restarts with the same mode as it had before the power break.
Best regards,
Re: Scheduler
Posted: Sun Dec 30, 2012 12:18 pm
by flopp
I have added this plugin now and it is running every minute, why?
Sync time is set to 30 min, whats does this mean?
EDIT: after i changed from default 30 min to 29 it works. It is sending event every 29 mins now.
Re: Scheduler
Posted: Sun Dec 30, 2012 1:31 pm
by krambriw
I have added this plugin now and it is running every minute, why?
It checks every minute if something shall be scheduled. What you see is just a test printed message (default loop info, this can easily be disabled via a checkbox)
Sync time is set to 30 min, whats does this mean?
It means that everything is set correctly to what has been defined. As example, suppose you have a lamp that is turned ON by the scheduler at 15.00 and will be scheduled OFF at 23.00. You would then expect that the lamp will be ON during this period. If someone now turns the lamp OFF manually, the scheduler will help to synchronize the state back to ON.
Best regards, Walter
Re: Scheduler
Posted: Sat Jan 05, 2013 10:36 am
by flopp
If i erase the number in sync- intervall and press up I get red error text in EG.
I think it needs a number to increase or?
Is there anything to do about that?
I solved it by typing 6 and then press up key.
Re: Scheduler
Posted: Sat Jan 05, 2013 10:59 am
by krambriw
11:47:02 Traceback (most recent call last) (1582):
11:47:02 File "C:\Program Files\EventGhost\eg\Classes\SpinNumCtrl.py", line 145, in OnChar
11:47:02 self.OnSpinUp(event)
11:47:02 File "C:\Program Files\EventGhost\eg\Classes\SpinNumCtrl.py", line 133, in OnSpinUp
11:47:02 value = self.numCtrl.GetValue() + self.increment
11:47:02 TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
I assume it would need a change in the EG class 'SpinNumCtrl.py' to handle that kind of exception. For the time, try to avoid deleting numbers, try to type over instead...
Best regards, Walter