Tom, I suspect that in this case FreshWDL is displaying sunshine hours as measured by a sunshine recorder <https://en.wikipedia.org/wiki/Sunshine_recorder>. Some PWS software approximates sunshine hours by calculating the cumulative time for a day where the solar irradiance is above a given level. From memory the measurement of sunshine hours has come up a couple of times here or in weewx-development.
Gary On Tuesday, 27 October 2020 at 22:25:34 UTC+10 tke...@gmail.com wrote: > The Seasons skin has something you can use. Look in the file > celestial.inc. > > If you just want amount of daylight, try something like (NOT TESTED): > > #set $sunrise_ts = $almanac.sun.rise.raw > #set $sunset_ts = $almanac.sun.set.raw > #if $sunrise_ts and $sunset_ts > > #set $today_daylight = $sunset_ts - $sunrise_ts > #set $seconds = $today_daylight > #set $hours = $seconds //3600 > #set $seconds %= 3600 > #set $minutes = $seconds//60 > #set $seconds %= 60 > #set $daylight_str = "%d hours, %d minutes, %d seconds" % ($hours, > $minutes, $seconds) > > <p>Total daylight: $daylight_str</p> > > #end if > > -tk > > On Mon, Oct 26, 2020 at 7:55 PM gjr80 <gjrod...@gmail.com> wrote: > >> Hallo Kalli, >> >> The short answer is at the moment sunshine hours is not provided by WeeWX >> or WeeWX-WD. Looking at the WeeWX-WD code it appears to be something I >> started working on but never fully implemented. Can you let me know hat >> version of WeeWX and WeeWX-WD you are running. It should be a simple >> function to implement. >> >> Gary >> >> On Tuesday, 27 October 2020 at 03:16:23 UTC+10 Kalli wrote: >> >>> >>> Hello i have weewx-wd. in FreshWDL the sun is displayed. unfortunately i >>> can't find any settings for it at weewx. Can anybody help me further. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to weewx-user+...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/884f712b-74c8-4bd4-8655-74610e4f94dcn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/884f712b-74c8-4bd4-8655-74610e4f94dcn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3ad7fb34-745e-40bd-8e65-454da4c0c701n%40googlegroups.com.