SunInfo Plugin Help
Download pluginSensors:
- Sunrise - Time of sunrise.
- Sunset - Time of sunset.
- CurrentAzimuth - The current azimuth of the sun.
- CurrentElevation - The current elevation of the sun.
- AzimuthSunrise - The azimuth of the sun at sunrise.
- AzimuthSunset - The azimuth of the sun at sunset.
- SolarNoon - The time of the solar noon (when is the azimuth at 0 degrees).
Parameters:
- DecimalPlaces: Number of decimal places to round to. Default is -1 (or no rounding).
- FormatString: The formatting of the time string. See notes below.
- Latitude: The latitude in decimal degrees. See notes below.
- Longitude: The longitude in decimal degrees. See notes below.
Notes:
The latitude and longitude need to be in decimal degrees (that is DDD.dddd). To convert from degrees, minutes and seconds, (ie 0° 0' 0"), use
decimal_degrees = degrees + (minutes / 60) + (seconds / 3600)
Valid formatters for the sensors that return time based parameters.
%a
Abbreviated weekday name
%A
Full weekday name
%b
Abbreviated month name
%B
Full month name
%c
Date and time representation appropriate for locale
%d
Day of month as decimal number (01 – 31)
%H
Hour in 24-hour format (00 – 23)
%I
Hour in 12-hour format (01 – 12)
%j
Day of year as decimal number (001 – 366)
%m
Month as decimal number (01 – 12)
%M
Minute as decimal number (00 – 59)
%p
Current locale's A.M./P.M. indicator for 12-hour clock
%S
Second as decimal number (00 – 59)
%U
Week of year as decimal number, with Sunday as first day of week (00 – 53)
%w
Weekday as decimal number (0 – 6; Sunday is 0)
%W
Week of year as decimal number, with Monday as first day of week (00 – 53)
%x
Date representation for current locale
%X
Time representation for current locale
%y
Year without century, as decimal number (00 – 99)
%Y
Year with century, as decimal number
%z, %Z
Either the time-zone name or time zone abbreviation, depending on registry settings; no characters if time zone is unknown
%%
Percent sign
Taken from the MSDN documentation for strftime.
Changelog:
1.0.0.1
- Initial public release.