{"product_id":"kit-esp32-mqtt-home-automation-hub","title":"ESP32 MQTT Home Automation Hub Kit with ESP32 + DHT22","description":"\u003ch1\u003eESP32 MQTT Home Automation Hub Kit – Control 4 Appliances and Monitor Environment from Anywhere\u003c\/h1\u003e\n\n\u003cp class=\"value-summary\"\u003eEvery part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.\u003c\/p\u003e\n\n\u003cdiv class=\"specs-strip\"\u003e\n  \u003cspan\u003e\u003cstrong\u003eDifficulty:\u003c\/strong\u003e Intermediate\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eBuild Time:\u003c\/strong\u003e 3-4 hours\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eAge:\u003c\/strong\u003e 15-18\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eSkill:\u003c\/strong\u003e MQTT protocol and relay automation\u003c\/span\u003e\n\u003c\/div\u003e\n\n\u003cp\u003eImagine 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.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You'll Build\u003c\/h2\u003e\n\u003cp\u003eYou’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.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You'll Learn\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eImplement the MQTT publish\/subscribe protocol on ESP32 for bidirectional communication\u003c\/li\u003e\n  \u003cli\u003eInterface a multi‑channel relay module with flyback diodes for safe appliance switching\u003c\/li\u003e\n  \u003cli\u003eRead and publish DHT22 sensor data with JSON payloads over MQTT topics\u003c\/li\u003e\n  \u003cli\u003eDesign a local OLED display to show connection status, relay states, and sensor values\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eKit Contents\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eComponent\u003c\/th\u003e\n\u003cth\u003eQuantity\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eESP32 Dev Board\u003c\/td\u003e\n\u003ctd\u003ex1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDHT22\u003c\/td\u003e\n\u003ctd\u003ex1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e4-ch Relay Module\u003c\/td\u003e\n\u003ctd\u003ex1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e0.96in OLED\u003c\/td\u003e\n\u003ctd\u003ex1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e1N4007 Diode\u003c\/td\u003e\n\u003ctd\u003ex5\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e4.7kΩ Resistors\u003c\/td\u003e\n\u003ctd\u003ex5\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e100nF Caps\u003c\/td\u003e\n\u003ctd\u003ex5\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e400-pt Breadboard\u003c\/td\u003e\n\u003ctd\u003ex1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eM-M Wires\u003c\/td\u003e\n\u003ctd\u003ex25\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eMicro USB Cable\u003c\/td\u003e\n\u003ctd\u003ex1\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhy Buy This Kit Instead of Sourcing Parts Separately\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eFactor\u003c\/th\u003e\n\u003cth\u003eSourcing Separately\u003c\/th\u003e\n\u003cth\u003eCompoden Kit\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eCompatibility checks\u003c\/td\u003e\n\u003ctd\u003eYou verify every part\u003c\/td\u003e\n\u003ctd\u003ePre-tested as a system\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eBuild support\u003c\/td\u003e\n\u003ctd\u003eForums and scattered tutorials\u003c\/td\u003e\n\u003ctd\u003eAI companion trained on this exact project\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eTime to first working build\u003c\/td\u003e\n\u003ctd\u003eDays of debugging\u003c\/td\u003e\n\u003ctd\u003eHours, with step-by-step guidance\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eShipping coordination\u003c\/td\u003e\n\u003ctd\u003eMultiple sellers, multiple delays\u003c\/td\u003e\n\u003ctd\u003eOne shipment from Bengaluru in 3-5 days\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWho This Kit Is For\u003c\/h2\u003e\n\u003cp\u003eIdeal 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.\u003c\/p\u003e\n\n\u003ch2\u003eBuilt and Backed by Compoden\u003c\/h2\u003e\n\u003cp\u003eEvery 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.\u003c\/p\u003e\n\n\u003cdetails\u003e\u003csummary\u003eWhat if I get stuck during the build?\u003c\/summary\u003e\u003cp\u003eOpen 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.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eHow do I set up the MQTT broker?\u003c\/summary\u003e\u003cp\u003eThe 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.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan I integrate this with Home Assistant or Node-RED?\u003c\/summary\u003e\u003cp\u003eAbsolutely. 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.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eDo I need to know Arduino IDE programming?\u003c\/summary\u003e\u003cp\u003eYou 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.\u003c\/p\u003e\u003c\/details\u003e\n\n\u003cdiv class=\"kit-description\"\u003e\n  \u003cp\u003eESP32 subscribes to MQTT topics for 4 relay channels and publishes sensor readings on separate topics.\u003c\/p\u003e\n  \u003ch4\u003eWhat's in this kit\u003c\/h4\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/esp32-30-pin-development-board-cp2102-wifi-bluetooth\"\u003eESP32 Dev Board\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/dht22-temperature-humidity-sensor-module-accurate-readings\"\u003eDHT22\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/4-channel-relay-opto-isolated-input-board-compoden\"\u003e4-ch Relay Module\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/096in-oled-display-128x64-i2cspi-for-arduino-raspberry-pi\"\u003e0.96in OLED\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/diode-variety-pack-1n4007-1n4148-1n5819-zener-assortment\"\u003e1N4007 Diode\u003c\/a\u003e x5\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/resistor-variety-pack-100-pcs-10-values-14w-carbon-film\"\u003e4.7kΩ Resistors\u003c\/a\u003e x5\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/capacitor-variety-pack-6-values-100nf-to-470uf-30-pieces\"\u003e100nF Caps\u003c\/a\u003e x5\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/breadboard-standard-bundle-830400-tie-points-for-prototyping\"\u003e400-pt Breadboard\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003eM-M Wires x25\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/microusb-cable-1m-charging-data-cord-for-arduino-android\"\u003eMicro USB Cable\u003c\/a\u003e\u003c\/li\u003e\n  \u003c\/ul\u003e\n\u003c\/div\u003e\n\n\u003cscript type=\"application\/ld+json\"\u003e\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"What is included in the ESP32 MQTT Home Automation Hub Kit with ESP32 + DHT22?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"The ESP32 MQTT Home Automation Hub Kit with ESP32 + DHT22 includes all components needed: ESP32 Dev Board, DHT22, 4-ch Relay Module, 0.96in OLED, 1N4007 Diode and more. Everything is pre-tested for compatibility and shipped from Bengaluru, India.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"What skill level is required for the ESP32 MQTT Home Automation Hub Kit with ESP32 + DHT22?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"This kit is designed for Intermediate level makers, suitable for ages 15-18. ESP32 subscribes to MQTT topics for 4 relay channels and publishes sensor readings on separate topics. Estimated build time is 3-4 hrs.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Can I buy the ESP32 MQTT Home Automation Hub Kit with ESP32 + DHT22 online in India?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Yes, the ESP32 MQTT Home Automation Hub Kit with ESP32 + DHT22 is available online at Compoden (compoden.in), India's AI-powered electronics and robotics store. Ships from Bengaluru in 1-5 business days across India.\"\n      }\n    }\n  ]\n}\n\u003c\/script\u003e\n\n\u003cscript type=\"application\/ld+json\"\u003e\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"Product\",\n  \"name\": \"ESP32 MQTT Home Automation Hub Kit with ESP32 + DHT22\",\n  \"description\": \"ESP32 subscribes to MQTT topics for 4 relay channels and publishes sensor readings on separate topics.\",\n  \"sku\": \"CDN-KIT-1332\",\n  \"brand\": {\"@type\": \"Brand\", \"name\": \"Compoden\"},\n  \"offers\": {\n    \"@type\": \"Offer\",\n    \"url\": \"https:\/\/compoden.in\/products\/kit-esp32-mqtt-home-automation-hub\",\n    \"priceCurrency\": \"INR\",\n    \"price\": \"2225\",\n    \"availability\": \"https:\/\/schema.org\/InStock\",\n    \"seller\": {\"@type\": \"Organization\", \"name\": \"Compoden\"}\n  },\n  \"category\": \"ESP32 Fundamentals\"\n}\n\u003c\/script\u003e","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53456644473197,"sku":"CDN-KIT-1332","price":2560.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/kit-esp32-mqtt-home-automation-hub.png?v=1781946587","url":"https:\/\/compoden.com\/products\/kit-esp32-mqtt-home-automation-hub","provider":"Compoden","version":"1.0","type":"link"}