In MB-defs.php the
$currentrainratehr = $WX['rain0rate-act'];
takes that value and in ajax-dashboard.php it is displayed with
<span class="ajax" id="ajaxrainratehr">
<?php echo strip_units($currentrainratehr) . $uomRain; ?>
</span>
In ajaxMBwx.js the ajaxrainratehr tag is updated by
var rainratehr = convertRain(realtime[8]); // make per hour rate.
set_ajax_obs("ajaxrainratehr",rainratehr.toFixed(dpRain+1) + uomRain);
and
function convertRain ( inrawrain ) {
// function expects input in mm
var rawrain = cRainToMM(inrawrain);
if (useunits == 'E') { // convert mm to inches
return (rawrain * .0393700787);
} else {
return (rawrain * 1.0); // leave in mm
}
}
handles conversion of mm to inches. The MBrealtime.txt has
05/06/2019 10:15:27 22.8 97 22.3 1.8 0.4 90.0 4.3 22.2 1011.7 E 1 m/s C hPa mm -- -0.5 22.2 505.2 0.0 33.8 41.0 22.8 0.1 25.1 00:57 22.7 09:11 3.1 06:47 5.4 07:09 1013.9 00:02 1011.3 05:25 4.0 2142 4.0 22.8 32.2 0.0 -- 12.0 120.0 6.1 -- 1 -- ESE -- m -- 14:00 -- -- 0.0
which did show correctly as 0.17 in/hr.
When the page is first loaded, the data from MBtags.php (updated every 5 minutes) is shown. When the ajaxMBwx.js script activates, the value is updated from MBrealtime.txt which is updated more frequently.
As far as I can tell, Meteobridge and the template are working correctly on your site.