Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

b3141 - Sunshine hours & ET

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

b3141 - Sunshine hours & ET

Post by jon_iz »

I run both a RPi4 and PC via WLL and Weatherlink pro subscription. The RPi4 is a test platform, ftp'ing to it's own set of folders on my host.

I've noted from the release notes, there is fix for sunshine hours and ET should now work subject to Pro sunscription..
I have updated the RPi4 from b3133 to b3141 today and have noticed the following:
On the charts pages, daily rain and sunshine hours are not displaying data before the 27th July. If i roll back to b3133, the data is there on the graphs.
Is this intended?
https://duncreggan.net/cumulustest2/trends.htm#sunhours

Compared to the PC version:
https://duncreggan.net/cumulusmx/trends.htm#sunhours

The ET value on the first startup, reflects the value that weatherlink is showing for today, on the my index.htm (Now page)
Subsequent restarts of CMX, this value seems to reset to 0.2mm:
https://duncreggan.net/cumulustest2/index.htm
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: b3141 - Sunshine hours & ET

Post by mcrossley »

jon_iz wrote: Sun 08 Aug 2021 6:03 pm I run both a RPi4 and PC via WLL and Weatherlink pro subscription. The RPi4 is a test platform, ftp'ing to it's own set of folders on my host.

I've noted from the release notes, there is fix for sunshine hours and ET should now work subject to Pro sunscription..
I have updated the RPi4 from b3133 to b3141 today and have noticed the following:
On the charts pages, daily rain and sunshine hours are not displaying data before the 27th July. If i roll back to b3133, the data is there on the graphs.
Is this intended?
https://duncreggan.net/cumulustest2/trends.htm#sunhours

Compared to the PC version:
https://duncreggan.net/cumulusmx/trends.htm#sunhours
Nope not intended. If you look at your Historic charts you have several large gaps in your sunshine hours data, one of which ends on 26th July. I'd have a look at your dayfile for any issues. If you cannot spot anything then perhaps post it so we can take a look?
jon_iz wrote: Sun 08 Aug 2021 6:03 pm The ET value on the first startup, reflects the value that weatherlink is showing for today, on the my index.htm (Now page)
Subsequent restarts of CMX, this value seems to reset to 0.2mm:
https://duncreggan.net/cumulustest2/index.htm
I'll take a look...
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: b3141 - Sunshine hours & ET

Post by jon_iz »

I've looked at the dayfiles. You are correct, the sunshine hours have all reset to 0.0 prior to 27th.
Exactly the same thing happened on both the RPi4 and the PC - but i rolled the PC back to 3133 - both day files are attached.
(I forgot to image the RPI4 first, but that's not so important as it's a test platform anyway, so i probably need to try and roll the data back)

My upgrade process was to over-write the existing install with the new release and run it up, so it looks like it's a glitch in the update.
The log file for that initial run is also included.
Both platforms obviously run independent of each other, with the common factors being the data sources of WLL/Airlink and Weatherlink pro subscription.

ET:
CMX on the RPI has not been restarted today, and CMX and Wetherlink are broadly tracking ET figures.
WL ET.PNG
CMX ET.PNG
So i wonder if the ET figure was read just the once and then it's reset with each start rather than appending to the cumulative figure?
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: b3141 - Sunshine hours & ET

Post by mcrossley »

I'll take a look at the ET later.

Regarding the dayfile. Have you used the dayfile editor? That is the only time Cumulus will change entries in the dayfile that I can think of.
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: b3141 - Sunshine hours & ET

Post by jon_iz »

mcrossley wrote: Mon 09 Aug 2021 10:48 am I'll take a look at the ET later.

Regarding the dayfile. Have you used the dayfile editor? That is the only time Cumulus will change entries in the dayfile that I can think of.
There's a yes and no answer to that.
Yes on the PC instance data around 19th July, when i discovered false rain counts (The ISS rain funnel had a blockage and was holding water and dripping on days when it clearly wasn't raining).

I did not update the data on the RPi instance - so this is not the cause. (The RPi instance was created sometime in June, based on the data and amended config from the PC instance)

(you can see this where the rain blips are removed mid june here https://duncreggan.net/cumulusmx/trends.htm#dailyrain and exist here https://duncreggan.net/cumulustest2/tre ... #dailyrain
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: b3141 - Sunshine hours & ET

Post by mcrossley »

Sorry, I have no idea what has happened to your sun hours. The only time Cumulus alters anything in the day file is if you use the editor, and then it rewrites the whole file for each edit so if there was a problem with the sun hours then might expect it affect all the records.

The ET issue will be fixed in the next release.
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: b3141 - Sunshine hours & ET

Post by jon_iz »

Not to worry, a restore of backup data to a point earlier in the month and a resync with weatherlink servers seems to have resolved the issue.
I'll try again with the PC platform and repeat the restore option if the same thing happens again.
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: b3141 - Sunshine hours & ET

Post by jon_iz »

Just to close off the sun hours - upgrade to b3143 didn't exhibit the same issue on either instance.

ET still resets to 0 on the web index.htm with a restart of CMX, rather than pulling back the cumulative figure for the day.
Perhaps this is a tag issue on the webpages on the website, as querying the API with x.x.x.x:8998/api/tags/process.json?ET returns the correct value after a restart?
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: b3141 - Sunshine hours & ET

Post by mcrossley »

That's odd because the web site and the API both use the same (only) variable that the current ET value is stored in.

I would expect zeroing on the first start of the new version of MX, but thereafter for it to be OK.
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: b3141 - Sunshine hours & ET

Post by jon_iz »

mcrossley wrote: Mon 16 Aug 2021 10:22 am That's odd because the web site and the API both use the same (only) variable that the current ET value is stored in.

I would expect zeroing on the first start of the new version of MX, but thereafter for it to be OK.
You are of course correct.
After update, leaving running for a day, switching off for few hours and catching up does show the correct value.
So I will take a :bash:
Post Reply