Re: SunTracker plugin - with moving ghost
Posted: Sun May 03, 2009 10:47 am
The link to the last two versions are broken. Something to do with the new server?
Code: Select all
if not eg.globals.sunIsUp:
print "Sun is down"
eg.StopMacro()
Code: Select all
if eg.globals.sunIsUp:
print "Sun is up"
eg.StopMacro()
those would be great!krambriw wrote:Dear Livin,
Thanks a lot for your kind words! I think your idea is very interesting and something extremely useful as well
Some first thoughts about interesting features
- during the day, capture weather conditions and create a weighted counter sum that will be used in calculation in frequency/length of the sprinkler intervals that will be started after sunset
- try to "look ahead" by using weather forecasts (makes no sense to start if the fore cast for tomorrow is rain)
- temperature measurement, to be used in determining the first start time for the first sprinkle (makes no sense to put out water on the grass if temp still is to high?)
- cost tariff support (if water is cheaper after a certain time?)
- individual zone support of the device with "shadow" compensation factor i.e. some zones might be more in shadow, thus requiring less watering
- etc
Kind regards, Walter
Code: Select all
bSunStatus = eg.plugins.Suntracker.GetContentsOfVariable()
if bSunStatus:
print "Sun is up"
eg.StopMacro()