mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-12 16:36:38 +02:00
0.8.14
* fixed decimal points for temperature (WebUI) PR #1254 * fixed inverter statemachine available state PR #1252
This commit is contained in:
parent
394df577b7
commit
90ac13dbcd
3 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
||||||
# Development Changes
|
# Development Changes
|
||||||
|
|
||||||
|
## 0.8.14 - 2023-12-07
|
||||||
|
* fixed decimal points for temperature (WebUI) PR #1254
|
||||||
|
* fixed inverter statemachine available state PR #1252
|
||||||
|
|
||||||
## 0.8.13 - 2023-11-28
|
## 0.8.13 - 2023-11-28
|
||||||
* merge PR #1239 symbolic layout for OLED 128x64 + motion senser functionality
|
* merge PR #1239 symbolic layout for OLED 128x64 + motion senser functionality
|
||||||
* fix MqTT IP addr for ETH connections PR #1240
|
* fix MqTT IP addr for ETH connections PR #1240
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
//-------------------------------------
|
//-------------------------------------
|
||||||
#define VERSION_MAJOR 0
|
#define VERSION_MAJOR 0
|
||||||
#define VERSION_MINOR 8
|
#define VERSION_MINOR 8
|
||||||
#define VERSION_PATCH 13
|
#define VERSION_PATCH 14
|
||||||
|
|
||||||
//-------------------------------------
|
//-------------------------------------
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
@ -391,6 +391,10 @@ class Inverter {
|
||||||
|
|
||||||
bool isAvailable() {
|
bool isAvailable() {
|
||||||
bool avail = false;
|
bool avail = false;
|
||||||
|
|
||||||
|
if((recordMeas.ts == 0) && (recordInfo.ts == 0) && (recordConfig.ts == 0) && (recordAlarm.ts == 0))
|
||||||
|
return false;
|
||||||
|
|
||||||
if((*timestamp - recordMeas.ts) < INVERTER_INACT_THRES_SEC)
|
if((*timestamp - recordMeas.ts) < INVERTER_INACT_THRES_SEC)
|
||||||
avail = true;
|
avail = true;
|
||||||
if((*timestamp - recordInfo.ts) < INVERTER_INACT_THRES_SEC)
|
if((*timestamp - recordInfo.ts) < INVERTER_INACT_THRES_SEC)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue