mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-12 22:17:17 +02:00
0.7.50
* moved MqTT info to `system` * added CMT info for ESP32 devices * improved CMT settings, now `SCLK` and `SDIO` are configurable #1046, #1150 * changed `Power-Limit` in live-view to `Active Power Control` * increase length of update file selector #1132
This commit is contained in:
parent
581a64a48e
commit
b06f8e98a4
17 changed files with 139 additions and 107 deletions
|
@ -19,7 +19,6 @@
|
|||
<div id="warn_info"></div>
|
||||
</p>
|
||||
|
||||
<div class="hr"></div>
|
||||
<div id="note">
|
||||
<h3>Support this project:</h3>
|
||||
<ul>
|
||||
|
@ -157,14 +156,11 @@
|
|||
document.getElementById("iv").replaceChildren(p);
|
||||
}
|
||||
|
||||
function parseWarnInfo(warn, success) {
|
||||
function parseWarn(warn) {
|
||||
var p = div(["none"]);
|
||||
for(var w of warn) {
|
||||
p.append(svg(iconWarn, 30, 30, "icon icon-warn"), span(w), br());
|
||||
}
|
||||
for(var i of success) {
|
||||
p.append(svg(iconSuccess, 30, 30, "icon icon-success"), span(i), br());
|
||||
}
|
||||
|
||||
if(commInfo.length > 0)
|
||||
p.append(svg(iconInfo, 30, 30, "icon icon-info"), span(commInfo), br());
|
||||
|
@ -197,7 +193,7 @@
|
|||
parseGeneric(obj["generic"]);
|
||||
parseSys(obj);
|
||||
parseIv(obj["inverter"]);
|
||||
parseWarnInfo(obj["warnings"], obj["infos"]);
|
||||
parseWarn(obj["warnings"]);
|
||||
if(exeOnce) {
|
||||
window.setInterval("tick()", 1000);
|
||||
exeOnce = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue