DHT12

From Let's Control It
Jump to: navigation, search

Introduction

The ESP module can read a DHT12 I2C temperature/Humidity sensor using the I2C protocol.

The DHT sensor needs to be connected to the I2C bus.

Hardware

The DHT sensor can be connected directly to an ESP module. Datasheet DHT12


DHT12.png


Software

Custom Sketch

ESP Easy

Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "Temperatur/Humidity Sensor DHT12(I2C)" from the dropdown box.

EasyConfigDHT12.png

Enter the IDX found in the Domoticz device page. That should be all.

Optional settings

Use of formulas

Use of value names