source now in separate modules;
Implemented MQTT coms. Using Tasmota for ESP8266; IR working reliably
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<h2>AC Control for <%= model.user.username %></h2>
|
||||
<h2>AC Control for <% if (model.user) {model.user.username; } %></h2>
|
||||
<h4 id="current">Retrieving current conditions...</h4>
|
||||
<!-- class="form-inline" -->
|
||||
<form id="accontrol" action="/n/accontrol" method="POST">
|
||||
@@ -59,7 +59,7 @@ INFO:
|
||||
window.onload = function () {
|
||||
$.getJSON("/n/dht?e=now", function(data){
|
||||
if(data && data.dht){
|
||||
$('#current').text( "A23 Currently is " + data.dht.temp + "°C, " + data.dht.hum +"% RH" );
|
||||
$('#current').text( "A23 Currently is " + data.dht.temp + "°C, " + data.dht.hum +"% RH. Dew Point at:" + data.dht.dew );
|
||||
}else {
|
||||
//chart.title.set("text", "A23 conditions");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user