1,651
edits
Line 1,951: | Line 1,951: | ||
=Day/Night/Sun/Moon= | =Day/Night/Sun/Moon= | ||
These values are calculated hourly. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 1,960: | Line 1,960: | ||
|- | |- | ||
|<#sunrise> | |<#sunrise> | ||
|Last sunrise time at the station - This sunrise time is calculated by a third party library | |Last sunrise time at the station - This sunrise time is calculated by a third party library each hour Cumulus converts it to local time to ensure shown correctly before and after any clock change. | ||
|- | |- | ||
|<#sunset> | |<#sunset> | ||
|Next sunset time at the station - The sunset/sunrise times are calculated | |Next sunset time at the station - The sunset/sunrise times are calculated each hour Cumulus converts it to local time to ensure shown correctly before and after any clock change. | ||
|- | |- | ||
|<#daylength> | |<#daylength> | ||
|Length of day in hours and minutes (sunrise to sunset) | |Length of day in hours and minutes (sunrise to sunset). | ||
|- | |- | ||
|<#IsSunUp> | |<#IsSunUp> | ||
Line 1,980: | Line 1,980: | ||
|- | |- | ||
|<#daylightlength> | |<#daylightlength> | ||
| Approximate length of daylight in hours and minutes (dawn to dusk) | | Approximate length of daylight in hours and minutes (dawn to dusk) | ||
|- | |- | ||
|<#isdaylight> | |<#isdaylight> | ||
Line 1,986: | Line 1,986: | ||
Possible values are 0 or 1, where 1 notes that it is currently within the hours of daylight. | Possible values are 0 or 1, where 1 notes that it is currently within the hours of daylight. | ||
|- | |- | ||
|<#tomorrowdaylength> | |<#tomorrowdaylength> | ||
|A string giving an approximate predicted difference between the length of daylight (dawn to dusk) yesterday and length of daylight tomorrow. | |A string giving an approximate predicted difference between the length of daylight (dawn to dusk) yesterday and length of daylight tomorrow. | ||
|- | |- | ||
|<#moonphase> | |<#moonphase> | ||
Line 1,998: | Line 1,995: | ||
|<#MoonAge> | |<#MoonAge> | ||
|Current '''approximate''' age of the Moon in days (0-29.53) | |Current '''approximate''' age of the Moon in days (0-29.53) | ||
|- | |- | ||
|<#moonrise> | |<#moonrise> | ||
Line 2,013: | Line 2,004: | ||
|<#MoonPercent> | |<#MoonPercent> | ||
|Current percentage of moon visible (negative value indicates 'waning') | |Current percentage of moon visible (negative value indicates 'waning') | ||
|- | |- | ||
|<#MoonPercentAbs> | |<#MoonPercentAbs> | ||
|Current percentage of moon visible (always positive) | |Current percentage of moon visible (always positive) | ||
|- | |- | ||
|<#SunshineHours> | |<#SunshineHours> | ||
Line 2,033: | Line 2,020: | ||
|Returns 1 if the sun is shining, otherwise 0 (Solar sensor needed) | |Returns 1 if the sun is shining, otherwise 0 (Solar sensor needed) | ||
|} | |} | ||
=Alarms= | =Alarms= |