Didn't want to bother Brian with this, but has anyone noticed any problem with the rainfall module for 3 December version?
I am getting strange values for yesterday's rainfall. For example it is currently showing 0.591mm (https://claydonsweather.org.uk/CU). We have not experienced rain for several days and my hardware only records in 0.3mm intervals anyway.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest (final) Cumulus version
Moderators: saratogaWX, weatherist34
-
- Posts: 22
- Joined: Sat 29 Mar 2014 7:33 am
- Weather Station: WH2650
- Operating System: Debian 9
- Location: Steeple Claydon
- Contact:
-
- Posts: 22
- Joined: Sat 29 Mar 2014 7:33 am
- Weather Station: WH2650
- Operating System: Debian 9
- Location: Steeple Claydon
- Contact:
Re: Latest (final) Cumulus version
Just spotted the problem: -Steepleian wrote: ↑Fri 04 Jan 2019 10:37 pm Didn't want to bother Brian with this, but has anyone noticed any problem with the rainfall module for 3 December version?
I am getting strange values for yesterday's rainfall. For example it is currently showing 0.591mm (https://claydonsweather.org.uk/CU). We have not experienced rain for several days and my hardware only records in 0.3mm intervals anyway.
rainfall.php line 16, change variable $weatherflow to $weather
However this correction shows an empty display for zero rainfall so need to have a closer look.
-
- Posts: 22
- Joined: Sat 29 Mar 2014 7:33 am
- Weather Station: WH2650
- Operating System: Debian 9
- Location: Steeple Claydon
- Contact:
Re: Latest (final) Cumulus version
OK solved the problem.Steepleian wrote: ↑Fri 04 Jan 2019 10:55 pmJust spotted the problem: -Steepleian wrote: ↑Fri 04 Jan 2019 10:37 pm Didn't want to bother Brian with this, but has anyone noticed any problem with the rainfall module for 3 December version?
I am getting strange values for yesterday's rainfall. For example it is currently showing 0.591mm (https://claydonsweather.org.uk/CU). We have not experienced rain for several days and my hardware only records in 0.3mm intervals anyway.
rainfall.php line 16, change variable $weatherflow to $weather
However this correction shows an empty display for zero rainfall so need to have a closer look.
rainfall.php. Change the lines 16 to 18 to this: -
Code: Select all
<?php echo "Yesterday<br>";echo "<rainblue>",$weather["rainydmax"],"</rainblue>";
if($weather["rain_units"]=="mm"){echo " <raingrey>".$weather["rain_units"]."</raingrey>";}
else echo " <grey>in</grey>";?>
- saratogaWX
- Posts: 1198
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Latest (final) Cumulus version
Thanks for finding the fix. I've pushed the fix to the GitHub distribution. https://github.com/ktrue/CU-HWS
Best regards,
Ken
Best regards,
Ken
-
- Posts: 18
- Joined: Tue 26 Mar 2013 5:49 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Win 7
- Location: Alvarado, TX USA
- Contact:
Re: Latest (final) Cumulus version
Thanks for the fix. Really appreciated.