diff --git a/components/sensor/images/sen21231.png b/components/sensor/images/sen21231.png new file mode 100644 index 000000000..c78af266b Binary files /dev/null and b/components/sensor/images/sen21231.png differ diff --git a/components/sensor/sen21231.rst b/components/sensor/sen21231.rst new file mode 100644 index 000000000..bad235041 --- /dev/null +++ b/components/sensor/sen21231.rst @@ -0,0 +1,36 @@ +SEN21231 Person Sensor from Useful Sensors +========================================== + +.. seo:: + :description: Instructions for setting up a SEN21231 Person Sensor from Useful Sensors with ESPHome. + :image: description.svg + +`Person Sensor (SEN21231) from Useful Sensors `__ has built in facial recognition that can detect how many people are facing the sensor and relative positions of the faces. + +.. figure:: images/sen21231.png + :align: center + :width: 70.0% + + + Person Sensor + +This sensor requires an :doc:`/components/i2c`. The I2C address is ``0x62`` + +.. code-block:: yaml + + # Example configuration entry + sensor: + - platform: sen21231 + id: person_sensor + +Configuration variables: +------------------------ + +- All options from :ref:`Sensor `. + +See Also +-------- + +- :doc:`/components/sensor/index` +- :apiref:`sen21231/sen21231.h` +- :ghedit:`Edit` diff --git a/images/sen21231.png b/images/sen21231.png new file mode 100644 index 000000000..924b7869a Binary files /dev/null and b/images/sen21231.png differ diff --git a/index.rst b/index.rst index 24b23b782..536363853 100644 --- a/index.rst +++ b/index.rst @@ -361,6 +361,7 @@ Miscellaneous uFire EC sensor, components/sensor/ufire_ec, ufire_ec.png, EC & Temperature uFire ISE sensor, components/sensor/ufire_ise, ufire_ise.png, pH & Temperature Resol VBus, components/vbus, resol_deltasol_bs_plus.jpg + Person Sensor (SEN21231), components/sensor/sen21231, sen21231.png Motion