Introduction: DHT11: Temperature and Humidity Sensor

BOM:

NodeMCU

Breadboard

Jumper wires

DH11

4.7 Kohm resistor

Step 1: Connection

Step 2: Code Upload

Upload the code and make sure of downloading the library from sketch>manage library> DHTesp

I needed this modified library because all the others gave me a "nan" output

Step 3: ThingSpeak

Go to ThingSpeak.com and start a channel,
Obtain the API key and place this key in the arduino code.

Step 4: Optional: Cellphone Access

Download ThingSpeak on your cellphone and on the bottom right click the "+" to add a new channel.