Merge pull request #1230 from proddy/dev2

Dev2
This commit is contained in:
Proddy
2023-07-21 23:49:12 +02:00
committed by GitHub
4 changed files with 16 additions and 15 deletions

View File

@@ -66,4 +66,5 @@ There are breaking changes between 3.5.x and earlier versions of 3.6.0. Please r
- Use [espMqttClient](https://github.com/bertmelis/espMqttClient) with integrated queue [#1178](https://github.com/emsesp/EMS-ESP32/issues/1178) - Use [espMqttClient](https://github.com/bertmelis/espMqttClient) with integrated queue [#1178](https://github.com/emsesp/EMS-ESP32/issues/1178)
- Move Sensors from Web dashboard to it's own tab enhancement [#1170](https://github.com/emsesp/EMS-ESP32/issues/1170) - Move Sensors from Web dashboard to it's own tab enhancement [#1170](https://github.com/emsesp/EMS-ESP32/issues/1170)
- Optimize WebUI dashboard data [#1169](https://github.com/emsesp/EMS-ESP32/issues/1169) - Optimize WebUI dashboard data [#1169](https://github.com/emsesp/EMS-ESP32/issues/1169)
- Response to `system/send`` raw reads gives combined data for telegrams with more parts - Replace React core library with Preact to save on memory footprint
- Response to `system/send` raw reads gives combined data for telegrams with more parts

View File

@@ -68,7 +68,7 @@
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^3.0.0", "prettier": "^3.0.0",
"rollup-plugin-visualizer": "^5.9.2", "rollup-plugin-visualizer": "^5.9.2",
"terser": "^5.19.1", "terser": "^5.19.2",
"vite": "^4.4.6", "vite": "^4.4.6",
"vite-plugin-svgr": "^3.2.0", "vite-plugin-svgr": "^3.2.0",
"vite-tsconfig-paths": "^4.2.0" "vite-tsconfig-paths": "^4.2.0"

View File

@@ -2007,7 +2007,7 @@ __metadata:
react-toastify: ^9.1.3 react-toastify: ^9.1.3
rollup-plugin-visualizer: ^5.9.2 rollup-plugin-visualizer: ^5.9.2
sockette: ^2.0.6 sockette: ^2.0.6
terser: ^5.19.1 terser: ^5.19.2
typesafe-i18n: ^5.25.1 typesafe-i18n: ^5.25.1
typescript: ^5.1.6 typescript: ^5.1.6
vite: ^4.4.6 vite: ^4.4.6
@@ -6471,9 +6471,9 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"terser@npm:^5.19.1": "terser@npm:^5.19.2":
version: 5.19.1 version: 5.19.2
resolution: "terser@npm:5.19.1" resolution: "terser@npm:5.19.2"
dependencies: dependencies:
"@jridgewell/source-map": ^0.3.3 "@jridgewell/source-map": ^0.3.3
acorn: ^8.8.2 acorn: ^8.8.2
@@ -6481,7 +6481,7 @@ __metadata:
source-map-support: ~0.5.20 source-map-support: ~0.5.20
bin: bin:
terser: bin/terser terser: bin/terser
checksum: 32f81b877240140312921c6333671ad31258dd7f1c123847f98fc31ba8f72dda7843d24bf6536501ecdfe2a619f7eb87fc56a68134f6f38d482cbe7b1aafedd3 checksum: 95817b86619af33d8d143d7ae02dfcd9ac2cf4ea5b5cb7b208aaccff4cdc5594893960a4c3dcdac09863ebd43e2835ab173997041790aa77092c1d31ff40c95a
languageName: node languageName: node
linkType: hard linkType: hard

View File

@@ -613,7 +613,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
Mqtt::ha_enabled(false); Mqtt::ha_enabled(false);
Mqtt::nested_format(1); Mqtt::nested_format(1);
Mqtt::send_response(false); // Mqtt::send_response(false);
run_test("boiler"); run_test("boiler");
// run_test("thermostat"); // run_test("thermostat");
@@ -633,7 +633,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
Mqtt::ha_enabled(true); Mqtt::ha_enabled(true);
Mqtt::nested_format(1); Mqtt::nested_format(1);
Mqtt::send_response(false); // Mqtt::send_response(false);
run_test("boiler"); run_test("boiler");
run_test("thermostat"); run_test("thermostat");
@@ -703,7 +703,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
shell.printfln("Testing custom entities"); shell.printfln("Testing custom entities");
Mqtt::ha_enabled(true); Mqtt::ha_enabled(true);
Mqtt::send_response(false); // Mqtt::send_response(false);
run_test("thermostat"); run_test("thermostat");
@@ -734,7 +734,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
shell.printfln("Testing masked entities"); shell.printfln("Testing masked entities");
Mqtt::ha_enabled(true); Mqtt::ha_enabled(true);
Mqtt::send_response(false); // Mqtt::send_response(false);
run_test("boiler"); run_test("boiler");
@@ -759,7 +759,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
shell.printfln("Testing device value lost"); shell.printfln("Testing device value lost");
Mqtt::ha_enabled(true); Mqtt::ha_enabled(true);
Mqtt::send_response(false); // Mqtt::send_response(false);
run_test("boiler"); run_test("boiler");
@@ -780,7 +780,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
shell.printfln("Testing API getting values"); shell.printfln("Testing API getting values");
Mqtt::ha_enabled(false); Mqtt::ha_enabled(false);
Mqtt::nested_format(1); Mqtt::nested_format(1);
Mqtt::send_response(false); // Mqtt::send_response(false);
// EMSESP::bool_format(BOOL_FORMAT_10); // BOOL_FORMAT_10_STR // EMSESP::bool_format(BOOL_FORMAT_10); // BOOL_FORMAT_10_STR
EMSESP::system_.bool_format(BOOL_FORMAT_TRUEFALSE); // BOOL_FORMAT_TRUEFALSE_STR EMSESP::system_.bool_format(BOOL_FORMAT_TRUEFALSE); // BOOL_FORMAT_TRUEFALSE_STR
@@ -813,7 +813,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
shell.printfln("Testing MQTT incoming changes"); shell.printfln("Testing MQTT incoming changes");
Mqtt::ha_enabled(false); Mqtt::ha_enabled(false);
Mqtt::nested_format(1); Mqtt::nested_format(1);
Mqtt::send_response(false); // Mqtt::send_response(false);
EMSESP::system_.bool_format(BOOL_FORMAT_10); // BOOL_FORMAT_10_STR EMSESP::system_.bool_format(BOOL_FORMAT_10); // BOOL_FORMAT_10_STR
// EMSESP::bool_format(BOOL_FORMAT_TRUEFALSE); // BOOL_FORMAT_TRUEFALSE_STR // EMSESP::bool_format(BOOL_FORMAT_TRUEFALSE); // BOOL_FORMAT_TRUEFALSE_STR
@@ -851,7 +851,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
// Mqtt::ha_enabled(false); // Mqtt::ha_enabled(false);
Mqtt::nested_format(1); Mqtt::nested_format(1);
Mqtt::send_response(true); // Mqtt::send_response(true);
run_test("boiler"); run_test("boiler");
run_test("thermostat"); run_test("thermostat");