Open userosos opened 1 month ago
I think the problem is in creating more than two I2C buses.
I think that's right. The ESP32 has two, and only two, I2C controller peripherals. It looks like the code that allocates resources for the esp-idf framework version of the i2c bus code checks that you don't attempt to create more than two, but the Arduino framework code does not check. I don't know whether it's supposed to work, but it would have to share one of the controller peripherals between two of the buses which sounds tricky.
Your simplest fix is probably to combine two of the buses, if the device addresses aren't the same.
The problem
If i flash the firmware i can see it (the board not work with BME680):
If i commetns:
It work OK,
If i uncomment BME680 and comment bus_b and SHT4x:
It work OK too. I think the problem is in creating more than two I2C buses.
Which version of ESPHome has the issue?
2024.8.3
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.9.1
What platform are you using?
ESP32
Board
ESP-wroom-32
Component causing the issue
I2C bus?
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
I think the problem is in creating more than two I2C buses..