Home Automation MQTT Hub Kit with ESP32 + DHT22
Build Your Own MQTT Home Automation Hub with ESP32, DHT22, and 4-Channel Relay Control
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 on your room's lights from your phone while checking temperature and humidity outside. This IoT kit lets you build a full MQTT hub: an ESP32 publishes DHT22 and LDR sensor data to a broker while toggling four relay channels based on incoming commands, all visible on an OLED display. By the end, you’ll own a working smart home control point you can integrate with dashboards like Node-RED or any MQTT client.
What You'll Build
A Wi‑Fi-connected MQTT hub that reports real‑time temperature, humidity, and two ambient light levels, and lets you switch up to four appliances remotely. The local OLED shows live readings, while you control everything through MQTT‑enabled apps on your phone or laptop.
What You'll Learn
- Set up an MQTT broker and program ESP32 publish/subscribe topics for IoT communication
- Read digital (DHT22) and analog (LDR) sensors, then format data for remote transmission
- Safely drive a 4‑channel relay module using flyback diodes to control AC appliances
- Display sensor status on a 0.96‑inch OLED and extend it to a web dashboard
Kit Contents
| Component | Quantity |
|---|---|
| ESP32 Dev Board | x1 |
| DHT22 | x1 |
| LDR | x2 |
| 4-ch Relay Module | x1 |
| 0.96in OLED | x1 |
| 1N4007 Diode | x5 |
| 10kΩ Resistors | x10 |
| 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 building IoT projects for computer science or physics practicals, B.Tech ECE/EEE undergraduates working on smart home mini-projects, and participants in Smart India Hackathon or ATL Tinkering Lab challenges. It’s also a ready-to-use module for makerspaces at IITs, NITs, VIT, BITS, and other engineering colleges.
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?
The QR code inside gives you instant access to an AI companion with step‑by‑step troubleshooting for this exact kit. You can also send a WhatsApp message for further assistance, and we’ll reply within hours.
Do I need a separate MQTT broker or cloud service?
No additional purchase needed. The kit works with free public brokers like broker.emqx.io, or you can run your own on a Raspberry Pi. The companion walks you through both setups.
Can I integrate this with Alexa or Google Home later?
Yes. Once your MQTT hub is running, you can connect it to voice assistants using IFTTT or a Node-RED bridge. The skills you learn make such integrations straightforward.
Is it safe to switch 230V AC appliances with this relay module?
The included module is rated for mains voltage, but we strongly recommend adult supervision if you’re under 18. All connections include flyback diodes, and the AI companion details safe wiring practices.
ESP32 subscribes and publishes to MQTT broker controlling four relay channels and reporting four sensor readings.
What's in this kit
- ESP32 Dev Board
- DHT22
- LDR x2
- 4-ch Relay Module
- 0.96in OLED
- 1N4007 Diode x5
- 10kΩ Resistors x10
- 100nF Caps x5
- 400-pt Breadboard
- M-M Wires x25
- Micro USB Cable
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