Open tommycloud opened 2 years ago
logger: level: INFO
i2c: sda: 21 scl: 22 scan: true id: bus_a
roode: id: roode_platform i2c_address: 0x29 update_interval: 100ms calibration: max_threshold_percentage: 85 min_threshold_percentage: 5 roi_calibration: true
invert_direction: true restore_values: false
button:
platform: restart name: $friendly_name Restart
platform: template name: $friendly_name Recalibrate on_press:
light:
output:
binary_sensor:
sensor:
platform: htu21d
temperature: name: "Living Room Temperature" humidity: name: "Living Room Humidity" update_interval: 10s
platform: bh1750 name: "BH1750 Illuminance" address: 0x23 measurement_duration: 69 update_interval: 10s
I'm trying to use Roode in my ESP32 and it works very good, but I also need to add an BH1750 Illuminance sensor which need i2c bus too, when I'm trying to define the i2c bus for both Roode and BH1750 I got this error note 'Too many candidates found for 'i2c_id' type 'i2c::I2CBus'', and if I only define the i2c bus for one device, then only the defined one will work. So how could I use multiple i2c devices while I'm using Roode. Thanks
Below is part of my .yaml i2c:
sda: 21 scl: 22
id: bus_a sda: 2 scl: 15
vl53l1x: roode:
sensor: