Hi to you all
I have into the dashboard6 outside temp and I have made a extra option … outside temp ( 10cm)
Only the problem is the outside temp ( 10cm ) will not refresh
If I press refresh I see that the outside temp change color ( green) and the temp is correct
But the outside temp ( 10cm ) is not refresh into green ??
Also if I have open my page for 5min I see that the outside temp is change correct only the outside temp (10cm) is not
What can I do for made this work
So that also the outside temp (10cm ) is refresh with all on the board
Hi
I have already did that
But it is not working
Here the code : ajaxWDwx3.js
temp = parseFloat(clientraw[ 4]).convertTemp();
temp1 = parseFloat(clientraw[20]).convertTemp();
into the ajax-dashboard6.php file it will refresh temp outsite and temp 10cm only now it is all now the temp from the outsite temp and not outside and outside 10cm
First you load the two different temperatures in temp and temp1: that is OK
temp = parseFloat(clientraw[ 4]).convertTemp();
temp1 = parseFloat(clientraw[20]).convertTemp();
Then you have to set the correct temps with set_ajax_obs, ==> not OK: there is a typing error, as both lines use the same variable temp
set_ajax_obs(“ajaxtemp” , temp.toFixed(dp.Temp) + uom.Temp);
set_ajax_obs(“ajaxtemp1” , temp.toFixed(dp.Temp) + uom.Temp);
Should be changed to:
set_ajax_obs(“ajaxtemp” , temp.toFixed(dp.Temp) + uom.Temp);
set_ajax_obs(“ajaxtemp1” , temp1.toFixed(dp.Temp) + uom.Temp);