Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.5 (build 3282) - 23 February 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Error livedata.php

Discussion of the Weather34 web site template

Moderators: saratogaWX, weatherist34

Post Reply
Steepleian
Posts: 22
Joined: Sat 29 Mar 2014 7:33 am
Weather Station: WH2650
Operating System: Debian 9
Location: Steeple Claydon
Contact:

Error livedata.php

Post by Steepleian »

Simon,

There is an error in the livedata.php file within the final update (19 November). Its related to the addition of 'Last Hour' in the 'Almanac' section of the rainfall module. I spotted it whilst I was updating the weeWX version which also uses realtime.txt for live data.

Line 111 reads: -

$weather["rain_lasthour"] = $cumulus[49];

It should be: -

$weather["rain_lasthour"] = $cumulus[47];

Updated file is attached: -
livedata.php.zip
Ian
You do not have the required permissions to view the files attached to this post.
weatherist34
Posts: 51
Joined: Wed 13 Apr 2016 11:09 am
Weather Station: Davis Vantage Pro2 Plus
Operating System: OSX High Sierra
Contact:

Re: Error livedata.php

Post by weatherist34 »

hello Ian

thanks fixed and updated download ...many thanks brian
User avatar
ConligWX
Posts: 1565
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: Error livedata.php

Post by ConligWX »

Thanks for pointing that out Ian.

Cheers Brian for the update.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
Post Reply