ScymnusRIP

tca9548a multiplexer SHTC3

Aug 2nd, 2021
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.30 KB | None | 0 0
  1. tca9548a:
  2.   - address: 0x70
  3.     id: multiplex0
  4.     i2c_id: i2c0
  5.     scan: true
  6.  
  7. # Individual I2C Devices
  8. sensor:
  9.   - platform: shtcx
  10.     multiplexer:
  11.       id: multiplex0
  12.       channel: 0
  13.     temperature:
  14.       name: "Sensor06 Temperature"
  15.       filters:
  16.         - offset: 0.0
  17.         - multiply: 1.0
  18.         - calibrate_linear:
  19.          - 0.0 -> 0.0
  20.           - 10.0 -> 10.0
  21.           - 30.0 -> 30.0
  22.     humidity:
  23.       name: "Sensor06 Humidity"
  24.       filters:
  25.         - offset: 1.0
  26.         - multiply: 1.0
  27.         - calibrate_linear:
  28.          - 30.0 -> 30.0
  29.           - 60.0 -> 60.0
  30.           - 80.0 -> 80.0
  31.     update_interval: 15s
  32. ###################################################
  33. sensor:
  34.   - platform: shtcx
  35.     multiplexer:
  36.       id: multiplex0
  37.       channel: 1
  38.     temperature:
  39.       name: "Sensor07 Temperature"
  40.       filters:
  41.         - offset: 0.0
  42.         - multiply: 1.0
  43.         - calibrate_linear:
  44.          - 0.0 -> 0.0
  45.           - 10.0 -> 10.0
  46.           - 30.0 -> 30.0
  47.     humidity:
  48.       name: "Sensor07 Humidity"
  49.       filters:
  50.         - offset: 1.0
  51.         - multiply: 1.0
  52.         - calibrate_linear:
  53.          - 30.0 -> 30.0
  54.           - 60.0 -> 60.0
  55.           - 80.0 -> 80.0
  56.     update_interval: 15s
  57. ###################################################
Advertisement
Add Comment
Please, Sign In to add comment