rananna
(randall north)
October 16, 2024, 2:56pm
1
The latest update to esphome 2024.10.0 causes the following issue with my emporia vue 2.
‘failed to read from sensor due to i2c error’
I rolled back to my previous esphome version 2024.9.2 and the problem disappears.
I experienced the same thing and also rolled back to fix this on my Vue2. Side but related question, I have about 15 ESPHome devices and they all seemed to upgrade to 2024.10.0 fine except the first of my 3 Emporia Vue devices. After the first one presented the error I did not do the others 2 vue devices and decided to roll back. I rolled back the integration then reinstalled the Vue config so it would roll back. It now functions as it did before. However the other 12 devices I upgraded before the vue are still on 2024.10.0 and seem to be functioning. Is there a need for me to roll all of these back as well?
tmo
October 16, 2024, 3:09pm
3
I had some issues with a display not showing any values today after updating to ESPhome 2024.10.0. Solved by changing I2C frequency:
Found the culprit: frequency of I2C bus A (to which the display is connected) was set to 400kHz → display not working
After setting it to 100kHz → display working again, also with 200kHz.
Just curious why it has been working before with 2024.09.2 with 400kHz…
Anyways, case closed.
Maybe this could help in your case too?
I have the same issue with 2024.10.0. Rolling back to 2024.9.2 resolved the issue for me as well. Following this thread.
feisley
(Jacob Feisley)
October 16, 2024, 6:17pm
5
I had the same issue with my Emporia Vue 3 i2c communication after the 2024.10 upgrade. I was using 150kHz frequency. Changing that frequency to 200kHz resolves the issue (though I do have random read errors again that were resolved by using 150 kHz).
Same here, emporia vue 2 breaks with the I2C read error after 2024.10.0, had to rollback and it started working again
nickrout
(Nick Rout)
October 16, 2024, 7:00pm
8
Did you apply the fix above?
adrusa
(Abbas)
October 16, 2024, 7:01pm
9
I had to roll back too. Can we file a bug report?
nickrout
(Nick Rout)
October 16, 2024, 7:04pm
10
Did you apply the fix above?
agoode
(Adam Goode)
October 16, 2024, 7:14pm
11
I have the same problem. Lowering the i2c frequency did not fix the problem.
feisley
(Jacob Feisley)
October 16, 2024, 7:42pm
12
On a Vue2, I had to change the frequency to 400khz and add a timeout.
frequency: 400kHz # recommended range is 50-200kHz
timeout: 1ms
opened 06:13PM - 16 Oct 24 UTC
### The problem
Upgrading my Emporia Vue2 to 2024.10.0 broke my device; it wo… uld constantly throw i2c timeouts:
```
[17:50:30][E][emporia_vue:048]: Failed to read from sensor due to I2C error 3
[17:50:30][E][emporia_vue:048]: Failed to read from sensor due to I2C error 3
[17:50:30][E][emporia_vue:048]: Failed to read from sensor due to I2C error 3
[17:50:30][E][emporia_vue:048]: Failed to read from sensor due to I2C error 3
^C[17:50:30][E][emporia_vue:048]: Failed to read from sensor due to I2C error 3
[17:50:30][D][api.connection:199]: ESPHome Logs 2024.10.0 (192.168.0.254) requested disconnected
```
**I've tried flashing via home assistant integration as well as manually uploading via docker image** remote OTA, and 2024.10.0 has consistent results; Downgrading back to 2024.9.2 resolved the i2C issues.
Anything change with your i2c implementation in the latest release?
### Which version of ESPHome has the issue?
2024.10.0
### What type of installation are you using?
Docker as well as HomeAssistant addon (HASS 2024.10.2)
### Which version of Home Assistant has the issue?
_No response_
### What platform are you using?
ESP32
### Board
Emporia Vue2
### Component causing the issue
i2c
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
```txt
[17:50:30][E][emporia_vue:048]: Failed to read from sensor due to I2C error 3
[17:50:30][E][emporia_vue:048]: Failed to read from sensor due to I2C error 3
[17:50:30][E][emporia_vue:048]: Failed to read from sensor due to I2C error 3
[17:50:30][E][emporia_vue:048]: Failed to read from sensor due to I2C error 3
^C[17:50:30][E][emporia_vue:048]: Failed to read from sensor due to I2C error 3
[17:50:30][D][api.connection:199]: ESPHome Logs 2024.10.0 (192.168.0.254) requested disconnected
```
### Additional information
Other users are seeing similar behavior per the following discussion (near the bottom; the issues are conflated, as the initial report was due to a hardware issue, whereas the more recent reports are due to software update)
https://github.com/emporia-vue-local/esphome/discussions/108
4 Likes
This fixed the issue for me, thank you.
benbergman
(Benjamin Bergman)
October 29, 2024, 4:03am
15
Thanks, this fixed it for me too
Bravo, this fixed it for me as well!
Tjaardv
(Tjaardv)
October 30, 2024, 2:44pm
17
Thanks a lot
Fixed it for me