HomeGenie Forum
Development => Bug reporting => Topic started by: HGexperimenter on June 27, 2016, 03:00:01 AM
-
After starting, runs OK then this error:
Runtime.Error = "CR: Collection was modified; enumeration operation may not execute."
Nothing changed on my config other than the new revision from 5524 to r525
-
On rev 525 my scheduling options are gone. Jkutils solar altitude is gone and there are no scheduling options at my modules
-
Read this:
http://www.homegenie.it/forum/index.php?topic=1587.msg10073#msg10073 (http://www.homegenie.it/forum/index.php?topic=1587.msg10073#msg10073)
g.
-
Thanks Gene,
I stopped the Scheduler On/Off program and added a new event in the Scheduler.
Question: Can you please point me to the docs for the new scheduler?
-
Well docs are still a work in progress... I did put some info here:
http://genielabs.github.io/HomeGenie/scheduler.html (http://genielabs.github.io/HomeGenie/scheduler.html)
This only actually refers to how to write cron expressions (the new syntax).
But the new scheduler also have a powerful "wizard" that let you create time expressions using the mouse (see picture).
After you define what the schedule is, you can select the modules that will be affected by this schedule.
And finally you can enter a "Script" that will be executed at every occurrence of the schedule and that will be handling the previously selected modules.
The script use Javascript language and there are already a few examples included in the wizard.
I'll let you know when the documentation will be in a "readable" state. Also have a look at this:
http://genielabs.github.io/HomeGenie/walkthrough.html (http://genielabs.github.io/HomeGenie/walkthrough.html)
Suggestions are welcome.
-
Gene,
Just to be clear:
Should I stop the program (PID 501) "Solar Altitude" from running because it is inside the new Scheduler?
When I did my update the program was still there in the "Weather and Environment" group.
Thank you! I very much appreciate the progress you are making!
(PS: I suppose I could look at the source code too :) )
*******************
Bump: Does anyone have information on Sunrise/Sunset with the new scheduler without (PID 501) "Solar Altitude" running?
-
I'm sticking with r519 for now as I know it's stable. When I hear that the new scheduler is solid, I'll update. My wife wasn't too pleased the last couple times I updated and grenaded the whole system. :o
-
Use @SolarTimes.Sunrise and @SolarTimes.Sunset.
-
@SolarTimes.Sunrise and @SolarTimes.Sunset works.
No need for the old program (PID 501) "Solar Altitude" to run.
New scheduler:
Also the ability to create time math such as: "(@SolarTimes.Sunset +60)" is great!