Error livedata.php
Posted: Tue 20 Nov 2018 7:48 pm
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: - Ian
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: - Ian