Re: [weewx-user] Re: Sunshine Hours

2020-11-11 Thread karl Lutz
Great you are the best From: gjr80 Sent: Wednesday, November 11, 2020 3:30 AM To: weewx-user Subject: [weewx-user] Re: Sunshine Hours Hi Kalli, Not sure how I missed clientrawextra. I've updated the template and it should be correct now. To use the updated template: 1. move aside your

Re: [weewx-user] Re: Sunshine Hours

2020-11-06 Thread karl Lutz
Hello i made the change. but with WD-Live only the primeval time is displayed. please take a look. http://wetter-uerdingen.de/ cu. Kalli From: gjr80 Sent: Monday, November 2, 2020 5:10 AM To: weewx-user Subject: Re: [weewx-user] Re: Sunshine Hours Kalli, I've added an approximation

Re: [weewx-user] Re: Sunshine Hours

2020-11-01 Thread gjr80
Kalli, I've added an approximation for sunshine time to WeeWX-WD. The algorithm involves calculating the elapsed time in seconds for which the WeeWX field ' radiation' is above a set threshold level and storing this time in field ' sunshine' in the WeeWX-WD database weewxwd.sdb. The default

Re: [weewx-user] Re: Sunshine Hours

2020-11-01 Thread gjr80
Hi Kalli, Have written the code but just sorting out a couple of unrelated issues that are causing problems under WeeWX v3.8.0. Won't be long. Gary On Sunday, 1 November 2020 at 23:26:07 UTC+10 Kalli wrote: > Hello Gir80 > I'm curious what you're doing great again. > > cu.Kalli > > > > Am

Re: [weewx-user] Re: Sunshine Hours

2020-11-01 Thread Kalli
Hello Gir80 I'm curious what you're doing great again. cu.Kalli Am Dienstag, 27. Oktober 2020 22:39:17 UTC+1 schrieb gjr80: > > Thanks Kalli, I will put something together and email you. > > Gary > > On Wednesday, 28 October 2020 at 01:52:30 UTC+10 Kalli wrote: > >> Gir80 I have the weewx

Re: [weewx-user] Re: Sunshine Hours

2020-10-27 Thread gjr80
Thanks Kalli, I will put something together and email you. Gary On Wednesday, 28 October 2020 at 01:52:30 UTC+10 Kalli wrote: > Gir80 I have the weewx 3.8 weewx wd v1.3 > > tke...@gmail.com schrieb am Dienstag, 27. Oktober 2020 um 13:40:39 UTC+1: > >> Never mind! >> >> On Tue, Oct 27, 2020 at

Re: [weewx-user] Re: Sunshine Hours

2020-10-27 Thread Kalli
Gir80 I have the weewx 3.8 weewx wd v1.3 tke...@gmail.com schrieb am Dienstag, 27. Oktober 2020 um 13:40:39 UTC+1: > Never mind! > > On Tue, Oct 27, 2020 at 5:39 AM gjr80 wrote: > >> Tom, >> >> I suspect that in this case FreshWDL is displaying sunshine hours as >> measured by a sunshine

Re: [weewx-user] Re: Sunshine Hours

2020-10-27 Thread Tom Keffer
Never mind! On Tue, Oct 27, 2020 at 5:39 AM gjr80 wrote: > Tom, > > I suspect that in this case FreshWDL is displaying sunshine hours as > measured by a sunshine recorder > . Some PWS software > approximates sunshine hours by calculating the

Re: [weewx-user] Re: Sunshine Hours

2020-10-27 Thread gjr80
Tom, I suspect that in this case FreshWDL is displaying sunshine hours as measured by a sunshine recorder . Some PWS software approximates sunshine hours by calculating the cumulative time for a day where the solar irradiance is above a given

Re: [weewx-user] Re: Sunshine Hours

2020-10-27 Thread Tom Keffer
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