我用的esp01s接了三个I2C可以正常使用,但是是三个不同设备
i2c:
sda: GPIO1
scl: GPIO3
sensor:
- platform: bh1750
name: "光传感器"
address: 0x23
update_interval: 2s
- platform: aht10
temperature:
name: "AHT_wen_du_186"
id: AHT_wen_du_186
humidity:
name: "AHT_shi_du_186"
id: AHT_shi_du_186
address: 0x38
update_interval: 60s
- platform: bmp085
temperature:
name: "bmp180_wen_du_186"
id: bmp180_wen_du_186
pressure:
name: "bmp180_qi_ya_186"
id: bmp180_qi_ya_186
address: 0x77
update_interval: 60s
|