Page 1 of 1

Sunshine Hours Tag

Posted: Wed 14 Sep 2016 11:21 am
by Mapantz
Hi there!

I bought a new PC a few weeks, but the one thing I forgot to do, was turn off 'reboot after updates' and the login screen at start. - it rebooted during the night, but it was obviously stuck at the login screen since 3am. I haven't lost any data of course, but I was wondering how it works with the <#SunshineHours> web tag? There was sunshine for a few hours this morning, before it clouded over, and then it came back out around 10:30am. The solar data looks fine, but the <#SunshineHours> web tag is only returning 0.9hrs - which is right for the period when I got CMX running again. It isn't massively important, I was just wondering if it only calculates it while CMX is running?

Kind regards.

Re: Sunshine Hours Tag

Posted: Wed 14 Sep 2016 11:28 am
by steve
It should also calculate it from the logger data (using the logger interval) and I'm pretty sure that Cumulus 1 did it correctly. It's possible I've forgotten to write the code for it in MX - I'll check and let you know.

Re: Sunshine Hours Tag

Posted: Wed 14 Sep 2016 12:01 pm
by steve
Yes, I wrote the code to update sunshine hours from logger data for Fine Offset stations, but not for Davis stations. Fixed in the next build!

Re: Sunshine Hours Tag

Posted: Wed 14 Sep 2016 12:12 pm
by Mapantz
steve wrote:Yes, I wrote the code to update sunshine hours from logger data for Fine Offset stations, but not for Davis stations. Fixed in the next build!
Great stuff Steve - thanks for your help. :)

Kind regards.