Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.54 KB

AHT1x.md

File metadata and controls

50 lines (35 loc) · 1.54 KB

AHT1x temperature and humidity sensor

!!! failure "This feature is not included in precompiled binaries"

To use it you must compile your build. Add the following to user_config_override.h:

#ifndef USE_AHT1x
#define USE_AHT1x       // [I2cDriver43] Enable AHT10/15 humidity and temperature sensor (I2C address 0x38) (+0k8 code)
#endif

AHT10 or AH15 are an I2C temperature and humidity sensor.

Configuration

!!! failure "This sensor is incompatible with other I^2^C devices on I^2^C bus" Sensor datasheet implicitly says: Only a single AHT10 can be connected to the I^2^C bus and no other I^2^C devices can be connected.

Wiring

AHT1x ESP8266
VCC 3.3V
GND GND
SDA GPIOx
SCL GPIOy

Tasmota Settings

In the Configuration -> Configure Module page assign:

  1. GPIOx to I2C SDA (6)
  2. GPIOy to I2C SCL (5)

After a reboot the driver will detect AHT1x automatically and display sensor readings.

webUI readout

and in MQTT topic (according to TelePeriod):

{"Time":"2020-01-01T00:00:00","AHT1X-0x38":{"Temperature":24.7,"Humidity":61.9,"DewPoint":16.8},"TempUnit":"C"}

Breakout Boards

AHT10AHT15

AHT10 Datasheet
AHT15 Datasheet