Open deanfourie1 opened 11 months ago
It appears I have the same issue (communication failure with sensor) but only if frequency of the i2c bus is anything faster than the default 50kHz. Before this update (or one of the previous ones these last couple months) it was running at 400kHz without issues.
I fixed this issue by removing the sensor from my config, saving and uploading.
Then re adding the config for the sht3xd and saving and uploading again.
This solved the issue for me. Very strange.
@deanfourie1 I opened another issue as in my case whether the SHT3XD with an i2c frequency of 400khz works or not depends on the framework. With arduino
I can set the frequency to 400khz (did not try anything higher) while with esp-idf
I cannot exceed 50 to 150khz depending on node I test it on.
As @deanfourie1 wrote:
I fixed this issue by removing the sensor from my config, saving and uploading. Then re adding the config for the sht3xd and saving and uploading again.
I just have the same issue after upgrade to ESPHome 2024.4.0 - 17th April 2024 Thanx for the solutions
Same issue here on 2024.4.0
, with this error:
[21:02:51][E][sht3xd:040]: Communication with SHT3xD failed!
[21:02:51][E][component:082]: Component sht3xd.sensor is marked FAILE
Removing, flashing, re-adding, flashing does not fix the issue for me. Any ideas?
EDIT: What ended up working was following @mrtoy-me's suggestion in https://github.com/esphome/issues/issues/5710 and adding the following to the top of my yaml:
external_components:
- source:
type: git
url: https://github.com/mrtoy-me/esphome-my-components
ref: main
components: [ sht3xd ]
External link I suggested in issue#5710 is now part of release 2024.4.2
It is an I can confirm it's working
The problem
The sht3xd I2C sensor no longer works on my weather station. This was as a direct result of the latest esphome update.
The sht3xd still shows in the I2C scan.
Which version of ESPHome has the issue?
2023.12.5
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2023.12.3
What platform are you using?
ESP32
Board
ESP32MiniKit
Component causing the issue
sht3xd
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response