Just added to mine. works great. For VWS users you need to add the code to the next section past where Pablo showed, pasted below again, with red section showing difference.
Thanks Pablo, great mod.
Andrew
if ($wxSoftware == 'VWS') { // Get the VWS Weather Flash data files
$filename = "${wflashDir}wflash.txt";
$file = file($filename);
$file = implode('',$file);
$data = explode(",",$file);;
$curtemp = FtoC($data[9],1);
$filename = "${wflashDir}wflash2.txt";
$file = file($filename);
$file = implode('',$file);
$data = explode(",",$file);;
$mintemp = FtoC($data[92],1);
$maxtemp = FtoC($data[36],1);
// pablo - auto-scale the thermometer. The font of the degree
// value needs seven degrees of space. Also, the legend doesn't
// appear properly unless the start/end are tens. With that, we
// massage our thermometer's max/min.
$Tmax = round(($maxtemp + 7) / 10) * 10;
$Tmin = round(($mintemp - 7) / 10) * 10;
// pablo - if the maximum is less than the minimum, switch-a-roo
if ($Tmax < $Tmin) {
$xyzzy = $Tmax;
$Tmax = $Tmin;
$Tmin = $zyzzy; // what we just saved ... rogue anyone?
}
}