diff --git a/components/sensor/images/mpl115a2.jpg b/components/sensor/images/mpl115a2.jpg new file mode 100644 index 0000000000..411a2dbea4 Binary files /dev/null and b/components/sensor/images/mpl115a2.jpg differ diff --git a/components/sensor/mpl115a2.rst b/components/sensor/mpl115a2.rst new file mode 100644 index 0000000000..0e107fad7b --- /dev/null +++ b/components/sensor/mpl115a2.rst @@ -0,0 +1,48 @@ +MPL115A2 Barometric Pressure/Altitude/Temperature Sensor +========================================================= + +.. seo:: + :description: Instructions for setting up MPL115A2 atmospheric pressure sensors. + :image: mpl115a2.jpg + :keywords: MPL115A2 + +The ``MPL115A2`` sensor platform allows you to use your MPL115A2 atmospheric pressure sensors +(`datasheet `__, +`Adafruit`_) temperature and pressure sensors with ESPHome. The :ref:`I²C ` is +required to be set up in your configuration for this sensor to work. + +.. figure:: images/mpl115a2.jpg + :align: center + :width: 50.0% + + MPL115A2 Barometric Pressure/Temperature Sensor + +.. _Adafruit: https://www.adafruit.com/product/992 + +.. code-block:: yaml + + # Example configuration entry + sensor: + - platform: MPL115A2 + temperature: + name: "MPL115A2 Temperature" + pressure: + name: "MPL115A2 Pressure" + update_interval: 10s + +- **address** (*Optional*, int): Manually specify the I²C address of + the sensor. Defaults to ``0x60``. +- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the + sensor. Defaults to ``60s``. + +See Also +-------- + +- :ref:`sensor-filters` +- :doc:`bmp280` +- :doc:`bme280` +- :doc:`bmp085` +- :doc:`ms5611` +- :apiref:`MPL115A2/MPL115A2.h` +- :apiref:`MPL3115A2/MPL3115A2.h` +- :ghedit:`Edit` diff --git a/images/mpl115a2.jpg b/images/mpl115a2.jpg new file mode 100644 index 0000000000..bc81f8f5c8 Binary files /dev/null and b/images/mpl115a2.jpg differ diff --git a/index.rst b/index.rst index d4fe95823a..e3021dad3a 100644 --- a/index.rst +++ b/index.rst @@ -414,6 +414,7 @@ Environmental MCP9808, components/sensor/mcp9808, mcp9808.jpg, Temperature MH-Z19, components/sensor/mhz19, mhz19.jpg, CO2 & Temperature MLX90614, components/sensor/mlx90614, mlx90614.jpg, Temperature + MPL115A2, components/sensor/mpl115a2, mpl115a2.jpg, Temperature & Pressure MPL3115A2, components/sensor/mpl3115a2, mpl3115a2.jpg, Temperature & Pressure MS5611, components/sensor/ms5611, ms5611.jpg, Pressure MS8607, components/sensor/ms8607, ms8607.jpg, Temperature & Humidity & Pressure