diff --git a/components/sensor/dps310.rst b/components/sensor/dps310.rst new file mode 100644 index 000000000..4cd5f5baa --- /dev/null +++ b/components/sensor/dps310.rst @@ -0,0 +1,61 @@ +DPS310 Atmospheric Pressure Sensor +================================== + +.. seo:: + :description: Instructions for setting up DPS310 atmospheric pressure sensors + :image: dps310.jpg + :keywords: DPS310 + +The ``dps310`` sensor platform allows you to use both the temperature and pressure sensors on +your DPS310 atmospheric pressure sensor (`Adafruit `__) +with ESPHome. The :ref:`I²C ` component is required to be set up in your configuration. + +.. figure:: images/dps310-full.jpg + :align: center + :width: 50.0% + + DPS310 Atmospheric Pressure Sensor board from `Adafruit `__ + +.. code-block:: yaml + + # Example configuration entry + sensor: + - platform: dps310 + temperature: + name: "Outside Temperature" + pressure: + name: "Outside Pressure" + address: 0x77 + update_interval: 60s + +Configuration variables: +------------------------ + +- **pressure** (**Required**): The information for the pressure sensor. + + - **name** (**Required**, string): The name for the pressure sensor. + - **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas. + - All other options from :ref:`Sensor `. + +- **temperature** (**Required**): The information for the temperature. + sensor + + - **name** (**Required**, string): The name for the temperature + sensor. + - **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas. + - All other options from :ref:`Sensor `. + +- **address** (*Optional*, int): Manually specify the I²C address of + the sensor. Defaults to ``0x77``. +- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the + sensor. Defaults to ``60s``. + +See Also +-------- + +- :ref:`sensor-filters` +- :doc:`bmp280` +- :doc:`bme680` +- :doc:`bmp085` +- :apiref:`dps310/dps310.h` +- :ghedit:`Edit` diff --git a/components/sensor/images/dps310-full.jpg b/components/sensor/images/dps310-full.jpg new file mode 100644 index 000000000..b3c19a2d3 Binary files /dev/null and b/components/sensor/images/dps310-full.jpg differ diff --git a/images/dps310.jpg b/images/dps310.jpg new file mode 100644 index 000000000..03060e334 Binary files /dev/null and b/images/dps310.jpg differ diff --git a/index.rst b/index.rst index 33b1e5ae1..012c09265 100644 --- a/index.rst +++ b/index.rst @@ -294,6 +294,7 @@ Environmental Dallas DS18B20, components/sensor/dallas, dallas.jpg, Temperature DHT, components/sensor/dht, dht.jpg, Temperature & Humidity DHT12, components/sensor/dht12, dht12.jpg, Temperature & Humidity + DPS310, components/sensor/dps310, dps310.jpg, Temperature & Pressure ENS210, components/sensor/ens210, ens210.jpg, Temperature & Humidity HDC1080, components/sensor/hdc1080, hdc1080.jpg, Temperature & Humidity Honeywell ABP, components/sensor/honeywellabp, honeywellabp.jpg, Pressure & Temperature