Zitat von the_ulli
Beitrag anzeigen
In <services> section of xml config, add
<location lon="4.20" lat="50.54"/>
Then you can use something like this in a timer:
<condition type='timer' trigger='true'>
<at type='sunrise' wdays='12' offset="1200"/>
<until hour='23' min='58' wdays='12'/>
</condition>
In <at .../> or <until .../> elements, you can set "type" attribute to "sunrise" , "sunset" or "noon". Of course, using "hour" and "min" attributes is useless, but "day", "month" and "year" still works, even if in most case you will use "wdays" and/or "exception" instead. The "offset" is a number of seconds added to the computed sunrise/set time. (negative offset should be possible also)
The feature is not much tested yet, but basic functionality seems to work.
Regards,
Jean-François
Kommentar