ESP8266 Projects

KME Smart IoT Setup Tutorial | Turn ESP8266 Into a Smart Home Device With Zero Coding

Last Updated on December 2, 2025 by Engr. Shahzada Fahad

Description:

Stop writing thousands of lines of code just to get a simple temperature reading on your phone. If you want to build a professional-grade IoT weather station that monitors room temperature, humidity, and even liquid temperature; all while controlling appliances remotely; you don’t need a degree in computer science.

KME Smart interface teaching ESP8266 beginners how to create a smart home device easily

Today, I am going to show you how to take a standard NodeMCU ESP8266 and turn it into a smart home powerhouse. We are hooking up multiple sensors and an LED as a load, and we are going to do it using a platform that makes the whole process effortless.

To make all this hardware talk to the internet, we need a cloud platform that is powerful but easy to setup. That is why for this project, we are using KME Smart.




Getting started with KME Smart:

I am on their homepage right now at KMESmart, and this is going to be the brain of our operation.

Beginner tutorial screen explaining how to use KME Smart

Right off the bat, look at that tagline: “Speak to control your living space.” That is exactly what we want; effortless, hands-free control. But what catches my eye here is that KME Smart isn’t just about selling you a smart bulb; it looks like a full ecosystem.

They cover everything from smart device installation to configuration tools and check this out;

KME Smart major protocols like WiFi, Bluetooth, Zigbee, and even LoRa

They support all the major protocols like WiFi, Bluetooth, Zigbee, and even LoRa. Plus, for those of us deep in the ecosystem, it works right out of the box with Google Home and Alexa.



Hardware Overview:

NodeMCU ESP8266 connected and configured through the KME Smart IoT platform

For this build, we are using the NodeMCU ESP8266 as our main controller.

DHT11 sensor wired to an ESP8266 for temperature monitoring in KME Smart

For environmental data, we have the DHT11 sensor to track the room’s air temperature and humidity.

We are also adding this;

DS18B20 temperature sensor connected to ESP8266 using KME Smart

The DS18B20. This is a waterproof, one-wire digital sensor, perfect for measuring liquids or outdoor conditions.

Controlling an LED using ESP8266 through KME Smart

And finally, we have a standard LED. Now, in this video, the LED is just a demonstration, but keep in mind: you can easily replace this LED with a Relay Module or a MOSFET to control high-power devices like heaters, fans, or AC units.



Circuit Diagram:

ESP8266 smart home circuit diagram used in KME Smart projects

Both the DHT11 and the DS18B20 need 3.3 Volts.

So, connect the VCC pins of both sensors to the 3V3 pin on the NodeMCU.

Next, connect the Ground pins of both sensors to the GND pin on the NodeMCU.

Now for the Data lines.

Let’s start with the waterproof sensor. Take the Signal pin of the DS18B20 and connect it to GPIO 4, which is labeled as D2 on the board. [Note: If you are using the bare sensor, don’t forget the 4.7k or 330-ohm pull-up resistor between data and power as shown in the diagram].

Next, the DHT11 sensor. Connect the Signal pin of the DHT11 to GPIO 5, which is the D1 pin on your board.

Finally, the Output.

We want to control that LED.

Connect the Cathode (the short leg) to Ground.

Connect the Anode (the long leg) to GPIO 16, which is labeled as D0.

Make sure you have a resistor in series with the LED, like the 330-ohm one shown here, to prevent it from burning out.

And that is it! The hardware is ready.

ESP8266 circuit connecting DS18B20 and DHT11 sensors for KME Smart



Amazon Links:

NodeMCU ESP8266

DS18b20 Waterproof Temperature Sensor

DHT11 Temperature and Humidity Sensor

Other Tools and Components:

ESP32 WiFi + Bluetooth Module (Recommended)

Arduino Nano USB C type (Recommended)

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!




Desktop Configuration (Flashing & Setup)

IoT device configuration panel displayed in KME Smart

Now, let’s jump into the configuration.

Available modules shown inside the KME Smart device support page

You can see the Supported Modules list. Right now, they have full support for the industry standards; we are talking the classic ESP8266, the ESP32, and even the newer S3 and C3 variants. This means you aren’t locked into just one type of board.

But what I really like is that they are transparent about their roadmap. Look at this right here: “ESP8285 – SOON”.

It’s a small detail, but it shows that the platform is active and evolving. So, whether you are using a standard NodeMCU today or planning a compact build with an 8285 in the future, KME Smart is getting ready for it.

This page is also where you will find the pinout guides for every widget; from Relays to RGB strips.

Now, usually, when we talk about cloud platforms and professional dashboards, there is a catch; and it’s usually a monthly subscription.

But this is where KME Smart actually surprised me. If you look at their license information, they have taken a completely different approach. They offer a Lifetime License.

KME Smart license information screen showing activation details

That means no monthly fees and no yearly renewals. You pay once; it’s just $5 per device and you own that access forever. It even comes with a 2-year warranty for updates and support, which is pretty rare in the DIY IoT space.



And the best part? You don’t have to pay a single penny to get started. They give you a 30-day Free Trial for every device. So you can build this entire project, test it out, and see if you like it before you commit.

Honestly, in a world where everything is becoming a subscription service, seeing a one-time $5 fee for lifetime access is really refreshing.

Now, right there you see that Windows button.

This button downloads the KME Config Tool, which is the desktop application we are going to use. Think of this app as the “bridge” between the website and your ESP board.

Extracting configuration files using the KME Smart tool

Once the download is finished, extract the folder and launch the config.exe file.

KME Smart configuration executable file ready to run

This opens up the configuration interface where we can flash the firmware directly to our NodeMCU.

KME Smart configuration layout for device settings

While your NodeMCU is connected to your PC.

KME Smart serial communication port selection screen

 Go to the Serial COM section, select your board’s COM port, and hit Connect.



KME Smart instructions for connecting an ESP8266 board

The tool should automatically detect your board. Once it does, simply click Upload Firmware.

KME Smart uploading firmware to an ESP8266 device

Let that run for a moment.

MAC and ID information used for KME Smart device registration

Once the upload is complete, you will see a unique MAC address and Device ID appear on the screen. This means we are online!



Now, let’s tell the board what sensors we are using.

Click the Plus (+) button to open the widget menu.

KME Smart dashboard screen for adding IoT control widgets

First, click on the DHT Sensor to add it to the dashboard. Double-click the widget to configure it:

KME Smart interface for adding a DHT sensor to ESP8266

Select your sensor type and set the pin to GPIO 5 (D1).

DHT sensor type selection menu in KME Smart

Next, add the DS18B20 widget.

DS18B20 module displayed as a device option in KME Smart

Open the settings and assign it to GPIO 4 (D2).

Pin settings for DS18B20 sensor shown in KME Smart

Finally, add a Relay widget to control our LED.

Map this to GPIO 16 (D0).

Relay pin selection menu in the KME Smart setup

Feel free to rename the modules; trust me, it makes navigating your setup far easier.




Once your widgets are set, click Save Dashboard.

Saving device settings inside the KME Smart interface

Next; if those icons aren’t your style, go ahead and change them. Make the interface truly yours.

KME Smart upload process for flashing device firmware

And then hit Upload. Within seconds, your configuration is flashed to the chip.

KME Smart confirming that configuration upload is complete



Mobile App Setup (Connection)

With the board ready, let’s move over to the phone to control it.

Go to the Play Store and download the KME Smart app.

KME Smart app interface for monitoring IoT devices

Open it up, tap Register, and quickly create your account. Once you are signed up, log in with your email and password.

KME Smart app registration screen for new users

Now, let’s pair the device.

Tap the Add Button (+) to add a new device.

KME Smart app screen for adding a new IoT device

Enter your WiFi credentials. Important:

Entering WiFi credentials in the KME Smart setup screen

Make sure you enter the WiFi name and password correctly, as the app will transfer these details to the ESP8266.

Select ‘Via Smart Connect’ and then choose “Single Device”.

KME Smart Smart Connect option for fast device pairing

Now, look at your hardware. Press and hold the Flash/Boot button on the NodeMCU for about three seconds until the onboard LED starts blinking. This puts it into pairing mode.

KME Smart showing a single connected IoT device



Back on the app, the device automation should appear; just tap Add Device.

Automation panel inside the KME Smart IoT application

You can rename it here if you like.

KME Smart screen for editing IoT automation rules

And there we go! After just a few seconds, live temperature and humidity data is streaming straight from our circuit to the phone, and we have full control over the LED.

Final IoT dashboard setup shown in KME Smart

Let me heat up the sensor so you can see it in action.



KME Smart and NodeMCU:

Weather station IoT setup using ESP8266 and KME Smart

The response is instant, precise, and honestly—pretty impressive.

KME Smart dashboard reading real-time temperature data

The temperature instantly raised and I was like WoW!

KME Smart weather station dashboard with sensor readings

From one corner of the world to another, I can monitor everything—temperature, humidity—all live, all through the KME Smart IoT Cloud platform.

So basically, with the DHT11 sensor, I can monitor the temperature and humidity inside any room; and I can also track liquid temperature, whether it’s water or something entirely different.

Water temperature monitoring with ESP8266 and KME Smart Cloud

And as you can see, the temperature drops instantly… that’s how responsive this setup is.

Smart relay control using KME Smart IoT Cloud and an ESP8266 board




Watch Video Tutorial:


Discover more from Electronic Clinic

Subscribe to get the latest posts sent to your email.

Engr. Shahzada Fahad

Engr. Shahzada Fahad is an Electrical Engineer with over 15 years of hands-on experience in electronics design, programming, and PCB development. He specializes in microcontrollers (Arduino, ESP32, STM32, Raspberry Pi), robotics, and IoT systems. He is the founder and lead author at Electronic Clinic, dedicated to sharing practical knowledge.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Discover more from Electronic Clinic

Subscribe now to keep reading and get access to the full archive.

Continue reading

Electronic Clinic
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.