ESP32 MQTT Home Automation Hub Kit with ESP32 + DHT22
ESP32 MQTT Home Automation Hub Kit – Control 4 Appliances and Monitor Environment from Anywhere
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.
Imagine turning your study lamp on with a tap on your phone or checking room temperature from the school bus. This kit lets you build a complete MQTT-based home automation hub: the ESP32 subscribes to commands from any MQTT client (phone, dashboard, cloud) and switches up to four appliances via a relay module, while simultaneously publishing DHT22 temperature and humidity readings to separate MQTT topics. It’s the exact architecture used in modern IoT dashboards and smart home controllers.
What You'll Build
You’ll wire and programme an ESP32 that connects to your Wi-Fi network and communicates with an MQTT broker. The 4‑channel relay module controls lights, fans, or any low‑voltage appliance, while the 0.96‑inch OLED displays local status. The DHT22 sensor continuously publishes environmental data, giving you a real‑time feed viewable on any MQTT‑compatible dashboard like Node‑RED or Home Assistant.
What You'll Learn
- Implement the MQTT publish/subscribe protocol on ESP32 for bidirectional communication
- Interface a multi‑channel relay module with flyback diodes for safe appliance switching
- Read and publish DHT22 sensor data with JSON payloads over MQTT topics
- Design a local OLED display to show connection status, relay states, and sensor values
Kit Contents
| Component | Quantity |
|---|---|
| ESP32 Dev Board | x1 |
| DHT22 | x1 |
| 4-ch Relay Module | x1 |
| 0.96in OLED | x1 |
| 1N4007 Diode | x5 |
| 4.7kΩ Resistors | x5 |
| 100nF Caps | x5 |
| 400-pt Breadboard | x1 |
| M-M Wires | x25 |
| Micro USB Cable | x1 |
Why Buy This Kit Instead of Sourcing Parts Separately
| Factor | Sourcing Separately | Compoden Kit |
|---|---|---|
| Compatibility checks | You verify every part | Pre-tested as a system |
| Build support | Forums and scattered tutorials | AI companion trained on this exact project |
| Time to first working build | Days of debugging | Hours, with step-by-step guidance |
| Shipping coordination | Multiple sellers, multiple delays | One shipment from Bengaluru in 3-5 days |
Who This Kit Is For
Ideal for CBSE Class 11–12 students working on IoT practicals, B.Tech ECE/EEE undergraduates prototyping a smart home mini project, and ATL Tinkering Lab mentors teaching connected devices. It’s also a strong foundation for teams preparing for Smart India Hackathon challenges that demand real‑time sensor streaming and relay actuation.
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?
Open the AI companion, describe the symptom (e.g., relay not switching), and it will walk you through checks step by step. If you need a human, reply to the WhatsApp number inside the box.
How do I set up the MQTT broker?
The AI companion includes a guide for installing Mosquitto on a local PC or Raspberry Pi, and provides test connection code before you wire the hardware.
Can I integrate this with Home Assistant or Node-RED?
Absolutely. Once the ESP32 publishes JSON sensor payloads, you can add them as MQTT sensors in Home Assistant or use Node‑RED to create dashboards that also publish relay commands.
Do I need to know Arduino IDE programming?
You should be comfortable uploading a sketch; the kit includes a fully commented template code. The AI companion explains every MQTT callback and library so you can modify it later.
ESP32 subscribes to MQTT topics for 4 relay channels and publishes sensor readings on separate topics.
What's in this kit
- ESP32 Dev Board
- DHT22
- 4-ch Relay Module
- 0.96in OLED
- 1N4007 Diode x5
- 4.7kΩ Resistors x5
- 100nF Caps x5
- 400-pt Breadboard
- M-M Wires x25
- Micro USB Cable
Other projects you can build
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 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