Skip to content

Commit

Permalink
Honeywellabp (esphome#1880)
Browse files Browse the repository at this point in the history
Co-authored-by: RubyBailey <[email protected]>
  • Loading branch information
RubyBailey and RubyBailey authored Feb 22, 2022
1 parent d57c494 commit e62c773
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 0 deletions.
69 changes: 69 additions & 0 deletions components/sensor/honeywellabp.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
Honeywell ABP Pressure Sensors
==============================

.. seo::
:description: Instructions for setting up Honeywell ABP Pressure sensors
:image: honeywellabp.jpg
:keywords: Honeywell ABP

The ``honeywellabp`` sensor platform allows you to use your Honeywell ABP
(`website <https://sps.honeywell.com/us/en/products/sensing-and-iot/sensors/pressure-sensors/board-mount-pressure-sensors/basic-abp-series>`__,
`datasheet <https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/board-mount-pressure-sensors/basic-abp-series/documents/sps-siot-basic-board-mount-pressure-abp-series-datasheet-32305128-ciid-155789.pdf?download=false>`__,
`Mouser <https://www.mouser.ca/new/honeywell/honeywell-abp-pressure-sensors/>`_) pressure and temperature sensors with ESPHome. The :ref:`SPI <spi>` is
required to be set up in your configuration for this sensor to work

.. figure:: images/honeywellabp.jpg
:align: center
:width: 50.0%

Honeywell ABP Pressure and Temperature Sensor.

.. code-block:: yaml
# Example configuration entry
sensor:
- platform: honeywellabp
pressure:
name: "Honeywell pressure"
unit_of_measurement: "psi"
min_pressure: 0
max_pressure: 15
temperature:
name: "Honeywell temperature"
cs_pin: GPIO5 #D5
Configuration variables:
------------------------

The values for ``min_pressure`` and ``max_pressure`` can be found in the device datasheet for the specific device. These are used to calculate
the pressure reading published by the sensor. Some sensors measure pressure in ``bar`` or ``kPa``; set ``min_pressure`` and ``max_pressure`` to
the measurement range and ``unit_of_measurement`` to the appropriate unit for your device.

- **pressure** (*Optional*): The information for the pressure sensor.

- **name** (**Required**, string): The name for the pressure sensor.
- **min_pressure** (**Required**, int or float): Minumim pressure for the pressure sensor, default unit ``psi``.
- **max_pressure** (**Required**, int or float): Maximum pressure for the pressure sensor, default unit ``psi``.
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
- All other options from :ref:`Sensor <config-sensor>`.

Some sensors do not have temperature sensing ability, see datasheet. In some cases the sensor may return a valid temperature even though the
datasheet indicates that the sensor does not measure temperature.

- **temperature** (*Optional*): 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 <config-sensor>`.


- **cs_pin** (**Required**, :ref:`SPI <spi>`): Chip select pin.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
sensor. Defaults to ``60s``.

See Also
--------

- :ref:`sensor-filters`
- :apiref:`honeywellabp/honeywellabp.h`
- :ghedit:`Edit`
Binary file added components/sensor/images/honeywellabp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/honeywellabp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ Environmental
DHT, components/sensor/dht, dht.jpg, Temperature & Humidity
DHT12, components/sensor/dht12, dht12.jpg, Temperature & Humidity
HDC1080, components/sensor/hdc1080, hdc1080.jpg, Temperature & Humidity
Honeywell ABP, components/sensor/honeywellabp, honeywellabp.jpg, Pressure & Temperature
HTU21D, components/sensor/htu21d, htu21d.jpg, Temperature & Humidity
Inkbird IBS-TH1 Mini, components/sensor/inkbird_ibsth1_mini, inkbird_isbth1_mini.jpg, Temperature & Humidity
MCP9808, components/sensor/mcp9808, mcp9808.jpg, Temperature
Expand Down

0 comments on commit e62c773

Please sign in to comment.