Skip to content

Commit

Permalink
0.8.89
Browse files Browse the repository at this point in the history
* merge PR: Collection of small fixes #1465
* fix: show esp type on `/history` #1463
* improved HMS-400-1T support (serial number 1125...) #1460
  • Loading branch information
lumapu committed Mar 2, 2024
1 parent 6d1ca80 commit 0d7c67d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Development Changes

## 0.8.89 - 2024-03-02
* merge PR: Collection of small fixes #1465
* fix: show esp type on `/history` #1463
* improved HMS-400-1T support (serial number 1125...) #1460

## 0.8.88 - 2024-02-28
* fix MqTT statistic data overflow #1458
* add HMS-400-1T support (serial number 1125...) #1460
Expand Down
2 changes: 1 addition & 1 deletion src/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 8
#define VERSION_PATCH 88
#define VERSION_PATCH 89

//-------------------------------------
typedef struct {
Expand Down
3 changes: 2 additions & 1 deletion src/hm/hmSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ class HmSystem {
if((iv->config->serial.b[5] == 0x11) || (iv->config->serial.b[5] == 0x10)) {
switch(iv->config->serial.b[4]) {
case 0x24: // HMS-500
case 0x25: // HMS-400
case 0x22:
case 0x21: iv->type = INV_TYPE_1CH;
break;

case 0x25: // HMS-400 - 1 channel but payload like 2ch

case 0x44: // HMS-1000
case 0x42:
case 0x41: iv->type = INV_TYPE_2CH;
Expand Down
1 change: 1 addition & 0 deletions src/web/html/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ <h3>{#TOTAL_POWER}</h3>
function parsePowerHistory(obj){
if (null != obj) {
parseNav(obj.generic);
parseESP(obj.generic);
parseHistory(obj,"pwr", pwrExeOnce)
document.getElementById("pwrLast").innerHTML = mLastValue
document.getElementById("pwrMaxDay").innerHTML = obj.maxDay
Expand Down

0 comments on commit 0d7c67d

Please sign in to comment.