mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix rendering for solar module
This commit is contained in:
@@ -147,9 +147,9 @@ function listCustomStats() {
|
||||
document.getElementById("sm2").innerHTML = ajaxobj.sm.sm2 + " ℃";
|
||||
document.getElementById("sm3").innerHTML = ajaxobj.sm.sm3 + " %";
|
||||
document.getElementById("sm4").innerHTML = ajaxobj.sm.sm4;
|
||||
document.getElementById("sm5").innerHTML = ajaxobj.sm.sm4 + " Wh";
|
||||
document.getElementById("sm6").innerHTML = ajaxobj.sm.sm4 + " Wh";
|
||||
document.getElementById("sm7").innerHTML = ajaxobj.sm.sm4 + " KWh";
|
||||
document.getElementById("sm5").innerHTML = ajaxobj.sm.sm5 + " Wh";
|
||||
document.getElementById("sm6").innerHTML = ajaxobj.sm.sm6 + " Wh";
|
||||
document.getElementById("sm7").innerHTML = ajaxobj.sm.sm7 + " KWh";
|
||||
} else {
|
||||
document.getElementById("sm_show").style.display = "none";
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ function sendStatus() {
|
||||
function sendCustomStatus() {
|
||||
var stats = {
|
||||
"command": "custom_status",
|
||||
"version": "1.9.0b7",
|
||||
"version": "1.9.0",
|
||||
"customname": "EMS-ESP",
|
||||
"appurl": "https://github.com/proddy/EMS-ESP",
|
||||
"updateurl": "https://api.github.com/repos/proddy/EMS-ESP/releases/latest",
|
||||
|
||||
Reference in New Issue
Block a user