Hi all,
If you are using the built-in wxcharts for rainfall and you are in the US and using a WS-2316/2317 then the daily rainfall is probably off by a factor of 10. Here are the changes I made to correct the issue. I suspect there are other ways to do this.
First in the file "todayrainfall.php"
Change
dataPoints1.push({label:moment(rowData[0]).format('HH:mm'),y:parseFloat(rowData[12])});
to
dataPoints1.push({label:moment(rowData[0]).format('HH:mm'),y:parseFloat(rowData[12]*<?php echo $rainfallconvmm ;?>)});
then in the file "conversion.php"
Change the following in the US section.
Note there are two locations in the US. One with no units and one with "us" units
$rainfallconvmm='1';
to
$rainfallconvmm='.1';
Well that is it hope this helps.