Open onlize opened 7 months ago
I have same issue, identical code and either get zero readings (even after 1hr) or get a consistent value that doesnt change however the same sensor works perfectly fine when using Arduino....so this sort of narrows it down to an issue in ESPhome
I have an AHT21 that stopped working when upgrading to latest. Pinning the component to an older version "fixed" it for me, try this?
external_components:
- source: github://esphome/esphome@2023.12.9
components: [ aht10 ]
Also, @onlize, you need to set your variant to AHT20
if you're using an aht21 chip.
This does seem to be fixed in 2024.3.1
I am not able to test with 2024.3.1, but reverting to the older version of the component fixed it for me.
The problem
I am trying to connect ENS160+AHT21 to WeMos D1 Mini (ESP8266). Here is the code that I use:
I have this output:
Why am I getting all those messages about AHT10 sensor and what should I do about this?
Which version of ESPHome has the issue?
2023.12.9
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.1.5
What platform are you using?
ESP8266
Board
WeMos D1 Mini
Component causing the issue
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response