Closed fabiendostie closed 2 months ago
Hi, according to the information you provided, you are using DHT20, so you should need to use the yaml code here. https://esphome.io/components/sensor/aht10.html The DHT code is using GPIO and the DHT20 is an IIC protocol.
OK, so my .yaml is okay?
i2c:
sda: GPIO6
scl: GPIO7
scan: True
id: bus_0x38
-------------------------------------------------------
sensor:
- platform: aht10
temperature:
name: "Bedroom Temperature"
humidity:
name: "Bedroom Humidity"
update_interval: 60s
temperatures and humidity seems waaaaay off though. any idea why? Maybe the sensor should be outside the enclosure?
I'm not sure if it's the DHT20 IIC address you're using, if that's correct then there's nothing wrong with the yaml code. It's really possible that the high temperatures are caused by the heat from the radar working, so maybe putting it outside the case is a better option.
I have a simple question. In the example on the wiki where a Temperature + Humidity I2C grove is added to the kit. The tutorial tells me to add it as a aht sensor in the .yaml code
My issue is that the grove sensor itself is a DHT20v2 shouldn't I be using esphome's DHT temp+hum Sensor instead? If it's the case, what pins should I enter since for the DHT sensor 'pin' is a required option for [sensor.dht].
I get temp and humidity data using
- platform: aht10
, but the data seems wrong, temperature is way too high.Thank you.