The idea was to allow you to use the current sun status from "outside" of the SunTracker plugin. Like in a script, where you can make a decision based on "if statements", what to do if the sun is up or down
To use the actions you can do like this example in a script
- Code: Select all
bSunStatus = eg.plugins.Suntracker.GetContentsOfVariable()
print bSunStatus
bSunStatusWeatherCompensated = eg.plugins.Suntracker.GetSunStatusWeatherCompensated(15)
print bSunStatus
You will see that it prints True or False
The first alternative will give you an answer if the the sun is up (True) or down (False). The second shows basically the same but with weather compensation (15 minutes in this case) depending if it is cloudy, sunny, foggy etc. The weather compensation concept is described earlier in this thread
Best regards, Walter