mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-12 22:17:17 +02:00
0.7.51
* fix CMT configureable pins #1150 * fix default CMT pins for opendtufusion * beautified `system` * changed main loops, fix resets #1125, #1135
This commit is contained in:
parent
b06f8e98a4
commit
9521cf756a
9 changed files with 46 additions and 84 deletions
|
@ -115,7 +115,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
function parseIv(obj) {
|
||||
function parseIv(obj, ts) {
|
||||
var p = div(["none"]);
|
||||
for(var i of obj) {
|
||||
var icon = iconSuccess;
|
||||
|
@ -125,7 +125,7 @@
|
|||
icon = iconWarn;
|
||||
cl = "icon-warn";
|
||||
avail = "disabled";
|
||||
} else if(false == i["is_avail"]) {
|
||||
} else if((false == i["is_avail"]) || (0 == ts)) {
|
||||
icon = iconInfo;
|
||||
cl = "icon-info";
|
||||
avail = "not yet available";
|
||||
|
@ -192,7 +192,7 @@
|
|||
parseNav(obj["generic"]);
|
||||
parseGeneric(obj["generic"]);
|
||||
parseSys(obj);
|
||||
parseIv(obj["inverter"]);
|
||||
parseIv(obj["inverter"], obj.ts_now);
|
||||
parseWarn(obj["warnings"]);
|
||||
if(exeOnce) {
|
||||
window.setInterval("tick()", 1000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue