Home › MQTT Smart Home Hub Kit: ESP32, 4 Relays, DHT22, OLED
MQTT Smart Home Hub Kit with ESP32 + Relay - Compoden
In Stock

MQTT Smart Home Hub Kit: ESP32, 4 Relays, DHT22, OLED

SKU: CDN-KIT-1641 Brand: Compoden Category: Electronics > Smart Home & Living > Project Kits
Rs. 2,080.00
Inclusive of all taxes
Free Shipping on prepaid orders above ₹1,999
Ships in 3-7 days
7-Day Warranty on manufacturing defects
GST invoice 18% GST included · HSN 90230090
Pay with UPI Cards Netbanking Cash on Delivery
Need 10+ units? Contact us for bulk pricing
100% Genuine Products
Expert Technical Support
Quality Tested
Soldr.ai Ask about this product

Open this project in the Soldr app → What is Soldr.ai → wiring, code and test steps for exactly these parts

MQTT Smart Home Hub Kit: ESP32, 4 Relays, DHT22, OLED — an intermediate-level kit.

MQTT Smart Home Hub Kit: ESP32, 4 Relays, DHT22, OLED

Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-7 days.

Difficulty: Intermediate Build Time: 4-5 hrs Skill: IoT and MQTT protocols

Kit at a glance

What you build: An MQTT smart home hub: an ESP32 switches four relays, for example lights, a fan and an air conditioner's power, and publishes room temperature and humidity from a DHT22. Control it from any MQTT app on your phone or computer.

What's in the box

  • ESP32 Dev Board
  • 4-ch Relay Module
  • DHT22
  • 0.96in OLED
  • 1N4007 Diode × 5
  • 4.7kΩ Resistors × 5
  • 100nF Caps × 5
  • 400-pt Breadboard
  • M-M Wires × 20
  • Micro USB Cable

Power: USB. A USB charger is not included.

Skill level: Intermediate (4-5 hours).

Frequently asked questions

Which app do I need?

Any MQTT client app.

Can it switch mains appliances?

The relay can, but mains wiring needs a qualified person.

Imagine turning on your bedroom fan or deadbolting the front door from anywhere—using just your phone. This kit transforms that idea into a working prototype within a single afternoon. You’ll connect an ESP32 to a 4-channel relay, wire real AC appliances, and push commands through the MQTT messaging protocol—all while monitoring temperature and relay status on a crisp 0.96-inch OLED display.

What You'll Build

You’ll assemble a fully functional smart home control hub. The ESP32 acts as the brain, subscribing to MQTT topics and firing the relay to switch lights, fans, or a solenoid lock. A DHT22 sensor feeds room temperature and humidity data back to your app, and the OLED screen shows live relay states. Once programmed, you control every appliance from MQTT client apps like MQTT Dash or integrate with Home Assistant for a complete dashboard.

What You'll Learn

  • Program ESP32 in Arduino IDE to publish and subscribe MQTT topics for real-time appliance control.
  • Wire a 4-channel relay module safely to AC loads using 1N4007 flyback diodes and build a noise-free power circuit.
  • Read DHT22 sensor data over OneWire and display it on an OLED via I2C protocol.
  • Set up a local or cloud MQTT broker, structure topic hierarchies, and debug with serial monitor.

Kit Contents

Component Quantity
ESP32 Dev Board x1
4-ch Relay Module x1
DHT22 x1
0.96in OLED x1
1N4007 Diode x5
4.7kΩ Resistors x5
100nF Caps x5
400-pt Breadboard x1
M-M Wires x20
Micro USB Cable x1

Who This Kit Is For

Designed for CBSE students exploring IoT and computer science, B.Tech ECE/EEE undergraduates working on mini-projects, and participants in Smart India Hackathon or ATL Tinkering Lab challenges. Students at IIT, NIT, VIT, and BITS Pilani will find it a ready-to-use prototyping bundle for MQTT-based home automation assignments.

Built and Backed by Compoden

Every Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.

What if I get stuck during the build?

Scan the QR code on the box to chat with the AI build companion trained on this kit, or message us on WhatsApp for personal guidance from our maker-support team.

Can I control appliances from outside my home WiFi network?

Yes, the MQTT protocol works over the internet when you connect to a cloud broker like HiveMQ Cloud or Adafruit IO. The AI companion includes sample code for secure remote access.

Which MQTT broker should I use with this kit?

We recommend an MQTT broker for local testing and a free cloud broker such as HiveMQ Cloud for first-time internet-based control. Both are covered step-by-step in the companion.

Is this kit compatible with a voice assistant or a smart-home app?

While this kit directly uses MQTT, you can bridge it to voice assistants using Home Assistant or a flow-based dashboard tool. The AI companion provides optional integration guides for popular platforms.

ESP32 MQTT controls lights, fan, AC relay and lock from any MQTT client app.

What's in this kit

Shipping Information

  • Prepaid Orders: ₹45 for orders up to ₹1,999, FREE shipping above ₹1,999
  • COD Orders: ₹45 shipping for orders up to ₹1,999, FREE shipping above ₹1,999. COD available.
  • Delivery Timeline: Dispatch in 3-7 days, delivery in 2-7 days depending on location

Returns & Warranty

  • 7-Day Return: Manufacturing defects only (approval required)
  • Warranty: 7 days from delivery
  • Non-Returnable: Batteries, consumables, cut wires, clearance items

View complete shipping policy →

View complete returns policy →

How to set up your kit

See all how-to videos →