CFSensor XGZP68xx Series Differential Pressure Sensor

The XGZP68xx Differential Pressure sensor allows you to use digital differential pressure sensors such as the 6899D (datasheet) or 6897D Series (datasheet) sensors with ESPHome. The sensors pressure ranges are specified in the datasheets.

Calibrating the sensor can be done by checking the value that is returned when the ports are open to the air. This value should be 0. If it is not, you can use the offset option to correct the reading. For example, if your sensor is reading -40Pa when the ports are disconnected, you can set the offset to 40.


XGZP6897D Differential Pressure Sensor. (Credit: CFSensor, image cropped and compressed)

To use the sensor, set up an I²C Bus and connect the sensor to the specified pins.

# Example configuration entry
# It uses a filter offset to calibrate the sensor
  - platform: xgzp68xx
        name: "Temperature"
        name: "Differential Pressure"
            - offset: 40.5

Configuration variables:

  • temperature (Optional): All options from Sensor.

  • pressure (Optional): All options from Sensor.

  • k_value (Optional, int): The K value comes from the datasheet. It will default to 4096 if not specified, which is appropriate for a sensor with a range of +/- 0.5kPa.

  • update_interval (Optional, Time): The interval to check the sensor. Defaults to 60s.

See Also