Before You Begin

Before starting the tutorial, you should complete the following tasks:

  1. Install Visual Studio Code.
  2. Install PlatformIO extension to Visual Studio Code.

    Figure 1.
  3. Click on the Platform IO and open PIO Home.

    Figure 2.
  4. Click New Projects and enter the Name.
  5. Select the Board model and Framework.

    Figure 3.
  6. Click Finish.
  7. Install following libraries:
    1. PubSubClient
    2. DHT sensor library by Adafruit in order to get the humidity data from DHT22

    Figure 4.
  8. Click Add to Project and select your project.

    Figure 5.
  9. Repeat Steps 6 - 8 for the DHT Sensor library.
  10. Download and unzip the file ESP8266 Training Guide.
If you need help completing this tutorial, please contact us.