Thanks, also for the mail.
The array [100] → [109] covers only 1 hour divided in 10 data points.
“total rain of the last hour” = latest data point [100] minus oldest point [109];
w34_livedata.php line 132 is changed from
$weather["rain_lasthour"] = convert_precip ($wd[100],$from,$to);
to
$value = (float) $wd[100] - (float) $wd[109]; # 2019-01-14
$weather["rain_lasthour"] = convert_precip ($value ,$from,$to); # 2019-01-14
Wim
w34_livedata.php.zip (5.4 KB)