Crude WiFi-Enabled Weather Station

By Alexsandar | 15 November 2017 | 6 Comments


Today we are going to learn how to build a simple WiFi-enabled weather station that sends you the temperature and humidity data using IFTTT directly to your e-mail. The parts that I've used can be found on KUMANTECH.COM

Step 1: Parts Needed & the Necessary Conections


To complete this project, you will need:
Node MCU Board
DHT11 Sensor
Micro USB Cable

3 x Jumper Wires (F to F)
How do I connect the sensor to the board?
DHT11 | NodeMCU
GND (-) -> GND
5V (+) -> 3.3V
OUT (Signal) -> D5

Step 2: Setting Up IFTTT


Head over to IFTTT.com and register an account (if you haven't already). After that, go to My Applets and then click on New Applet. Then, click on + this and when asked to choose a service, select, Webhooks. A list of triggers will popup, and at the time of writing this, there is only one available option - Receive a web request. Next, choose a name for the event and remember it (it will be used in the code). After creating the trigger, you need to click n +that and choose the service that we are going to use. In this case, it is email. In the next page, you need to choose how is the email going to look like. This is entirely up to you, but remember, you need to include the Value1 and Value2 fields for the incoming data. For reference, take a look at the third screenshot above. One last thing, go to the settings of the Webhooks service and at the bottom you will see an url. Copy the string after use/ and save it somewhere. This is your unique API key, you will need it later in the code. After completing this step, you are done with IFTTT for now. It's time for the code for the NodeMCU

Step 3: Uploading the Code and Customizing


Before uploading the code (which can be found here), take your time and look at the commented lines and variables in the begging. You need to change some things up, and then upload the code to the NodeMCU.
After uploading the code and powering up the board, you will receive emails every x amount of time (can be modified in the code above). If you have the IFTTT app on your smartphone, you can receive notifications every time the applet runs. Now, check your email and you will see the weather data. You can add more sensors and connect with other applets.
JessieAgisy
December 09,2017 17:18
A Biological Masterpiece, But Subject to Many Ills The human foot is a biological masterpiece. Its strong, flexible, and functional design enables it to do its job well and without complaint—if you take care of it and don't take it for granted. health
JoshuaseD
November 24,2017 07:52
Writing a medical thesis or dissertation is a task done by almost all postgraduate and master's medical students. Dissertation is derived from the Latin word disserto which means discuss. It is essential to write successful medical papers such as medicine
Moptisse
November 21,2017 07:24
rgdsdvfbgxu hghhgfjkm <a href=>http://www.bfdhgfnggfjn.com</a> hnjyflh klh
Zomocoini
November 20,2017 11:32
The general position of any person formed from of a large number conditions, among which health. Kinds well-being presented difficult system, on which not only common well-being depend, but also ability to work of the organism. Impossible understand
LyubaDop
November 19,2017 14:05
woman use viagra <a href=http://viagradiscountg.com/>buy viagra</a> <a href="http://viagradiscountg.com/">viagra cheap</a> viagra australia forum
LyubaDop
November 19,2017 12:27
viagra results pictures <a href=http://viagradiscountg.com/>viagra cheap</a> <a href="http://viagradiscountg.com/">cheap viagra</a> us viagra prescription
Leave a Reply
Your email address will not be published.Required fields are marked. *
Name *
Email *
Content
Popular blog
Categories