mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-05 20:21:38 +02:00
0.8.89
* merge PR: Collection of small fixes #1465 * fix: show esp type on `/history` #1463 * improved HMS-400-1T support (serial number 1125...) #1460
This commit is contained in:
parent
6d1ca8020a
commit
0d7c67dbce
4 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
//-------------------------------------
|
||||
#define VERSION_MAJOR 0
|
||||
#define VERSION_MINOR 8
|
||||
#define VERSION_PATCH 88
|
||||
#define VERSION_PATCH 89
|
||||
|
||||
//-------------------------------------
|
||||
typedef struct {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue