Page 1 of 1

Last Rainfall still not working

Posted: Tue 25 Aug 2020 8:53 am
by The Dalek Hunter
I have the latest version of CumulusMX running on a Raspberry Pi.
I have a Vantage Pro2 connected to Cumulus via a WeatherLink Live.
My setup is a mixed units ie 'C for the temp and inches for the rain etc.

With no tweaks or modifications and a clean install of CumulusMX the last rainfall is not being updated.

The only way it gets updated is if I delete all the data from the data folder and reboot.

It seems to work fine on WeeWX running on a Raspberry Pi 4 https://longsutton-weather.co.uk but not on my Cumulus setup

https://wx-watch.co.uk/cumulus

Re: Last Rainfall still not working

Posted: Tue 25 Aug 2020 10:09 am
by mcrossley
Can you run Cumulus using the -debug command line parameter, then post a log showing the issue please. I thought 3.8.2 would fix this issue - obviously not :(

Re: Last Rainfall still not working

Posted: Tue 25 Aug 2020 1:01 pm
by freddie
Don't know whether it is relevant or not, but my MX just missed updating the last rainfall time. It is currently set to 08:05 today, but the last tip (looking at the graph) was at 11:28 today. Running v 3.8.2 build 3092.

Re: Last Rainfall still not working

Posted: Tue 25 Aug 2020 1:25 pm
by mcrossley
Mine is doing it as well now, looks like i cocked it up good and proper :groan:

Re: Last Rainfall still not working

Posted: Tue 25 Aug 2020 1:40 pm
by mcrossley
Found the problem, I was using the VP Rain Gauge type in the logic - but that is an optional read-only setting, so isn't set for most people, including me :bash:

Re: Last Rainfall still not working

Posted: Tue 25 Aug 2020 2:28 pm
by freddie
mcrossley wrote: Tue 25 Aug 2020 1:40 pm Found the problem, I was using the VP Rain Gauge type in the logic - but that is an optional read-only setting, so isn't set for most people, including me :bash:
D'oh!!

Re: Last Rainfall still not working

Posted: Tue 25 Aug 2020 8:58 pm
by mcrossley
I have a day offline tomorrow, back on Thursday afternoon when I'll look at the SFTP issue in another thread and I can find and fix that in a reasonable time frame get a patch release out to resolve these issues.

Re: Last Rainfall still not working

Posted: Wed 26 Aug 2020 6:31 am
by The Dalek Hunter
I look forward to the fix - many thanks

Re: Last Rainfall still not working

Posted: Fri 28 Aug 2020 6:11 am
by The Dalek Hunter
Having put

VPrainGaugeType=0

In the Station setting of Cumulus.ini and restarting last rain now works fine

https://longsutton-weather.co.uk

Thanks

Re: Last Rainfall still not working

Posted: Fri 28 Aug 2020 6:37 pm
by mcrossley
Yeah, that would fix it. The new release (v3.8.3) should fix it without having to set that custom value.

Re: Last Rainfall still not working

Posted: Fri 28 Aug 2020 8:47 pm
by freddie
I've still got a problem with this, although I haven't recorded any rain since I upgraded. Will it reset on the next tip?

Re: Last Rainfall still not working

Posted: Fri 28 Aug 2020 9:00 pm
by mcrossley
Yes, it is only set when a tip occurs.

Re: Last Rainfall still not working

Posted: Sat 29 Aug 2020 4:35 am
by freddie
Okay, thank you.