跳转到内容

Honeywell ABP 2 压力传感器

honeywellabp2_i2c 传感器平台允许您在 ESPHome 中使用 Honeywell ABP2 (数据手册) 压力和温度传感器。此传感器需要在您的配置中设置 I2C 才能工作。

Honeywell ABP 压力和温度传感器。
sensor:
- platform: honeywellabp2_i2c
pressure:
name: "Honeywell2 pressure"
min_pressure: 0
max_pressure: 16000
transfer_function: "A"
temperature:
name: "Honeywell2 temperature"

min_pressure、max_pressure 和 transfer_function 的值可在特定设备的设备数据手册中找到。 这些值用于计算传感器发布的压力读数。部分传感器以 bar 或 Psi 为单位测量压力; 将 min_pressure 和 max_pressure 设置为测量范围,transfer_function 设置为 A 或 B,并将 unit_of_measurement 设置为设备适用的单位。

  • pressure (可选): 压力传感器的信息。

    • min_pressure(必选,int 或 float): 压力传感器的最小压力。
    • max_pressure(必选,int 或 float): 压力传感器的最大压力。
    • transfer_function(必选,A 或 B): 压力传感器使用的传递函数。
    • 来自 Sensor 的其他所有选项。

部分传感器不具备温度感测能力,参见数据手册。在某些情况下,即使 数据手册指示传感器不测量温度,传感器也可能返回有效的温度值。

  • temperature (可选): 温度传感器的信息。 来自 Sensor 的所有选项。

  • update_interval (可选,Time): 检查 传感器的间隔。默认为 60s。