mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-28 09:46:26 +02:00
0.8.142
* merge PR: add read_temp_c to system + mqtt #1739 * improved sending limits of multiple inverters in very short timeframe #1726 * don't show '0 dBm' once no inverter is available, changed to '-- dBm'
This commit is contained in:
parent
c44528ed73
commit
e64f22336c
4 changed files with 17 additions and 3 deletions
|
@ -1,5 +1,10 @@
|
|||
# Development Changes
|
||||
|
||||
## 0.8.142 - 2024-08-28
|
||||
* merge PR: add read_temp_c to system + mqtt #1739
|
||||
* improved sending limits of multiple inverters in very short timeframe #1726
|
||||
* don't show '0 dBm' once no inverter is available, changed to '-- dBm'
|
||||
|
||||
## 0.8.141 - 2024-08-16
|
||||
* switch AsyncWebserver to https://github.com/mathieucarbou/ESPAsyncWebServer
|
||||
* fix missing translations to German #1717
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
//-------------------------------------
|
||||
#define VERSION_MAJOR 0
|
||||
#define VERSION_MINOR 8
|
||||
#define VERSION_PATCH 141
|
||||
#define VERSION_PATCH 142
|
||||
//-------------------------------------
|
||||
typedef struct {
|
||||
uint8_t ch;
|
||||
|
|
|
@ -29,7 +29,9 @@ class Communication : public CommQueue<> {
|
|||
}
|
||||
|
||||
void addImportant(Inverter<> *iv, uint8_t cmd) {
|
||||
mState = States::RESET; // cancel current operation
|
||||
if(!mIsDevControl) // only reset communication once there is no other devcontrol command
|
||||
mState = States::RESET; // cancel current operation
|
||||
mIsDevControl = true;
|
||||
CommQueue::addImportant(iv, cmd);
|
||||
}
|
||||
|
||||
|
@ -77,6 +79,9 @@ class Communication : public CommQueue<> {
|
|||
mLocalBuf[i].len = 0;
|
||||
}
|
||||
|
||||
if(!q->isDevControl)
|
||||
mIsDevControl = false; // reset devcontrol flag
|
||||
|
||||
if(*mSerialDebug)
|
||||
mHeu.printStatus(q->iv);
|
||||
mHeu.getTxCh(q->iv);
|
||||
|
@ -1042,6 +1047,7 @@ class Communication : public CommQueue<> {
|
|||
Heuristic mHeu;
|
||||
uint32_t mLastEmptyQueueMillis = 0;
|
||||
bool mPrintSequenceDuration = false;
|
||||
bool mIsDevControl = false; // holds if current command is devcontrol
|
||||
};
|
||||
|
||||
#endif /*__COMMUNICATION_H__*/
|
||||
|
|
|
@ -208,8 +208,11 @@
|
|||
if(obj.rssi > -127) {
|
||||
if(obj.generation < 2)
|
||||
ageInfo += " (RSSI: " + ((obj.rssi == -64) ? ">=" : "<") + " -64 dBm)";
|
||||
else
|
||||
else {
|
||||
if(obj.rssi == 0)
|
||||
obj.rssi = "--";
|
||||
ageInfo += " (RSSI: " + obj.rssi + " dBm)";
|
||||
}
|
||||
}
|
||||
|
||||
return ml("div", {class: "mb-5"}, [
|
||||
|
|
Loading…
Add table
Reference in a new issue