Close Menu
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
Facebook X (Twitter) Instagram
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn
How To Electronics
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
How To Electronics
Home » ESP32 Home Automation with KME Smart IoT Platform
ESP32 Projects IoT Projects

ESP32 Home Automation with KME Smart IoT Platform

Mamtaz AlamBy Mamtaz AlamUpdated:February 2, 20259 Mins Read
Share Facebook Twitter LinkedIn Telegram Reddit WhatsApp
ESP32 Home Automation with KME Smart IoT Platform
Share
Facebook Twitter LinkedIn Pinterest Email Reddit Telegram WhatsApp

Overview

In this IoT project, I will show you how to make Home Automation project with ESP32 and KME Smart IoT Platform. The project doesn’t require any coding all the configuration on only done via KME Smart dashboard. By sending on/off command from KME Smart App, we can control 4 relays via ESP32 network.

Previously, we developed a Home Automation project based on the ESP32 platform, utilizing platforms such as Blynk, AWS IoT Core and Arduino IoT Cloud. To enhance portability and ease of use, a custom PCB is designed specifically for this project. Since, it does not require any coding, the method to configure the device require multiple dashboard setup and steps which we will see in the guide

Once the ESP32 connects to WiFi, it automatically links up with the KME Smart IoT Platform. This connection gives you a simple, centralized way to manage and remotely control your home devices through 4 relays. The setup is self-contained, reducing the need for other IoT apps and fits smoothly into your home automation system, making everything more convenient and functional.



Bill of Materials

For this project, we will need the following components. The component list, footprint, and quantity are given below.

S.N.ComponentDesignatorFootprintQuantity
1Capacitor 100nfC1, C3, C6, C7, C8, C9, C10, C11CAP_08058
2Capacitor 10ufC2, C4, C5CAP_08053
3Capacitor 220uF, 25VC12FP-RAD-TH-D_10_0_5-L_16_1-MFG1
4Diode 1N4007D1, D2, D3, D4DIOM5027X262N4
5SP4322-01ETGD5SP432201ETG1
6Optocoupler PC817CIC1, IC3, IC4, IC5DIP762W60P254L458H450Q4N4
7ESP32 WROOM-32IC2ESP32WROOM3216MB1
82-Pin Terminal BlockJ11
93-Pin Terminal BlockJ2, J3, J4, J54
10Relay SRD-05VDC-SL-CK1, K2, K3, K4SRD4
11LED RedLED1, LED2, LED3, LED4, LED5LEDC2012X80N5
12Male Header 6 PinP1HDR1X61
13HLK-10M05PS1HLK10M051
14Transistor BC847BQ1, Q2, Q3, Q4, Q5, Q6BC847B2156
15Resistor 220RR1, R3, R9, R11, R14, R16, R17, R198058
16DNPR2, R10, R15, R188054
17Resistor 12KR4, R12, R138053
18Resistor 1KR5, R7, R8, R248054
19Resistor 470RR68051
20Resistor 10KR20, R21, R22, R238054
21Push Button SwitchS1, S2, S3, S4B3W10204
22Manual Switch (Optional)SW1, SW2, SW3, SW4HDR1X24
23HT7333 3.3V Voltage RegulatorU1IC_HT73331

Circuit Diagram & Hardware Design

Let us take a look at the Schematic of ESP32 Automation System using KME Smart IoT platform. The schematic is designed using the Altium Designer Software.

KME IoT Smart ESP32 Home Automation
Fig: ESP32 Home Automation Circuit/Schematic

We used SMD resistors, capacitors, and LED with the 0805 package. To convert 220V AC to 5V DC, we used an AC-to-DC Converter from Hi-Link. For providing power to ESP32 raw chip and other peripherals, a low-power LDO HT7333 IC was used. To separate the high-power line from the 3.3V circuit PC817 optocoupler IC is used. The LED5 in the circuit is used to indicate power.

HLK-10M05

Similarly the LED1, LED2, LED3 & LED4 is used to represent Relay1, Relay2, Relay3 & Relay4 output respectively. The LED5 is a power indication LED. The 4 Relays are connected to ESP32 via GPIO Pins 12, 14, 27, 26. The push buttons SW1, SW2, SW3, and SW4 are used in the manual controlling of Relays. They are connected to GPIO Pins 5, 17, 13, 16. You may attach a manual switch there and program the controller to control the circuit.

You can connect 4 home appliannces using the Relay connections at 3 Pin Terminal J2, J3. J4, J5. The 2 Pin Terminal J1 is used to supply AC Power directly to the Circuit. A Capacitor C12 of 220uF, 25V is connected to PCB stop voltage fluctuations.

FTDI Module

To program the ESP32 raw chip, the FTDI pin is provided. We can connect an FTDI Module (USB-to-TTL Converter) to program the ESP32 Chip directly.




Project PCB Gerber File & PCB Ordering Online

We have designed the PCB using the Altium Designer Software. It took quite a lot of time fixing all the isses in the PCB but still we managed to design a complete working custom PCB.

The top part of the PCB design looks like this.

Fig: Top Layer of PCB Board

The bottom part of the PCB board looks like this.

Fig: Bottom Layer of PCB Board

Here is the 3D View of the PCB from the front side.

Fig: Top Layer 3D View of PCB Board

Similarly here is the 3D view of the bottom layer of the PCB Board.

Fig: Bottom Layer 3D View of PCB Board

The Gerber File for the PCB is given below. You can simply download the Gerber File and order the PCB from ALLPCB at 1$ only.

Download Gerber File: ESP32 Home Automation Gerber File

You can use this Gerber file to order high-quality PCB for this project. To do that visit the ALLPCB official website by clicking here: https://www.allpcb.com/.

You can now upload the Gerber File by choosing the Quote Now option. From these options, you can choose the Material Type, Dimensions, Quantity, Thickness, Solder Mask Color and other required parameters.

After filling all details, select your country and shipping method. Finally you can place the order.




PCB & Hardware Assembly

After ordering the PCB, it took almost 5 days and I got my PCB.

The PCB quality from ALLPCB is superb with very premium quality. That is why most people trust ALLPCB for PCB/PCBA Services.

Fig: PCB Board Top Side
Fig: PCB Board Bottom Side

First solder all the SMD components like resistors, capacitors, transistors, LEDs, voltage regulators & diodes. Be careful about the SMD LED polarity, place it in the proper direction. The SMD soldering is to be done on the both sides.

ESP32 KME Smart IoT App Home Automation PCB Top Soldered Layer
Fig: Top Assembled/Soldered Layer

After soldering all these, you can solder the ESP32 raw chip. The final stage would be soldering all the through-hole components like Optocoupler IC, terminal block, Relays, male-female headers, and AC-to-DC Converter Module.

ESP32 KME Smart IoT App Home Automation PCB Bottom Soldered Layer
Fig: Bottom Assembled/Soldered Layer

After soldering all the components, the ESP32 KME Smart IoT Home Automation Board is ready for the test. You can upload a blink sketch by connecting a USB-to-TTL Converter Module.

KME Smart ESP32 Home Automation Board
Fig: KME Smart ESP32 Home Automation Board

Note: There were some voltage fluctuation issues in the designed PCB, so I have updated the design by adding 220uF capacitor. Also, some connection issues have been fixed. The Gerber file above is updated and the PCB would be little different from shown above. But overall the functionality is same.



Preparing the ESP32 Chip for KME Smart Platform support

For this project, there is no coding requirement. Therefore we don’t need to write any code to the ESP32 microcontroller. Still we need to configure the ESP32 to work with the KME Smart App.

First we need to download the KMESmart Config file. For that go to the following link: kmeconfig.html.

Download the latest available zip file available.

After downloading is completed, extract the file.

On the extracted folder, there is an executable file with the name “kme_config.exe“. Run this file by double clicking on it.

The KME Config software will open as shown in the image above. From here we need to configure our ESP32 Board.

Connect the ESP32 Board to the computer using the micro-USB Cable. In my case, I am using a PCB board, therefore I have connected it to the computer via FTDI Module.

On the KME Config app. Click on the 3 dash on the top right side.

From here, Select the COM port which your ESP32 is connected to.

Now click on upload firmware. The firmware uploading process on ESP32 board will start. You can see everything in progress bar as percentage.

Once the firmware is uploaded, the ESP32 MAC ID and Device ID can be seen.

Your ESP32 is now configured to be used with the KME Smart IoT Platform system.



Setting Up KME Smart IoT Dashboard

Now the ESP32 is configured to be used with KME Smart IoT platform but yet not ready for Home Automation System. Therefore we need to setup the dashboard for KME Smart System.

Click on the add sign at the top right of the App. On the left side the widgets will appear.

For 4 relays, we need 4 Relay or Digital Output. Therefore add 4 switches from the widgets list.

You need to configure all the 4 widgets now. Here are the configuration details that will appear while setting.

For 4 widgets just change the pin number for Pin Output and Input. The output pin is used for Relay as in the schematic. The input pin is for Push button as shown in the schematic.

Relay Relay Output Push Button Input
Relay 1 12 5
Relay 2 14 17
Relay 3 27 13
Relay 4 26 16

Finally the setup is complete as shown here.

Now we need to upload this settings to the ESP32 Board. To upload the settings, click on upload button present at the right bottom on the right side.

Once you see the uploading done message, you are ready to go.



Setting Up KME Smart IoT App on Mobile Phone

Now, we need to set up the KME Smart IoT Mobile Application that can communicate with the ESP32 Home Automation Board. To do so, go to your phone’s Play Store or App Store and download the KME Smart App.

Open the App. Create an Account using your Email. Then finally you can log in. Upon login, nothing will appear on the app, it will appear blank.

Click on the “+” sign and it will come up with 3 options.

Click on Add Device. A dashboard will appear where you need to enter your WiFi credentials. Enter the Credentials so that ESP32 can connect to the WiFi Network using them.

Click on Connect. It will ask you to choose a device type. Choose Single Device.

Now a window will pop up asking you to choose the method to connect to the WiFi Network. Either connect it via Smart Connect or via Access Point. In our case, we will connect it via Smart Connect.

For that, you need to put the ESP32 in Boot Mode. Long press the Boot button on ESP32 for a few seconds, and the blue LED will start to blink for 3 seconds.

On the App, Click on Connect via Smart Connect. A window will appear after a while which shows the ESP32 device automatically connected WiFi Network.

You may update the App Name, such as Home Automation.

On clicking the App, the dashboard will be available for use. It is shown here.



Testing the KME Smart IoT Home Automation System

By completing all the above steps the ESP32 Home Automation system is ready for testing with KME Smart IoT App.

For that, connect the Home Automation Board to the 110/220V power supply.

ESP32 KME Smart IoT Home Automation System Test

To test the Home Automation System, press the Relay buttons on Mobile Dashboard.

To control the Relays, send ON/OFF commands to each relay individually to verify their operation. You may send “All ON” and “All OFF” command respectively.

This is how you can make a ESP32 Home Automation System using the KME Smart IoT Platform.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit Telegram WhatsApp
Previous ArticleInterfacing MiCS-5524 CO, Alcohol, VOC Gas Sensor with Arduino
Next Article Shift Register 74HC595 with Arduino – Examples & Code

Related Posts

IoT Based PM & Air Quality Monitoring System using ESP32

IoT Based PM & Air Quality Monitoring System using ESP32

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

Updated:May 10, 20261K
IoT Activity Tracker with ESP32 & Accelerometer Gyroscope

IoT Activity Tracker with ESP32 & Accelerometer/Gyroscope

Updated:May 2, 2026

ESP32 IoT Vehicle Motion Analyzer with MPU6050 & LIS3MDL

Updated:April 27, 20261K
High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

Updated:April 27, 20262K
DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

Updated:February 1, 20261K
Add A Comment

CommentsCancel reply

Latest Posts
IoT Based PM & Air Quality Monitoring System using ESP32

IoT Based PM & Air Quality Monitoring System using ESP32

May 31, 2026
DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

May 10, 2026
IoT Activity Tracker with ESP32 & Accelerometer Gyroscope

IoT Activity Tracker with ESP32 & Accelerometer/Gyroscope

May 2, 2026
A Guide to Sourcing Obsolete ICs for Vintage Projects

Beyond AliExpress: A Guide to Sourcing Obsolete ICs for Vintage Projects

April 21, 2026

ESP32 IoT Vehicle Motion Analyzer with MPU6050 & LIS3MDL

April 27, 2026
Building a Smart Sensor Node with a BLE Microcontroller

Building a Smart Sensor Node with a BLE Microcontroller

February 26, 2026
High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

April 27, 2026
DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

February 1, 2026
Top Posts & Pages
  • 12V DC to 220V AC Inverter Circuit & PCB
    12V DC to 220V AC Inverter Circuit & PCB
  • IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
    IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
  • IoT Based Drinking Water Quality Monitoring with ESP32
    IoT Based Drinking Water Quality Monitoring with ESP32
  • LD2410 Sensor with ESP32 - Human Presence Detection
    LD2410 Sensor with ESP32 - Human Presence Detection
  • ESP32 CAN Bus Tutorial | Interfacing MCP2515 CAN Module with ESP32
    ESP32 CAN Bus Tutorial | Interfacing MCP2515 CAN Module with ESP32
  • DIY IoT Water pH Meter using pH Sensor & ESP32
    DIY IoT Water pH Meter using pH Sensor & ESP32
  • Buck Converter: Basics, Working, Design & Application
    Buck Converter: Basics, Working, Design & Application
  • How to use Modbus RTU with ESP32 to read Sensor Data
    How to use Modbus RTU with ESP32 to read Sensor Data
Categories
  • Arduino Projects (197)
  • Articles (60)
    • Learn Electronics (19)
    • Product Review (15)
    • Tech Articles (28)
  • Electronics Circuits (46)
    • 555 Timer Projects (21)
    • Op-Amp Circuits (7)
    • Power Electronics (13)
  • IoT Projects (204)
    • ESP32 MicroPython (7)
    • ESP32 Projects (81)
    • ESP32-CAM Projects (15)
    • ESP8266 Projects (76)
    • LoRa/LoRaWAN Projects (22)
  • Microcontrollers (38)
    • AMB82-Mini IoT AI Camera (4)
    • BLE Projects (18)
    • STM32 Projects (19)
  • Raspberry Pi (93)
    • Raspberry Pi Pico Projects (57)
    • Raspberry Pi Pico W Projects (12)
    • Raspberry Pi Projects (24)
Follow Us
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
About Us

“‘How to Electronics’ is a vibrant community for electronics enthusiasts and professionals. We deliver latest insights in areas such as Embedded Systems, Power Electronics, AI, IoT, and Robotics. Our goal is to stimulate innovation and provide practical solutions for students, organizations, and industries. Join us to transform learning into a joyful journey of discovery and innovation.

Copyright © How To Electronics. All rights reserved.
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Looks like you're using an ad blocker. Please allow ads on our site. We rely on advertising to help fund our site.