Skip to content

Commit 96bb865

Browse files
committed
v10.1.1
1 parent 2daf6c8 commit 96bb865

File tree

6 files changed

+30
-12
lines changed

6 files changed

+30
-12
lines changed

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,24 @@ In other cases you can contact the developer via email: <img src="https://raw.gi
5454

5555

5656

57-
##### 10.1.0 - Stability Increase (2022-01-09)
57+
##### 10.1.1 - Stability Increase (2022-01-12)
5858

59-
- Reduce ESP32 frequency to 160MHz
59+
- **Bug Fix MQTT problem**
60+
- Issue:
61+
- Changing from v9.x to 10.x the MQTT-paramter "Topic" was renamed into "MainTopic" to address multiple number meters
62+
This renaming should have been done automatically in the background within the graphical configuration, but was not working. Instead the parameter "Topic" was deleted and "MainTopic" was set to disabled and "undefined".
63+
- ToDo
64+
- Update the `html.zip`
65+
- If old `config.ini` available: copy it to `/config`, open the graphical configuration and save it again.
66+
- If old `config.ini` not available: reset the parameter "MainTopic" within the `config.ini` manually
67+
- Reboot
6068

61-
- Update tflite (new source: https://github.com/espressif/tflite-micro-esp-examples)
69+
##### 10.1.0 - Stability Increase (2022-01-12)
6270

71+
- Reduce ESP32 frequency to 160MHz
72+
- Update tflite (new source: https://github.com/espressif/tflite-micro-esp-examples)
6373
- Update analog neural network (ana-s3-q-20220105.tflite)
64-
6574
- Update digital neural network (dig-s1-q-20220102.tflite)
66-
6775
- Increased web-server buffers
6876
- bug fix: compiler compatibility
6977

firmware/html.zip

131 Bytes
Binary file not shown.

sd-card/html/edit_config_param.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ <h4><input type="checkbox" id="Category_Digits_enabled" value="1" onclick = 'Up
323323
</td>
324324
</tr>
325325

326-
<tr class="expert" id="ex4">
326+
<tr id="Category_Analog_ex4">
327327
<td colspan="4" style="padding-left: 20px;">
328328
<h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'UpdateAfterCategoryCheck()' unchecked > Analog</h4></td>
329329
</tr>

sd-card/html/gethost.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,25 @@ function gethost_Version(){
77
function getbasepath(){
88
var host = window.location.hostname;
99
if (((host == "127.0.0.1") || (host == "localhost") || (host == ""))
10-
&& ((window.location.port == "80") || (window.location.port == "")))
10+
// && ((window.location.port == "80") || (window.location.port == ""))
11+
)
1112

1213
{
1314
// host = "http://192.168.2.219"; // jomjol interner test
1415
// host = "http://192.168.178.46"; // jomjol interner test
15-
host = "http://192.168.178.79"; // jomjol interner Real
16+
host = "http://192.168.178.34"; // jomjol interner Real
1617
// host = "http://192.168.43.191";
1718
// host = "."; // jomjol interner localhost
1819

1920
}
2021
else
2122
{
2223
host = "http://" + host;
24+
if (window.location.port != "") {
25+
host = host + ":" + window.location.port;
26+
}
2327
}
2428

25-
if (window.location.port != "") {
26-
host = host + ":" + window.location.port;
27-
}
2829
return host;
2930
}
3031

sd-card/html/readconfigparam.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ function ParseConfig() {
8686
param[catname] = new Object();
8787
ParamAddValue(param, catname, "Uri");
8888
ParamAddValue(param, catname, "MainTopic", 1, false);
89+
ParamAddValue(param, catname, "Topic", 1, false);
8990
ParamAddValue(param, catname, "ClientID");
9091
ParamAddValue(param, catname, "user");
9192
ParamAddValue(param, catname, "password");
@@ -157,6 +158,14 @@ function ParseConfig() {
157158
}
158159
aktline++;
159160
}
161+
162+
163+
// Make the downward compatiblity with MQTT (Maintopic --> topic)
164+
if (param["MQTT"]["Topic"]["found"] == true && param["MQTT"]["MainTopic"]["found"] == false)
165+
{
166+
param["MQTT"]["MainTopic"] = param["MQTT"]["Topic"]
167+
}
168+
delete param["MQTT"]["Topic"] // Dient nur der Downwardskompatibilität
160169
}
161170

162171
function ParamAddValue(param, _cat, _param, _anzParam = 1, _isNUMBER = false, _checkRegExList = null){

sd-card/html/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11.4.0
1+
11.4.1

0 commit comments

Comments
 (0)