Location &/or timezone based conditions (like the time condition, but using dawn/dusk), and triggers for dawn/dusk times would be quite useful (for example deciding when to activate an outside light).
Mike
dusk/dawn triggers and conditions
Moderator: Martin
Re: dusk/dawn triggers and conditions
I change the luminosity of the cell with the sunsrise and sunset hour.
See this topic to know how to do it for your city.
http://automagic4android.com/forum/view ... f=3&t=1853
See this topic to know how to do it for your city.
http://automagic4android.com/forum/view ... f=3&t=1853
Re: dusk/dawn triggers and conditions
Very cool. Do I have it right - I would use it as a condition by calling the action and saving the results in a script variable to test in a condition?
Mike
Mike
Re: dusk/dawn triggers and conditions
Well, english is not my primary language so I don't really understand your question. The flow name 'sun' get the sunrise and sunset time and store the value in a global variable (global_sunrise and global_sunset). You can use these global variables in a trigger, an action or a condition. I made a widget that shiw the sunset and sunrise value. To use the flow you must get a free key code and put it in the action astronomy.
The flows:
http://automagic4android.com/flow.php?i ... 6370944828
The widget:
http://automagic4android.com/flow.php?i ... 68cb45eceb
The flows:
http://automagic4android.com/flow.php?i ... 6370944828
The widget:
http://automagic4android.com/flow.php?i ... 68cb45eceb
Re: dusk/dawn triggers and conditions
Sorry, I asked the question badly but you answered it perfectly - that's exactly what I was looking for - how to make the sunrise/sunset times available for use in a condition. Thanks!
Mike
Mike