File tree 4 files changed +17
-3
lines changed
4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Development Changes
2
2
3
+ ## 0.8.142 - 2024-08-28
4
+ * merge PR: add read_temp_c to system + mqtt #1739
5
+ * improved sending limits of multiple inverters in very short timeframe #1726
6
+ * don't show '0 dBm' once no inverter is available, changed to '-- dBm'
7
+
3
8
## 0.8.141 - 2024-08-16
4
9
* switch AsyncWebserver to https://github.com/mathieucarbou/ESPAsyncWebServer
5
10
* fix missing translations to German #1717
Original file line number Diff line number Diff line change 13
13
//-------------------------------------
14
14
#define VERSION_MAJOR 0
15
15
#define VERSION_MINOR 8
16
- #define VERSION_PATCH 141
16
+ #define VERSION_PATCH 142
17
17
//-------------------------------------
18
18
typedef struct {
19
19
uint8_t ch ;
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ class Communication : public CommQueue<> {
29
29
}
30
30
31
31
void addImportant (Inverter<> *iv, uint8_t cmd) {
32
- mState = States::RESET; // cancel current operation
32
+ if (!mIsDevControl ) // only reset communication once there is no other devcontrol command
33
+ mState = States::RESET; // cancel current operation
34
+ mIsDevControl = true ;
33
35
CommQueue::addImportant (iv, cmd);
34
36
}
35
37
@@ -77,6 +79,9 @@ class Communication : public CommQueue<> {
77
79
mLocalBuf [i].len = 0 ;
78
80
}
79
81
82
+ if (!q->isDevControl )
83
+ mIsDevControl = false ; // reset devcontrol flag
84
+
80
85
if (*mSerialDebug )
81
86
mHeu .printStatus (q->iv );
82
87
mHeu .getTxCh (q->iv );
@@ -1042,6 +1047,7 @@ class Communication : public CommQueue<> {
1042
1047
Heuristic mHeu ;
1043
1048
uint32_t mLastEmptyQueueMillis = 0 ;
1044
1049
bool mPrintSequenceDuration = false ;
1050
+ bool mIsDevControl = false ; // holds if current command is devcontrol
1045
1051
};
1046
1052
1047
1053
#endif /* __COMMUNICATION_H__*/
Original file line number Diff line number Diff line change 208
208
if ( obj . rssi > - 127 ) {
209
209
if ( obj . generation < 2 )
210
210
ageInfo += " (RSSI: " + ( ( obj . rssi == - 64 ) ? ">=" : "<" ) + " -64 dBm)" ;
211
- else
211
+ else {
212
+ if ( obj . rssi == 0 )
213
+ obj . rssi = "--" ;
212
214
ageInfo += " (RSSI: " + obj . rssi + " dBm)" ;
215
+ }
213
216
}
214
217
215
218
return ml ( "div" , { class : "mb-5" } , [
You can’t perform that action at this time.
0 commit comments