ESP8266 (NodeMCU 1.0) Sending Temperature humidity 

to ThingSpeaking.com (IoT) Last updated (2017-05-21)

Previously I connected a DHT11 to an Arduino Uno board and sent the 
data to a Google spreadsheet and presented the data as a graph.
(Link to the
previously project)
This time I used a NodeMCU which is an Arduino compatible board that
also contains a WiFi part.Instead of sending the data to Google docs through 
Temboo, I sent my data directly to http://ThingSpeaks.com (picture 1 and 2).
The website is owned by Mathworks (That is the company behind Matlab).

After installing the ESP8266 library from here, it is possible to use 
the Aduino IDE to program the NodeMCU-board.




Picture 1: Graph of the temperature (in my office) presented by ThingSpeak.com.




Picture 2: 
Graph of the humidity (in my office) presented by ThingSpeak.com.


Links to the files:
======================================

thingspeakExampleDHT11_ToWeb.ino  
                 Program to be downloaded to NodeMCU. The SSID and Password
                 for the WiFi needs to be changed before downloading. channelID and
                 writeAPIKey must also be changed to match the channel on
                 http://ThingSpeak.com
                 The temperature and hmidity are sent to the webpage as well as beeing
                 printed to the serial terminal in Arduino IDE.