diff --git a/CHANGELOG.md b/CHANGELOG.md index 4320f0269014..9d4e5225be2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,10 @@ All notable changes to this project will be documented in this file. ## [13.3.0.5] 20240214 ### Added - Internal support for persistent JSON settings using single file -- Command ``SetOption158`` to publish or suppress ModbusReceived MQTT messages (#20678) +- Command ``SetOption158 1`` to disable publish of ModbusReceived MQTT messages (#20678) - ESP32 Core3 support for SPI ethernet on DM9051, W5500 and KSZ8851 - Berry option to invert serial +- Command ``SetOption159 1`` to enable counting on both rising and falling edge (#20712) ### Breaking Changed - ESP32 LVGL library from v8.3.11 to v9.0.0, some small breaking changes in C, none in HASPmota (#20659) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 317a3e2f9381..5ba086e9ec3b 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -119,7 +119,8 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm ## Changelog v13.4.0 Quinta ### Added - Command ``TimedPower [,ON|OFF|TOGGLE|BLINK]`` executes ``Power [ON|OFF|TOGGLE|BLINK] `` and after executes ``Power [OFF|ON|TOGGLE|OFF]`` -- Command ``SetOption158`` to publish or suppress ModbusReceived MQTT messages [#20678](https://github.com/arendst/Tasmota/issues/20678) +- Command ``SetOption158 1`` to disable publish of ModbusReceived MQTT messages [#20678](https://github.com/arendst/Tasmota/issues/20678) +- Command ``SetOption159 1`` to enable counting on both rising and falling edge [#20712](https://github.com/arendst/Tasmota/issues/20712) - Display of active drivers using command ``status 4`` - GPIO Viewer to see realtime GPIO states using assets from `https://ota.tasmota.com/tasmota/gpioviewer/gpio_viewer_13_4_0/` v2.0.8 - Support for CST816S touch interface [#20213](https://github.com/arendst/Tasmota/issues/20213) diff --git a/lib/libesp32/berry_matter/src/be_matter_module.c b/lib/libesp32/berry_matter/src/be_matter_module.c index 693d090de871..90176e59ac32 100644 --- a/lib/libesp32/berry_matter/src/be_matter_module.c +++ b/lib/libesp32/berry_matter/src/be_matter_module.c @@ -52,6 +52,7 @@ static const uint8_t MATTER_ADD_ENDPOINT_HINTS_JS[] = "function otm(arg_name,val){" "var s=eb(arg_name);" "s.placeholder=(val in hm)?hl[hm[val]]:\"\";" + "s.title=s.placeholder;" "};" ""; diff --git a/lib/libesp32/berry_matter/src/embedded/Matter_UI.be b/lib/libesp32/berry_matter/src/embedded/Matter_UI.be index 5064bd3e803f..9c1e082de7ef 100644 --- a/lib/libesp32/berry_matter/src/embedded/Matter_UI.be +++ b/lib/libesp32/berry_matter/src/embedded/Matter_UI.be @@ -329,8 +329,10 @@ class Matter_UI var cl = self.device.plugins_classes.find(typ) var arg = "" + var arg_hint = "" if cl != nil arg = cl.ui_conf_to_string(cl, conf) + arg_hint = cl.ARG_HINT end found = true @@ -338,11 +340,11 @@ class Matter_UI webserver.content_send(format("", ep, webserver.html_escape(conf.find('name', '')))) webserver.content_send(f"{self.plugin_name(conf.find('type', ''))}") - webserver.content_send(format("", - ep, webserver.html_escape(arg), cl ? webserver.html_escape(cl.ARG_HINT) : '')) - webserver.content_send(f"") i += 1 @@ -395,8 +397,10 @@ class Matter_UI var cl = self.device.plugins_classes.find(typ) var arg = "" + var arg_hint = "" if cl != nil arg = cl.ui_conf_to_string(cl, conf) + arg_hint = cl.ARG_HINT end found = true @@ -405,8 +409,8 @@ class Matter_UI ep, webserver.html_escape(conf.find('name', '')))) webserver.content_send(format("%s", self.plugin_name(conf.find('type', '')))) - webserver.content_send(format("", - ep, webserver.html_escape(arg))) + webserver.content_send(format("", + ep, webserver.html_escape(arg), webserver.html_escape(arg_hint))) webserver.content_send(f"