Browse Source

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'
pull/1745/head
lumapu 5 months ago
parent
commit
e64f22336c
  1. 5
      src/CHANGES.md
  2. 2
      src/defines.h
  3. 8
      src/hm/Communication.h
  4. 5
      src/web/html/visualization.html

5
src/CHANGES.md

@ -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

2
src/defines.h

@ -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;

8
src/hm/Communication.h

@ -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__*/

5
src/web/html/visualization.html

@ -208,8 +208,11 @@
if(obj.rssi > -127) {
if(obj.generation < 2)
ageInfo += " (RSSI: " + ((obj.rssi == -64) ? "&gt;=" : "&lt;") + " -64&nbsp;dBm)";
else
else {
if(obj.rssi == 0)
obj.rssi = "--";
ageInfo += " (RSSI: " + obj.rssi + "&nbsp;dBm)";
}
}
return ml("div", {class: "mb-5"}, [

Loading…
Cancel
Save