Sensor DHT11 (Temperature and Humidity sensor)

Ready to use firmware is available for download at the releases page. The sourcecode is available here.

The text below is directly imported from the github project page. It is the same as the document found there.

Wemos D1 mini with DHT11 sensor

This firmware is meant to be used on a Wemos D1 Mini with a DHT-11 shield. It’s part of the IoT Kit for education project. There are several shields available, make sure you get one that has the DHT-11 connected to D4 and not the I2C version. Aliexpress has this one for sale.

Connecting the hardware

Connect the hardware as follows:

DHT11 Wemos D1 mini
VCC +3.3V


If all is configured well you should receive measurements on the following topics:


Temperature and humidity are reported as floating point values. The JSON output contains the name of the sensor, the name of the metric reported and the value of the measurement.

Improve this page