{"product_id":"kit-mqtt-smart-home-hub","title":"MQTT Smart Home Hub Kit with ESP32 + Relay","description":"\u003ch1\u003eBuild an MQTT Smart Home Hub with ESP32 \u0026amp; 4-Channel Relay — Control Lights, Fan, AC \u0026amp; Locks from Any App\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 IoT and MQTT protocols\u003c\/span\u003e\n\u003c\/div\u003e\n\n\u003cp\u003eImagine 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.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You'll Build\u003c\/h2\u003e\n\u003cp\u003eYou’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.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You'll Learn\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eProgram ESP32 in Arduino IDE to publish and subscribe MQTT topics for real-time appliance control.\u003c\/li\u003e\n  \u003cli\u003eWire a 4-channel relay module safely to AC loads using 1N4007 flyback diodes and build a noise-free power circuit.\u003c\/li\u003e\n  \u003cli\u003eRead DHT22 sensor data over OneWire and display it on an OLED via I2C protocol.\u003c\/li\u003e\n  \u003cli\u003eSet up a local or cloud MQTT broker, structure topic hierarchies, and debug with serial monitor.\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\u003e4-ch Relay Module\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\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\u003ex20\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\u003eDesigned for CBSE Class 11–12 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.\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\u003eScan 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.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan I control appliances from outside my home WiFi network?\u003c\/summary\u003e\u003cp\u003eYes, 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.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eWhich MQTT broker should I use with this kit?\u003c\/summary\u003e\u003cp\u003eWe recommend Mosquitto 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.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eIs this kit compatible with Alexa or Google Home?\u003c\/summary\u003e\u003cp\u003eWhile this kit directly uses MQTT, you can bridge it to voice assistants using Home Assistant or Node-RED. The AI companion provides optional integration guides for popular platforms.\u003c\/p\u003e\u003c\/details\u003e\n\n\u003cdiv class=\"kit-description\"\u003e\n  \u003cp\u003eESP32 MQTT controls lights, fan, AC relay and lock from any MQTT client app.\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\/4-channel-relay-opto-isolated-input-board-compoden\"\u003e4-ch Relay Module\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\/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 x20\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 MQTT Smart Home Hub Kit with ESP32 + Relay?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"The MQTT Smart Home Hub Kit with ESP32 + Relay includes all components needed: ESP32 Dev Board, 4-ch Relay Module, DHT22, 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 MQTT Smart Home Hub Kit with ESP32 + Relay?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"This kit is designed for Intermediate level makers, suitable for ages 15-18. ESP32 MQTT controls lights, fan, AC relay and lock from any MQTT client app. Estimated build time is 4-5 hrs.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Can I buy the MQTT Smart Home Hub Kit with ESP32 + Relay online in India?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Yes, the MQTT Smart Home Hub Kit with ESP32 + Relay 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\": \"MQTT Smart Home Hub Kit with ESP32 + Relay\",\n  \"description\": \"ESP32 MQTT controls lights, fan, AC relay and lock from any MQTT client app.\",\n  \"sku\": \"CDN-KIT-1641\",\n  \"brand\": {\"@type\": \"Brand\", \"name\": \"Compoden\"},\n  \"offers\": {\n    \"@type\": \"Offer\",\n    \"url\": \"https:\/\/compoden.in\/products\/kit-mqtt-smart-home-hub\",\n    \"priceCurrency\": \"INR\",\n    \"price\": \"2225\",\n    \"availability\": \"https:\/\/schema.org\/InStock\",\n    \"seller\": {\"@type\": \"Organization\", \"name\": \"Compoden\"}\n  },\n  \"category\": \"Smart Home \u0026 Living\"\n}\n\u003c\/script\u003e","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53469251305837,"sku":"CDN-KIT-1641","price":2560.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/kit-mqtt-smart-home-hub.png?v=1781946995","url":"https:\/\/compoden.com\/products\/kit-mqtt-smart-home-hub","provider":"Compoden","version":"1.0","type":"link"}