Closed 4224 closed 2 years ago
I'm getting the same issue even when I remove the multiplexer and all the multiplexer attached devices. Running just the hm3301 directly off of two ESP32 pins I still have the issue.
Here's that config:
esphome:
name: indoor
platform: ESP32
board: esp32-poe-iso
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
power_pin: GPIO12
manual_ip:
static_ip: 192.168.x.x
gateway: 192.168.x.x
subnet: 255.255.255.0
i2c:
- id: bus_b
sda: 13
scl: 16
scan: True
# Enable logging
logger:
level: VERY_VERBOSE
# Enable Home Assistant API
api:
ota:
sensor:
- platform: hm3301
i2c_id: bus_b
pm_1_0:
name: "indoor PM1.0"
pm_2_5:
name: "indoor PM2.5"
pm_10_0:
name: "indoor PM10.0"
aqi:
name: "indoor AQI"
calculation_type: "CAQI"
address: 0x40
Am I missing something obvious?
Hey there @esphome/core, mind taking a look at this issue as it has been labeled with an integration (i2c
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
I believe this was a hardware issue related to cable lengths and not anything software related
The problem
Upon updating from 2022.2.4 to 2022.2.5 and flashing the update to my ESP32-POE-ISO, all my i2c sensors are recognized in the logs but have stopped reporting values. I see communication errors for each device. Nothing else was changed physically or with the ESPHome config before updating and flashing. I have enabled very_verbose logging to get the logs included.
I am using a tca9548a multiplexer on one bus and no multiplexer on another bus. The i2c communication errors are consistent on devices on both buses.
The behavior is consistent after reboot. I don't have another ESP32 to test with.
Which version of ESPHome has the issue?
2022.2.5
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2022.2.9
What platform are you using?
ESP32
Board
ESP32-POE-ISO
Component causing the issue
i2c
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Add-on version: 2022.2.5 You are running the latest version of this add-on. System: Home Assistant OS 7.4 (amd64 / qemux86-64) Home Assistant Core: 2022.2.9 Home Assistant Supervisor: 2022.01.1