Supplies:
Makerfabs
Step 1: Hardware Assembly

Step 2: Setup Arduino IDE

Step 3: Add the ESP8266 Core Into Arduino IDE

And then you should find the ESP8266 in the Arduino IDE: Tools->board-> boards manager, letās install it by click the āinstallā:
After the installing, you can find the NodeMCU 1.0(ESP12E module) platform at Tools-> Board Menu:
Step 4: Install Related Library

Arduino-mqtt
Thingpulse ESP8266 OLED SSD1306
TimeLib
ESP8266 Weather Station
JSON Streaming Parser by Daniel Eichhorn
We can seach “ntpclient”,”lwmqtt”, ” ESP8266 OLED Driver for SSD1306 display”,”timekeeping”,āESP8266 Weather Stationā, āJSON Streaming ParserāĀ to seek outĀ these libraries in library manager, and install them.
Open the sketch->include library->manage libraries
Step 5: MQTT Register for Time

2. And Create a new instance
3. And then here you can get the instance info:
Step 6: Weather Forecasting

Letās use the free data.
After regestering,Ā you’llĀ get your API key , AndĀ you’llĀ also check your city ID atĀ the web siteĀ https
Step 7: Hardware Connection

After driver installed , it will act as a COMM port.
Connect the PL2303 wire to ESPwatch programming port:
Step 8: Programming

1. Change SSID and passowrd of the Wi-Fi, 2. Modify hostname, port, user and user_password for MQTT, 3.Ā and therefore theĀ weather_map_ID and Location_ID;
2.Ā we willĀ now update the codes to ESPWatch now. SelectĀ the properĀ COM prt and board in Arduino IDE.
3. Hold the FLASH button; Power on the ESP8266 by the SW1, while the FLASH button holding on,Ā to placeĀ ESP8226 into bootloader mode ,and click the uploadĀ to start outĀ the programming:
Step 9: *Premuim* ESPWatch Remote Control

and thusĀ to makeĀ remoteĀ application,Ā likeĀ AC lamp/Fans.
1. CreateĀ a replacementĀ MQTT instance,Log-in the cloudMQTT(if no,Ā you would likeĀ to register an Account),Ā and makeĀ a replacementĀ instanceć
2. Sketch Modification. Open the sketches relay.ino, change SSID and passowrd of the Wi-Fi, and modify hostname, port, user and user_password for MQTT.
Noted: port must sameĀ because theĀ watch.
3. Programming. Plug the ESP-01 on the ESP8266 debugger, and programming the ESP module, SelectĀ the properĀ boardĀ to startĀ the programming
And nowĀ you’llĀ connect the Relay to your AC lamp/Fan,etc,Ā to formĀ it remote controlled by the ESPWatch.