Merge branch 'development' into prerelease-14.4.0

This commit is contained in:
Theo Arends 2024-12-09 15:20:01 +01:00
commit 8eada8e7d8
35 changed files with 115 additions and 71 deletions

View File

@ -32,6 +32,7 @@ All notable changes to this project will be documented in this file.
- Prevent active BLE operations with unencrypted MI-format beacons (#22453) - Prevent active BLE operations with unencrypted MI-format beacons (#22453)
- ESP32 replaced NeoPixelBus with TasmotaLED (#22556) - ESP32 replaced NeoPixelBus with TasmotaLED (#22556)
- ESP32 Platform from 2024.11.31 to 2024.12.30, Framework (Arduino Core) from v3.1.0.241117 to v3.1.0.241206 and IDF to 5.3.2 (#22600) - ESP32 Platform from 2024.11.31 to 2024.12.30, Framework (Arduino Core) from v3.1.0.241117 to v3.1.0.241206 and IDF to 5.3.2 (#22600)
- RG-15 sensor name from RG-15 to RG15 (#22612)
### Fixed ### Fixed
- ESP32 upgrade by file upload response based on file size (#22500) - ESP32 upgrade by file upload response based on file size (#22500)
@ -43,6 +44,7 @@ All notable changes to this project will be documented in this file.
- ESP32-C2 TasmotaLED from not present I2S to SPI (#22575) - ESP32-C2 TasmotaLED from not present I2S to SPI (#22575)
- KNX Scenes index change regression from v14.2.0.4 (#22405) - KNX Scenes index change regression from v14.2.0.4 (#22405)
- Add GUI submenu headers and refresh configuration button text (#22592) - Add GUI submenu headers and refresh configuration button text (#22592)
- ESP8266 Device Group exception due to lack of stack space (#22271)
### Removed ### Removed

View File

@ -161,6 +161,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
- Redesign GUI adding feedback to buttons, shutters and lights - Redesign GUI adding feedback to buttons, shutters and lights
- Add GUI submenu headers and refresh configuration button text (#22592) - Add GUI submenu headers and refresh configuration button text (#22592)
- Use command `WebButton1` to change GUI shutter 1 name - Use command `WebButton1` to change GUI shutter 1 name
- RG-15 sensor name from RG-15 to RG15 [#22612](https://github.com/arendst/Tasmota/issues/22612)
- Unit (k)VAr(h) to (k)var(h) [#22435](https://github.com/arendst/Tasmota/issues/22435) - Unit (k)VAr(h) to (k)var(h) [#22435](https://github.com/arendst/Tasmota/issues/22435)
- AHT1X/AHT2X/AHT3X ready for virtual I2C [#22427](https://github.com/arendst/Tasmota/issues/22427) - AHT1X/AHT2X/AHT3X ready for virtual I2C [#22427](https://github.com/arendst/Tasmota/issues/22427)
- SGP4X ready for virtual I2C [#22427](https://github.com/arendst/Tasmota/issues/22427) - SGP4X ready for virtual I2C [#22427](https://github.com/arendst/Tasmota/issues/22427)
@ -187,6 +188,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
- Mitsubishi Electric HVAC Standby Stage for MiElHVAC [#22430](https://github.com/arendst/Tasmota/issues/22430) - Mitsubishi Electric HVAC Standby Stage for MiElHVAC [#22430](https://github.com/arendst/Tasmota/issues/22430)
- EQ3 TRV firmware version 1.46 fails if the default true is used in subscribe on the notify characteristic [#22328](https://github.com/arendst/Tasmota/issues/22328) - EQ3 TRV firmware version 1.46 fails if the default true is used in subscribe on the notify characteristic [#22328](https://github.com/arendst/Tasmota/issues/22328)
- Ethernet on -DFRAMEWORK_ARDUINO_ITEAD framework regression from v14.3.0 [#22367](https://github.com/arendst/Tasmota/issues/22367) - Ethernet on -DFRAMEWORK_ARDUINO_ITEAD framework regression from v14.3.0 [#22367](https://github.com/arendst/Tasmota/issues/22367)
- ESP8266 Device Group exception due to lack of stack space (#22271)[#22271](https://github.com/arendst/Tasmota/issues/22271)
- ESP32 Upgrade by file upload response based on file size [#22500](https://github.com/arendst/Tasmota/issues/22500) - ESP32 Upgrade by file upload response based on file size [#22500](https://github.com/arendst/Tasmota/issues/22500)
- ESP32 Arduino Core IPv6 zones used by Matter [#22378](https://github.com/arendst/Tasmota/issues/22378) - ESP32 Arduino Core IPv6 zones used by Matter [#22378](https://github.com/arendst/Tasmota/issues/22378)
- ESP32, ESP32-S2 and ESP32-S3 re-enable touch buttons [#22446](https://github.com/arendst/Tasmota/issues/22446) - ESP32, ESP32-S2 and ESP32-S3 re-enable touch buttons [#22446](https://github.com/arendst/Tasmota/issues/22446)

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Luggehalte" #define D_AIR_QUALITY "Luggehalte"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "as" #define D_AS "as"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "BLE" #define D_CONFIGURE_BLE "BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Качество на въздуха" #define D_AIR_QUALITY "Качество на въздуха"
#define D_AP "Точка за достъп" // Access Point #define D_AP "Точка за достъп" // Access Point
#define D_AS "като" #define D_AS "като"
#define D_AT "at"
#define D_AUTO "АВТОМАТИЧНО" #define D_AUTO "АВТОМАТИЧНО"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Бат." // Short for Battery #define D_BATT "Бат." // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Qualitat Aire" #define D_AIR_QUALITY "Qualitat Aire"
#define D_AP "PA" // Access Point #define D_AP "PA" // Access Point
#define D_AS "com" #define D_AS "com"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Bat" // Short for Battery #define D_BATT "Bat" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Kvalita vzduchu" #define D_AIR_QUALITY "Kvalita vzduchu"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "jako" #define D_AS "jako"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -28,7 +28,7 @@
* Use online command StateText to translate ON, OFF, HOLD and TOGGLE. * Use online command StateText to translate ON, OFF, HOLD and TOGGLE.
* Use online command Prefix to translate cmnd, stat and tele. * Use online command Prefix to translate cmnd, stat and tele.
* *
* Updated until v14.3.0.7 - Last update 07.12.2024 * Updated until v14.3.0.7 - Last update 08.12.2024
\*********************************************************************/ \*********************************************************************/
//#define LANGUAGE_MODULE_NAME // Enable to display "Module Generic" (ie Spanish), Disable to display "Generic Module" (ie English) //#define LANGUAGE_MODULE_NAME // Enable to display "Module Generic" (ie Spanish), Disable to display "Generic Module" (ie English)
@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Luftqualität" #define D_AIR_QUALITY "Luftqualität"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "als" #define D_AS "als"
#define D_AT "an"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Batterie" #define D_BATTERY "Batterie"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -571,10 +572,10 @@
#define D_THERMOSTAT_AUTOTUNE_HYBRID "Autotune (Hybrid)" #define D_THERMOSTAT_AUTOTUNE_HYBRID "Autotune (Hybrid)"
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "BLE Einstellungen" #define D_CONFIGURE_BLE "BLE"
#define D_BLE_PARAMETERS "BLE Parameter" #define D_BLE_PARAMETERS "BLE Parameter"
#define D_MQTT_BLE_ENABLE "BLE aktivieren" #define D_BLE_ENABLE "BLE aktivieren"
#define D_MQTT_BLE_ACTIVESCAN "Aktiv scannen (*)" #define D_BLE_ACTIVESCAN "Aktiv scannen (*)"
#define D_BLE_DEVICES "Erkannte Geräte" #define D_BLE_DEVICES "Erkannte Geräte"
#define D_BLE_REMARK "Mit (*) markierte Geräte werden nicht gespeichert." #define D_BLE_REMARK "Mit (*) markierte Geräte werden nicht gespeichert."

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Ποιότητα αέρα" #define D_AIR_QUALITY "Ποιότητα αέρα"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "ως" #define D_AS "ως"
#define D_AT "at"
#define D_AUTO "ΑΥΤΟΜΑΤΟ" #define D_AUTO "ΑΥΤΟΜΑΤΟ"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Air quality" #define D_AIR_QUALITY "Air quality"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "as" #define D_AS "as"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "BLE" #define D_CONFIGURE_BLE "BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Calidad del Aire" #define D_AIR_QUALITY "Calidad del Aire"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "como" #define D_AS "como"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Bat" // Short for Battery #define D_BATT "Bat" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Qualité de l'Air" #define D_AIR_QUALITY "Qualité de l'Air"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "comme" #define D_AS "comme"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Luchtkwaliteit" #define D_AIR_QUALITY "Luchtkwaliteit"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "als" #define D_AS "als"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "איכות אוויר" #define D_AIR_QUALITY "איכות אוויר"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "-כ" #define D_AS "-כ"
#define D_AT "at"
#define D_AUTO "אוטומטי" #define D_AUTO "אוטומטי"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Levegőminőség" #define D_AIR_QUALITY "Levegőminőség"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "mint" #define D_AS "mint"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Qualità dell'aria" #define D_AIR_QUALITY "Qualità dell'aria"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "come" #define D_AS "come"
#define D_AT "in"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Batteria" #define D_BATTERY "Batteria"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "BLE" #define D_CONFIGURE_BLE "BLE"
#define D_BLE_PARAMETERS "Impostazioni Bluetooth" #define D_BLE_PARAMETERS "Impostazioni Bluetooth"
#define D_MQTT_BLE_ENABLE "Abilita Bluetooth" #define D_BLE_ENABLE "Abilita Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Abilita scansione attiva (*)" #define D_BLE_ACTIVESCAN "Abilita scansione attiva (*)"
#define D_BLE_DEVICES "Scansione dispositivi" #define D_BLE_DEVICES "Scansione dispositivi"
#define D_BLE_REMARK "gli elementi segnati con (*) non sono memorizzati in config" #define D_BLE_REMARK "gli elementi segnati con (*) non sono memorizzati in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "공기질" #define D_AIR_QUALITY "공기질"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "as" #define D_AS "as"
#define D_AT "at"
#define D_AUTO "자동" #define D_AUTO "자동"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Lucht kwaliteit" #define D_AIR_QUALITY "Lucht kwaliteit"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "als" #define D_AS "als"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Jakość powietrza" #define D_AIR_QUALITY "Jakość powietrza"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "jak" #define D_AS "jak"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Bateria" #define D_BATTERY "Bateria"
#define D_BATT "Bat" // Short for Battery #define D_BATT "Bat" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Konfiguracja BLE" #define D_CONFIGURE_BLE "Konfiguracja BLE"
#define D_BLE_PARAMETERS "Ustawienia Bluetooth" #define D_BLE_PARAMETERS "Ustawienia Bluetooth"
#define D_MQTT_BLE_ENABLE "Załącz Bluetooth" #define D_BLE_ENABLE "Załącz Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Załącz Aktywne Skanowanie(*)" #define D_BLE_ACTIVESCAN "Załącz Aktywne Skanowanie(*)"
#define D_BLE_DEVICES "Znalezione Urządzenia" #define D_BLE_DEVICES "Znalezione Urządzenia"
#define D_BLE_REMARK "rzeczy oznaczone (*) nie są zapisywane w konfiguracji" #define D_BLE_REMARK "rzeczy oznaczone (*) nie są zapisywane w konfiguracji"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Qualidade do ar" #define D_AIR_QUALITY "Qualidade do ar"
#define D_AP "Ponto de acesso" // Ponto de Acesso #define D_AP "Ponto de acesso" // Ponto de Acesso
#define D_AS "como" #define D_AS "como"
#define D_AT "at"
#define D_AUTO "Auto" #define D_AUTO "Auto"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Bat" // Short for Battery #define D_BATT "Bat" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Qualidade do Ar" #define D_AIR_QUALITY "Qualidade do Ar"
#define D_AP "AP" // Ponto de Acesso #define D_AP "AP" // Ponto de Acesso
#define D_AS "como" #define D_AS "como"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Calitatea aerului" #define D_AIR_QUALITY "Calitatea aerului"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "as" #define D_AS "as"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -57,6 +57,7 @@
#define D_AIR_QUALITY "Качество воздуха" #define D_AIR_QUALITY "Качество воздуха"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "как" #define D_AS "как"
#define D_AT "at"
#define D_AUTO "АВТО" #define D_AUTO "АВТО"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -574,8 +575,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Kvalita vzduchu" #define D_AIR_QUALITY "Kvalita vzduchu"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "ako" #define D_AS "ako"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Luftkvalitet" #define D_AIR_QUALITY "Luftkvalitet"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "som" #define D_AS "som"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Hava Kalitesi" #define D_AIR_QUALITY "Hava Kalitesi"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "as" #define D_AS "as"
#define D_AT "at"
#define D_AUTO "OTOMATIK" #define D_AUTO "OTOMATIK"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Якість повітря" #define D_AIR_QUALITY "Якість повітря"
#define D_AP "Точка доступу" // Access Point #define D_AP "Точка доступу" // Access Point
#define D_AS "як" #define D_AS "як"
#define D_AT "at"
#define D_AUTO "АВТО" #define D_AUTO "АВТО"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "Chất lượng không khí" #define D_AIR_QUALITY "Chất lượng không khí"
#define D_AP "Mạng wifi" // Access Point #define D_AP "Mạng wifi" // Access Point
#define D_AS "với tên gọi" #define D_AS "với tên gọi"
#define D_AT "at"
#define D_AUTO "AUTO" #define D_AUTO "AUTO"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "空气质量" #define D_AIR_QUALITY "空气质量"
#define D_AP "AP" // Access Point #define D_AP "AP" // Access Point
#define D_AS "名称:" #define D_AS "名称:"
#define D_AT "at"
#define D_AUTO "自动" #define D_AUTO "自动"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "Batt" // Short for Battery #define D_BATT "Batt" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -56,6 +56,7 @@
#define D_AIR_QUALITY "空氣品質" #define D_AIR_QUALITY "空氣品質"
#define D_AP "存取點" // Access Point #define D_AP "存取點" // Access Point
#define D_AS "名稱:" #define D_AS "名稱:"
#define D_AT "at"
#define D_AUTO "自動" #define D_AUTO "自動"
#define D_BATTERY "Battery" #define D_BATTERY "Battery"
#define D_BATT "電池" // Short for Battery #define D_BATT "電池" // Short for Battery
@ -573,8 +574,8 @@
// xdrv_79_esp32_ble.ino // xdrv_79_esp32_ble.ino
#define D_CONFIGURE_BLE "Configure BLE" #define D_CONFIGURE_BLE "Configure BLE"
#define D_BLE_PARAMETERS "Bluetooth Settings" #define D_BLE_PARAMETERS "Bluetooth Settings"
#define D_MQTT_BLE_ENABLE "Enable Bluetooth" #define D_BLE_ENABLE "Enable Bluetooth"
#define D_MQTT_BLE_ACTIVESCAN "Enable Active Scan(*)" #define D_BLE_ACTIVESCAN "Enable Active Scan(*)"
#define D_BLE_DEVICES "Devices Seen" #define D_BLE_DEVICES "Devices Seen"
#define D_BLE_REMARK "items marked (*) are not stored in config" #define D_BLE_REMARK "items marked (*) are not stored in config"

View File

@ -2654,11 +2654,12 @@ void AddLogData(uint32_t loglevel, const char* log_data, const char* log_data_pa
// Each entry has this format: [index][loglevel][log data]['\1'] // Each entry has this format: [index][loglevel][log data]['\1']
// Truncate log messages longer than MAX_LOGSZ which is the log buffer size minus 64 spare // Truncate log messages longer than MAX_LOGSZ which is the log buffer size minus 64 spare
char *too_long = nullptr;
uint32_t log_data_len = strlen(log_data) + strlen(log_data_payload) + strlen(log_data_retained); uint32_t log_data_len = strlen(log_data) + strlen(log_data_payload) + strlen(log_data_retained);
char too_long[TOPSZ];
if (log_data_len > MAX_LOGSZ) { if (log_data_len > MAX_LOGSZ) {
snprintf_P(too_long, sizeof(too_long) - 20, PSTR("%s%s"), log_data, log_data_payload); // 20 = strlen("... 123456 truncated") too_long = (char*)malloc(TOPSZ); // Use heap in favour of stack
snprintf_P(too_long, sizeof(too_long), PSTR("%s... %d truncated"), too_long, log_data_len); snprintf_P(too_long, TOPSZ - 20, PSTR("%s%s"), log_data, log_data_payload); // 20 = strlen("... 123456 truncated")
snprintf_P(too_long, TOPSZ, PSTR("%s... %d truncated"), too_long, log_data_len);
log_data = too_long; log_data = too_long;
log_data_payload = empty; log_data_payload = empty;
log_data_retained = empty; log_data_retained = empty;
@ -2679,6 +2680,9 @@ void AddLogData(uint32_t loglevel, const char* log_data, const char* log_data_pa
} }
snprintf_P(TasmotaGlobal.log_buffer, LOG_BUFFER_SIZE, PSTR("%s%c%c%s%s%s%s\1"), snprintf_P(TasmotaGlobal.log_buffer, LOG_BUFFER_SIZE, PSTR("%s%c%c%s%s%s%s\1"),
TasmotaGlobal.log_buffer, TasmotaGlobal.log_buffer_pointer++, '0'+loglevel, mxtime, log_data, log_data_payload, log_data_retained); TasmotaGlobal.log_buffer, TasmotaGlobal.log_buffer_pointer++, '0'+loglevel, mxtime, log_data, log_data_payload, log_data_retained);
if (too_long) {
free(too_long);
}
TasmotaGlobal.log_buffer_pointer &= 0xFF; TasmotaGlobal.log_buffer_pointer &= 0xFF;
if (!TasmotaGlobal.log_buffer_pointer) { if (!TasmotaGlobal.log_buffer_pointer) {
TasmotaGlobal.log_buffer_pointer++; // Index 0 is not allowed as it is the end of char string TasmotaGlobal.log_buffer_pointer++; // Index 0 is not allowed as it is the end of char string

View File

@ -348,6 +348,13 @@ void ExecuteCommand(const char *cmnd, uint32_t source)
CommandHandler(stopic, svalue, strlen(svalue)); CommandHandler(stopic, svalue, strlen(svalue));
} }
bool GetFallbackTopicFlag(char* topicBuf) {
// Use this function to free CommandHandler stack space from TOPSZ
char stemp1[TOPSZ];
GetFallbackTopic_P(stemp1, ""); // Full Fallback topic = cmnd/DVES_xxxxxxxx_fb/
return (!strncmp(topicBuf, stemp1, strlen(stemp1)));
}
/********************************************************************************************/ /********************************************************************************************/
// topicBuf: /power1 dataBuf: toggle = Console command // topicBuf: /power1 dataBuf: toggle = Console command
@ -369,9 +376,7 @@ void CommandHandler(char* topicBuf, char* dataBuf, uint32_t data_len) {
} }
} }
char stemp1[TOPSZ]; TasmotaGlobal.fallback_topic_flag = GetFallbackTopicFlag(topicBuf);
GetFallbackTopic_P(stemp1, ""); // Full Fallback topic = cmnd/DVES_xxxxxxxx_fb/
TasmotaGlobal.fallback_topic_flag = (!strncmp(topicBuf, stemp1, strlen(stemp1)));
char *type = strrchr(topicBuf, '/'); // Last part of received topic is always the command (type) char *type = strrchr(topicBuf, '/'); // Last part of received topic is always the command (type)
@ -416,11 +421,13 @@ void CommandHandler(char* topicBuf, char* dataBuf, uint32_t data_len) {
} }
Response_P(PSTR("_1")); // Signal error message for either Command Error or Command Unknown Response_P(PSTR("_1")); // Signal error message for either Command Error or Command Unknown
char number[12]; char stemp1[16];
char command_line[64]; // char command_line[64];
snprintf_P(command_line, sizeof(command_line), PSTR("%s%s%s%s"), // snprintf_P(command_line, sizeof(command_line), PSTR("%s%s%s%s"),
char *command_line = (char*)malloc(64); // Use heap in favour of stack
snprintf_P(command_line, 64, PSTR("%s%s%s%s"),
type, type,
(index != 1) ? itoa(index, number, 10) : "", (index != 1) ? itoa(index, stemp1, 10) : "",
(data_len) ? " " : "", (data_len) ? " " : "",
(data_len) ? (binary_data) ? HexToString((uint8_t*)dataBuf, data_len).c_str() : EscapeJSONString(dataBuf).c_str() : ""); (data_len) ? (binary_data) ? HexToString((uint8_t*)dataBuf, data_len).c_str() : EscapeJSONString(dataBuf).c_str() : "");
@ -483,6 +490,7 @@ void CommandHandler(char* topicBuf, char* dataBuf, uint32_t data_len) {
} }
ResponseAppend_P(PSTR(",\"Input\":\"%s\"}"), command_line); ResponseAppend_P(PSTR(",\"Input\":\"%s\"}"), command_line);
} }
free(command_line);
if (ResponseLength()) { if (ResponseLength()) {
if (TasmotaGlobal.no_mqtt_response){ // If it is activated, Tasmota will not publish MQTT messages, but it will proccess event trigger rules if (TasmotaGlobal.no_mqtt_response){ // If it is activated, Tasmota will not publish MQTT messages, but it will proccess event trigger rules

View File

@ -2845,7 +2845,7 @@ void HandleInformation(void) {
WSContentSend_P(PSTR("}1" D_CORE_AND_SDK_VERSION "}2" ARDUINO_CORE_RELEASE "/%s"), ESP.getSdkVersion()); WSContentSend_P(PSTR("}1" D_CORE_AND_SDK_VERSION "}2" ARDUINO_CORE_RELEASE "/%s"), ESP.getSdkVersion());
WSContentSend_P(PSTR("}1" D_UPTIME "}2%s"), GetUptime().c_str()); WSContentSend_P(PSTR("}1" D_UPTIME "}2%s"), GetUptime().c_str());
#ifdef ESP8266 #ifdef ESP8266
WSContentSend_P(PSTR("}1" D_FLASH_WRITE_COUNT "}2%d at 0x%X"), Settings->save_flag, GetSettingsAddress()); WSContentSend_P(PSTR("}1" D_FLASH_WRITE_COUNT "}2%d " D_AT " 0x%X"), Settings->save_flag, GetSettingsAddress());
#endif // ESP8266 #endif // ESP8266
#ifdef ESP32 #ifdef ESP32
WSContentSend_P(PSTR("}1" D_FLASH_WRITE_COUNT "}2%d"), Settings->save_flag); WSContentSend_P(PSTR("}1" D_FLASH_WRITE_COUNT "}2%d"), Settings->save_flag);

View File

@ -566,7 +566,8 @@ bool MqttPublishLib(const char* topic, const uint8_t* payload, unsigned int plen
MqttClient.endPublish(); MqttClient.endPublish();
yield(); // #3313 // yield(); // #3313
delay(0);
return true; return true;
} }

View File

@ -3573,8 +3573,8 @@ const char HTTP_BTN_MENU_BLE[] PROGMEM =
const char HTTP_FORM_BLE[] PROGMEM = const char HTTP_FORM_BLE[] PROGMEM =
"<fieldset><legend><b>&nbsp;" D_BLE_PARAMETERS "&nbsp;</b></legend>" "<fieldset><legend><b>&nbsp;" D_BLE_PARAMETERS "&nbsp;</b></legend>"
"<form method='get' action='" WEB_HANDLE_BLE "'>" "<form method='get' action='" WEB_HANDLE_BLE "'>"
"<p><label><input id='e0' type='checkbox'%s><b>" D_MQTT_BLE_ENABLE "</b></label></p>" "<p><label><input id='e0' type='checkbox'%s><b>" D_BLE_ENABLE "</b></label></p>"
"<p><label><input id='e1' type='checkbox'%s><b>" D_MQTT_BLE_ACTIVESCAN "</b></label></p>" "<p><label><input id='e1' type='checkbox'%s><b>" D_BLE_ACTIVESCAN "</b></label></p>"
"<p>" D_BLE_REMARK "</p>"; "<p>" D_BLE_REMARK "</p>";

View File

@ -31,7 +31,7 @@
#define XSNS_90 90 #define XSNS_90 90
#define RG15_NAME "RG-15" #define RG15_NAME "RG15"
#define RG15_BAUDRATE 9600 #define RG15_BAUDRATE 9600
#define RG15_READ_TIMEOUT 500 #define RG15_READ_TIMEOUT 500
#define RG15_EVENT_TIMEOUT 60 #define RG15_EVENT_TIMEOUT 60