esphome / esphome/feature-requests
ld2410 dynamic throttle
- Dominant language
- No language data
- Stars
- 450
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the problem you have/What new integration you would like**
Trying to fine-tune the ld2410, but the `throttle` configuration causes it to miss short spikes that need to be taken into account when tuning the thresholds. It would be nice if the throttle value could be dynamically set so that it could be turned down when using engineering mode and tuning the sensor, then turned back up when complete without having to recompile.
**Please describe your use case for this integration and alternatives you've tried:**
Other thoughts are replacing the throttle function that simply skips values with a running max so that every throttle period the max value for each gate is sent rather than the latest.
**Additional context**
Thanks @regevbr for the excellent ld2410 integration.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the ld2410 integration's throttle configuration and the engineering-mode path. Compare the requested dynamic throttle behavior with the alternative of retaining a maximum over each throttle period, then clarify which behavior should be implemented and how tuning mode should change it. Done means the selected behavior works without recompilation and does not lose short spikes during threshold tuning.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100