-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 ld2450 document #3327
Add ld2450 document #3327
Conversation
✅ Deploy Preview for esphome ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
f8604a1
to
13f31ab
Compare
8685970
to
37b651f
Compare
edbee03
to
471eaa6
Compare
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
components/sensor/ld2450.rst
Outdated
using multiple components. | ||
- **bluetooth** (*Optional*): Turn on/off the bluetooth adapter. Defaults to ``true``. All options from | ||
:ref:`Switch <config-switch>`. | ||
- **multi_target** (*Optional*): Turn on/off the Multi Target Tracking option. All options from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
multi_target defaults to false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, it's read from the device at start-up so its state will depend on how it's set on the LD2450. IIRC, the LD2450's factory default has it set to "on", but the state is stored so it will be recalled after each reset or power-cycle.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are correct. Apologies for not fully understanding the LD2450 specs.
However: this integration does not show (after factory reset) status: multi-target ON.
This happens (after factory reset, change in status multi-target to ON) after activating the mobile app connection to the sensor.
Is this perhaps a glitch in the integration code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, on the bottom of page 9 it's indicated that multi-tracking is enabled by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After Factory Reset, not only multi-target does not report back to default ON.
Also zone details like Zone Type (disabled) and Zone X and Y values (0 mm) do not report these default settings.
A Restart after Factory Reset does not report default settings either.
Also powercycle of the sensor does not solve this.
These values are updated correctly to default settings when:
-powercycle the ESP32 or
-the mobile app connects to the sensor.
Hope this testinformation provide some insights.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, that's not my experience at all, @WiebKastanje. When I factory reset the LD2450, the settings revert to the radar's defaults as documented.
Are you factory resetting the ESP or the LD2450? These are different things.
Factory resetting the ESP does not impact the radar settings, as they are stored on the radar module itself and retrieved from it when the ESP boots. That would explain why you are not seeing the settings revert to their defaults.
When you factory reset the radar module--whether via Bluetooth using the app or using the method provided in the ESPHome component--the settings will not be reflected in ESPHome/HA until the ESP is rebooted, as it only queries the module at startup and settings are not sent from the module to the ESP immediately following a factory reset. This is expected behavior and there's not a way to change this -- it's just how the LD2450 radar module works.
Description:
Add ld2450 documentation
Related issue (if applicable): fixes
Pull request in esphome with YAML changes (if applicable): esphome/esphome#5674
Checklist:
I am merging into
next
because this is new documentation that has a matching pull-request in esphome as linked above.or
I am merging into
current
because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.Link added in
/index.rst
when creating new documents for new components or cookbook.