Closed WhistleMaster closed 3 years ago
I am using a AM2320 I2C Temp/Humid sensor (same as DHT12?), and could not get it to work reliably with an ESP32 until I added two 10Kohm pull-up resistors to the I2C lines.
Thanks, I will try that.
dht12 source dht12 issues dht12 recent changes (message by IssueLinks)
@WhistleMaster did this resolve your issue?
Unfortunately, I was not able to get a hand on those resistors, so I moved to SHT30 and BMP280 sensors.
Ok, I am closing this. Feel free to reopen in case you you move back to DHT12 with external pull-up resistors and still observe the problem.
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Python - Command line - pip esphome config/ dashboard
ESP (ESP32/ESP8266, Board/Sonoff):
platform: ESP32 board: pico32
M5Stack Atom Lite with ENV unit
ESPHome version (latest production, beta, dev branch)
v1.16.2
Affected component:
https://esphome.io/components/sensor/dht12.html
Description of problem: Same as #278, the DHT12 sensor is detected during the scan but fails to setup.
Problem-relevant YAML-configuration entries:
Logs (if applicable):
Additional information and things you've tried: Adding setup_priority does provide the same error.