{"product_id":"kit-home-automation-mqtt-hub","title":"Home Automation MQTT Hub Kit with ESP32 + DHT22","description":"\u003ch1\u003eBuild Your Own MQTT Home Automation Hub with ESP32, DHT22, and 4-Channel Relay Control\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 4-5 hrs\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, sensor integration, relay control\u003c\/span\u003e\n\u003c\/div\u003e\n\n\u003cp\u003eImagine 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.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You'll Build\u003c\/h2\u003e\n\u003cp\u003eA 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.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You'll Learn\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eSet up an MQTT broker and program ESP32 publish\/subscribe topics for IoT communication\u003c\/li\u003e\n  \u003cli\u003eRead digital (DHT22) and analog (LDR) sensors, then format data for remote transmission\u003c\/li\u003e\n  \u003cli\u003eSafely drive a 4‑channel relay module using flyback diodes to control AC appliances\u003c\/li\u003e\n  \u003cli\u003eDisplay sensor status on a 0.96‑inch OLED and extend it to a web dashboard\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\u003eLDR\u003c\/td\u003e\n\u003ctd\u003ex2\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\u003e10kΩ Resistors\u003c\/td\u003e\n\u003ctd\u003ex10\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 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.\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\u003eThe 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.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eDo I need a separate MQTT broker or cloud service?\u003c\/summary\u003e\u003cp\u003eNo 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.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan I integrate this with Alexa or Google Home later?\u003c\/summary\u003e\u003cp\u003eYes. 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.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eIs it safe to switch 230V AC appliances with this relay module?\u003c\/summary\u003e\u003cp\u003eThe 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.\u003c\/p\u003e\u003c\/details\u003e\n\n\u003cdiv class=\"kit-description\"\u003e\n  \u003cp\u003eESP32 subscribes and publishes to MQTT broker controlling four relay channels and reporting four sensor readings.\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\n\u003ca href=\"\/products\/ldr-sensor-5mm-light-dependent-resistor-for-arduino-compoden\"\u003eLDR\u003c\/a\u003e x2\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\"\u003e10kΩ Resistors\u003c\/a\u003e x10\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 Home Automation MQTT Hub Kit with ESP32 + DHT22?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"The Home Automation MQTT Hub Kit with ESP32 + DHT22 includes all components needed: ESP32 Dev Board, DHT22, LDR, 4-ch Relay Module, 0.96in OLED 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 Home Automation MQTT 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 and publishes to MQTT broker controlling four relay channels and reporting four sensor readings. Estimated build time is 4-5 hrs.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Can I buy the Home Automation MQTT Hub Kit with ESP32 + DHT22 online in India?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Yes, the Home Automation MQTT 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\": \"Home Automation MQTT Hub Kit with ESP32 + DHT22\",\n  \"description\": \"ESP32 subscribes and publishes to MQTT broker controlling four relay channels and reporting four sensor readings.\",\n  \"sku\": \"CDN-KIT-0545\",\n  \"brand\": {\"@type\": \"Brand\", \"name\": \"Compoden\"},\n  \"offers\": {\n    \"@type\": \"Offer\",\n    \"url\": \"https:\/\/compoden.in\/products\/kit-home-automation-mqtt-hub\",\n    \"priceCurrency\": \"INR\",\n    \"price\": \"2240\",\n    \"availability\": \"https:\/\/schema.org\/InStock\",\n    \"seller\": {\"@type\": \"Organization\", \"name\": \"Compoden\"}\n  },\n  \"category\": \"IoT \u0026 Connectivity\"\n}\n\u003c\/script\u003e","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53455712289133,"sku":"CDN-KIT-0545","price":2670.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/kit-home-automation-mqtt-hub.png?v=1781944534","url":"https:\/\/compoden.com\/products\/kit-home-automation-mqtt-hub","provider":"Compoden","version":"1.0","type":"link"}