Lots of remote changes.
dht is now processing commands! hurray!
This commit is contained in:
@@ -112,11 +112,11 @@
|
||||
}
|
||||
}
|
||||
chart.render();
|
||||
|
||||
|
||||
$.getJSON("/n/dht", function(data){
|
||||
if(data && data.dht){
|
||||
chart.title.set("text", "A23 Currently is " + data.dht.temp + "°C, " + data.dht.hum +"% RH" );
|
||||
}else {
|
||||
}else {
|
||||
chart.title.set("text", "A23 conditions");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user