Add: Human Presence and Target Count to the Seeed Studio MR60BHA2 (#4535)

This commit is contained in:
Citric Li 2025-01-22 08:01:18 +08:00 committed by GitHub
parent b561a3610d
commit a35555cb24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,6 +32,24 @@ Configuration variables:
to use multiple UART buses.
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID for this :doc:`seeed_mr60bha2` component if you need multiple components.
Binary Sensor
-------------
The ``seeed_mr60bha2`` binary sensor allows you to determine the presence of a human.
.. code-block:: yaml
binary_sensor:
- platform: seeed_mr60bha2
has_target:
name: "Person Information"
Configuration variables:
************************
- **has_target** (*Optional*): If true when target (person) is detected.
All options from :ref:`Binary Sensor <config-binary_sensor>`.
Sensor
------
@ -47,15 +65,19 @@ The ``seeed_mr60bha2`` sensor allows you to perform different measurements.
name: "Real-time heart rate"
distance:
name: "Distance to detection object"
num_targets:
name: "Target number"
Configuration variables:
************************
- **breath_rate** (*Optional*, int): Radar-detected respiratory rate during the first 60 seconds.
- **breath_rate** (*Optional*, float): Radar-detected respiratory rate during the first 60 seconds.
All options from :ref:`Sensor <config-sensor>`.
- **heart_rate** (*Optional*, int): Heart rate during the first 60 seconds as detected by the radar.
- **heart_rate** (*Optional*, float): Heart rate during the first 60 seconds as detected by the radar.
All options from :ref:`Sensor <config-sensor>`.
- **distance** (*Optional*, int): Straight-line distance between the radar and the monitoring object.
- **distance** (*Optional*, float): Straight-line distance between the radar and the monitoring object.
All options from :ref:`Sensor <config-sensor>`.
- **num_targets** (*Optional*, int): The number of target detected by the radar.
All options from :ref:`Sensor <config-sensor>`.