diff --git a/CHANGELOG.md b/CHANGELOG.md index d2cc5933f..3928ddfb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file. - Command ``SSerialBuffer 256..SERIAL_BRIDGE_BUFFER_SIZE`` to change serial bridge rx buffer size (#17120) - Command ``SetOption35 0..255`` to skip number of received messages in Serial Bridge (default 0) (#17140) - Teleinfo TEMPO (BBR) contract (#17160) +- Support for HLK-LD2410 24GHz smart wave motion sensor ### Breaking Changed diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 77a0ae6b6..5e456c5c2 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -118,6 +118,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo - Command NeoPool ``NPFiltration 2`` toggle [#16859](https://github.com/arendst/Tasmota/issues/16859) - Optional define ``SERIAL_BRIDGE_BUFFER_SIZE`` to set Serial Bridge internal buffer size (Default ESP8266 = 256, ESP32 = 800) - Support for two phase power calibration using commands ``PowerSet2``, ``VoltageSet2`` and ``CurrentSet2`` +- Support for HLK-LD2410 24GHz smart wave motion sensor - Support for Shelly Pro 1/1PM and 2/2PM [#16773](https://github.com/arendst/Tasmota/issues/16773) - Support for up to four DS18x20 GPIOs by md5sum-as [#16833](https://github.com/arendst/Tasmota/issues/16833) - Support for Digital Addressable Lighting Interface (DALI) by Andrei Kazmirtsuk [#16938](https://github.com/arendst/Tasmota/issues/16938) diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index 3cd730dd6..9cd29bb80 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -811,6 +811,7 @@ //#define USE_VINDRIKTNING // Add support for IKEA VINDRIKTNING particle concentration sensor (+0k6 code) // #define VINDRIKTNING_SHOW_PM1 // Display undocumented/supposed PM1.0 values // #define VINDRIKTNING_SHOW_PM10 // Display undocumented/supposed PM10 values +//#define USE_LD2410 // Add support for HLK-LD2410 24GHz smart wave motion sensor (+2k8 code) // -- Power monitoring sensors -------------------- #define USE_ENERGY_SENSOR // Add support for Energy Monitors (+14k code) diff --git a/tasmota/tasmota_support/support_features.ino b/tasmota/tasmota_support/support_features.ino index e337b2a90..b70ed8c93 100644 --- a/tasmota/tasmota_support/support_features.ino +++ b/tasmota/tasmota_support/support_features.ino @@ -855,7 +855,9 @@ void ResponseAppendFeatures(void) #if defined(USE_I2C) && defined(USE_HMC5883L) feature9 |= 0x00000200; // xsns_101_hmc5883l.ino #endif -// feature9 |= 0x00000400; +#ifdef USE_LD2410 + feature9 |= 0x00000400; // xsns_102_ld2410.ino +#endif // feature9 |= 0x00000800; // feature9 |= 0x00001000; diff --git a/tools/decode-status.py b/tools/decode-status.py index 5780173b3..06cab64e5 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -288,7 +288,7 @@ a_features = [[ ],[ "USE_SGP40","USE_LUXV30B","USE_CANSNIFFER","USE_QMC5883L", "USE_MODBUS_ENERGY","USE_SHELLY_PRO","USE_DALI","USE_BP1658CJ", - "USE_DINGTIAN_RELAY","USE_HMC5883L","","", + "USE_DINGTIAN_RELAY","USE_HMC5883L","USE_LD2410","", "","","","", "","","","", "","","","", @@ -321,7 +321,7 @@ else: obj = json.load(fp) def StartDecode(): - print ("\n*** decode-status.py v12.2.0.4 by Theo Arends and Jacek Ziolkowski ***") + print ("\n*** decode-status.py v12.2.0.5 by Theo Arends and Jacek Ziolkowski ***") # print("Decoding\n{}".format(obj))