My dashboard isn't refreshing anymore when I added the part in ajaxWDwx.js file.
Where exactely in the ajaxloader do you have to add this.
I added it between //temperature and //humidity like this.
//Temperature
temp = convertTemp(clientraw[4]);
set_ajax_obs("ajaxtemp", temp.toFixed(1) + uomTemp);
set_ajax_obs("ajaxtempNoU", temp.toFixed(1));
set_ajax_obs("gizmotemp", temp.toFixed(1) + uomTemp);
set_ajax_obs("ajaxbigtemp",temp.toFixed(0) + uomTemp);
templast = convertTemp(clientraw[90]);
temparrow = ajax_genarrow(temp, templast, '',
langTempRising+uomTemp+langTempLastHour,
langTempFalling+uomTemp+langTempLastHour,1)
set_ajax_obs("ajaxtemparrow",temparrow);
set_ajax_obs("gizmotemparrow",temparrow);
temprate = temp - templast;
temprate = temprate.toFixed(1);
if (temprate > 0.0) { temprate = '+' + temprate;} // add '+' for positive rates
set_ajax_obs("ajaxtemprate",temprate + uomTemp);
set_ajax_obs("gizmotemprate",temprate + uomTemp);
tempmax = convertTemp(clientraw[46]);
set_ajax_obs("ajaxtempmax",tempmax.toFixed(1) + uomTemp);
tempmin = convertTemp(clientraw[47]);
set_ajax_obs("ajaxtempmin",tempmin.toFixed(1) + uomTemp);
thermometerstr = langThermoCurrently + + temp.toFixed(1) + uomTemp +
", " + langThermoMax + tempmax.toFixed(1) + uomTemp +
", " + langThermoMin + tempmin.toFixed(1) + uomTemp;
set_ajax_obs("ajaxthermometer",
"<img src=\"" + thermometer + "?t=" + temp.toFixed(1) + "\" " +
"width=\"54\" height=\"170\" " +
"alt=\"" + thermometerstr + "\" " +
"title=\"" + thermometerstr + "\" />" );
//--- begin cloud height graphic -----------------------------------------------
stationAlt = 0; // your station altitude in meters if you want ASL (meters = ft / 3.2808399)
temp = clientraw[ 4];
dewp = clientraw[72];
pres = convertBaro(clientraw[6]);
wind = convertWind(clientraw[1]); // gust = clientraw[2]
wdir = windDirLang(clientraw[3]);
rain = convertRain(clientraw[7]);
cloudheight = Math.max(0,(temp-dewp)/0.00802)*1.0 + stationAlt; // in meters
altitude = (useunits=="E") ? Math.round(cloudheight*3.2808399) : Math.round(cloudheight);
above = (stationAlt>0)? ' ASL' : ' AGL';
cloudText = altitude.toString() + uomHeight + above;
param = '?uom=' + useUOM + '&buster=' + altitude + pres + beaufortnum + rain;
set_ajax_obs("ajaxcloudheightimg"
,'<img src="cloud-base.php' + param
+ '" alt="' + cloudText
+ '" title="' + cloudText
+ '" width="100" height="200" hspace="0" vspace="0" align="" border="0" style="" />');
//--- end cloud height graphic -------------------------------------------------
//Humidity ...
humidity = clientraw[5];
set_ajax_obs("ajaxhumidity",humidity);
set_ajax_obs("gizmohumidity",humidity);
// sorry.. no min/max data for humidity available in clientraw.txt]