From my other post the lastupdate field contains only -- and not the proper date and time.

The root of the problem is that I don not have a wind speed device.

The function in chart.js that updates #lastupdate throws an error due to there being no windspeed.

Uncaught TypeError: Cannot read property 'toFixed' of null
    at Object.success (charts.js:263)
    at c (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at l (jquery.min.js:2)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2)
(anonymous)	@	charts.js:263
c	@	jquery.min.js:2
fireWith	@	jquery.min.js:2
l	@	jquery.min.js:2
(anonymous)	@	jquery.min.js:2
load (async)		
send	@	jquery.min.js:2
ajax	@	jquery.min.js:2
k.<computed>	@	jquery.min.js:2
updateSeries	@	charts.js:240
init	@	charts.js:232
onload	@	weatherradio.html:19

This is triggered by
   windSpeed.updateSeries([{name: "Wind Speed", data: [currentWindSpeed]}]);

Moving call to update lastupdated prior to this means it gets updated fine.

Tweaking required if the probes/sensors do not match up with the webpage.

Read More...