Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add xsns_102_ld2410s.ino #22253

Merged
merged 2 commits into from
Oct 25, 2024
Merged

Conversation

md5sum-as
Copy link
Contributor

@md5sum-as md5sum-as commented Oct 7, 2024

Description:

Related issue (if applicable): fixes #

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.8
  • The code change is tested and works with Tasmota core ESP32 V.3.1.0.240926
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

HLK-LD2410S 24GHz smart wave motion sensor
Attention!
This module works with HLK-LD2410S devices.
The module does not support another HLK-LD2410 devices.

Available commands:
LD2410S_Parameters - showing previously received parameters
LD2410S_ReRead - reread common, trigger and hold parameters from device
LD2410S_SetCommon 0-16,1-16,10-120,5-80,5-80,5/10 - set common: near door, far door, hold_time, status_freq, distance_freq, response_speed
LD2410S_SetTrigger n,n1..n16 - set trigger values (16)
LD2410S_SetHold n,n1..n16 - set hold values (16)
LD2410S_Out_Mode 0/1 - set device output mode 0-short (only distance and 0/1 - no people, 2/3 detect people), 1-normal mode (add energy values per door)
LD2410S_AutoUpdate 2,1,60 - start autoupdate trigger and hold thresholds/ Params: trigger_scale,retension_factor,scan_time
LD2410S_Follow 0/1 - if 1 then start reports every seconds

imageimage

@md5sum-as md5sum-as mentioned this pull request Oct 7, 2024
6 tasks
@arendst arendst merged commit 41442a5 into arendst:development Oct 25, 2024
59 checks passed
@@ -881,6 +881,7 @@
// #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 (+3k7 code)
//#define USE_LD2410S // Add support for HLK-LD2410S 24GHz smart wave motion sensor (+4k6 code)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @arendst
I can't find this string in "development" branch. It's correct?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Correct. Update your branch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
The default branch (development) in project https://github.com/arendst/Tasmota

josef109 pushed a commit to josef109/Tasmota that referenced this pull request Nov 7, 2024
Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
josef109 pushed a commit to josef109/Tasmota that referenced this pull request Nov 10, 2024
Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
@md5sum-as md5sum-as deleted the xsns_102_ld2410s branch December 12, 2024 14:37
@md5sum-as md5sum-as restored the xsns_102_ld2410s branch December 12, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants