diff --git a/src/CHANGES.md b/src/CHANGES.md index ca1f53325..c416fd806 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -6,6 +6,7 @@ * improved MqTT by marking sent data and improved `last_success` resends #1319 * added timestamp for `max ac power` as tooltip #1324 #1123 #1199 * repaired Power-limit acknowledge #1322 +* fix `max_power` in `/visualization` was set to `0` after sunset ## 0.8.42 - 2024-01-02 * add LED to display whether it's night time or not. Can be reused as output to control battery system #1308 diff --git a/src/web/html/visualization.html b/src/web/html/visualization.html index 3ae8ff0b1..27f5da35d 100644 --- a/src/web/html/visualization.html +++ b/src/web/html/visualization.html @@ -92,10 +92,10 @@ function ivHead(obj) { if(0 != obj.status) { // only add totals if inverter is online total[0] += obj.ch[0][2]; // P_AC - total[3] += obj.ch[0][11]; // MAX P_AC total[4] += obj.ch[0][8]; // P_DC total[5] += obj.ch[0][10]; // Q_AC } + total[3] += obj.ch[0][11]; // MAX P_AC total[1] += obj.ch[0][7]; // YieldDay total[2] += obj.ch[0][6]; // YieldTotal