{"product_id":"kit-self-learning-thermostat","title":"Self-Learning Thermostat Kit with ESP32 + DHT22","description":"\u003ch1\u003eSelf-Learning Thermostat Kit with ESP32 \u0026amp; DHT22 — Your Boiler Learns When You’re Home\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 Advanced\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eBuild Time:\u003c\/strong\u003e 12-15 hrs\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eAge:\u003c\/strong\u003e 25+\u003c\/span\u003e\n  \u003cspan\u003e\u003cstrong\u003eSkill:\u003c\/strong\u003e Predictive IoT \u0026amp; Home Automation\u003c\/span\u003e\n\u003c\/div\u003e\n\n\u003cp\u003eCold mornings and empty rooms shouldn’t trigger your boiler. This kit lets an ESP32 observe your household’s comings and goings over a week, then automatically fire the boiler only when and where warmth is needed — delivering comfort and genuine energy savings. Ideal for hill-station homes, farmhouses, or city apartments where heating schedules are unpredictable.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You’ll Build\u003c\/h2\u003e\n\u003cp\u003eA standalone dual-zone thermostat that uses two DHT22 temperature\/humidity sensors and two PIR motion sensors to track room occupancy. The ESP32 logs every movement and temperature reading to a microSD card with precise DS3231 RTC timestamps. After a learning period, the kit generates a weekly heating schedule on-device and drives a 4-channel relay to control your boiler — all live-monitored on a 0.96-inch OLED display. No cloud, no monthly fees.\u003c\/p\u003e\n\n\u003ch2\u003eWhat You’ll Learn\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eImplementing occupancy pattern detection with PIR sensors and storing time-series data using a DS3231 RTC and microSD module\u003c\/li\u003e\n  \u003cli\u003eBuilding a predictive heating schedule on ESP32 using simple on-edge algorithms — no internet or cloud required\u003c\/li\u003e\n  \u003cli\u003eInterfacing multiple I2C (OLED, RTC, microSD) and one-wire (DHT22) devices without bus conflicts\u003c\/li\u003e\n  \u003cli\u003eDesigning a safe, relay-driven boiler control circuit with an LM2596 buck converter for reliable 3.3V\/5V power from a 12V adapter\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\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDHT22\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eHC-SR501 PIR\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e4-ch Relay Module\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDS3231 RTC\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eMicroSD Module\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e0.96in OLED\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eLM2596 Buck Converter\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e100nF Caps\u003c\/td\u003e\n\u003ctd\u003e10\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e4.7kΩ Resistors\u003c\/td\u003e\n\u003ctd\u003e5\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePCB Prototype Board\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eEnclosure Box\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e12V Adapter\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSoldering Iron\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSolder Wire\u003c\/td\u003e\n\u003ctd\u003e1\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\u003eAdvanced makers and engineering graduates tackling real home automation challenges. B.Tech ECE\/EEE final-year students building capstone IoT projects, Smart India Hackathon teams focused on energy efficiency, and professionals designing custom heating controllers for holiday homes in Shimla, Ladakh, or Coorg. If you’re comfortable soldering and reading schematics, this kit gives you a production‑grade learning thermostat without reinventing the wheel.\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 to chat with the AI companion trained on this kit; it understands every connection and code line. For more complex issues, we reply on WhatsApp within hours.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan this thermostat control a 230V AC boiler safely?\u003c\/summary\u003e\u003cp\u003eYes, the included 4-channel relay module is rated for 250V AC up to 10A, matching most domestic boiler circuits. The power-side uses a 12V adapter and buck converter for isolation — always have a licensed electrician check your final wiring.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eDoes the learning algorithm need internet access?\u003c\/summary\u003e\u003cp\u003eNo. The ESP32 runs a lightweight pattern-detection routine on-device using PIR events and RTC timestamps stored on the microSD card. It builds and refines a weekly schedule offline, so your data never leaves the house.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eI’m new to soldering — is this kit still for me?\u003c\/summary\u003e\u003cp\u003eThis is an advanced project; you’ll be soldering headers, sensors, and relay terminals. The included 25W iron and solder are enough for the entire board, and the AI companion provides clear joint-by-joint images. If you’ve never soldered before, consider pairing this with our Beginner Soldering Kit first.\u003c\/p\u003e\u003c\/details\u003e\n\n\u003cdiv class=\"kit-description\"\u003e\n  \u003cp\u003eRecords occupancy patterns over a week and learns a heating schedule. Controls boiler relay based on prediction + DHT22.\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\n\u003ca href=\"\/products\/dht22-temperature-humidity-sensor-module-accurate-readings\"\u003eDHT22\u003c\/a\u003e x2\u003c\/li\u003e\n    \u003cli\u003e\n\u003ca href=\"\/products\/hc-sr501-pir-motion-sensor-ir-module-combo-for-arduino\"\u003eHC-SR501 PIR\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\/ds3231-real-time-clock-module-i2c-rtc-with-battery-backup\"\u003eDS3231 RTC\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/microsd-card-reader-spi-module-for-arduino\"\u003eMicroSD 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\u003ca href=\"\/products\/lm2596-buck-converter-step-down-voltage-regulator-module\"\u003eLM2596 Buck Converter\u003c\/a\u003e\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 x10\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\/esp-wroom-32-breakout-board-pcb-55x52mm\"\u003ePCB Prototype Board\u003c\/a\u003e x2\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/enclosure-box-for-diy-electronics-projects-compoden\"\u003eEnclosure Box\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/12v-2a-dc-adapter-reliable-power-supply-for-projects\"\u003e12V Adapter\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/soldering-kit-25w-with-solder-wire-flux-paste-compoden\"\u003eSoldering Iron\u003c\/a\u003e\u003c\/li\u003e\n    \u003cli\u003e\u003ca href=\"\/products\/soldering-kit-25w-with-solder-wire-flux-paste-compoden\"\u003eSolder Wire\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 Self-Learning Thermostat Kit with ESP32 + DHT22?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"The Self-Learning Thermostat Kit with ESP32 + DHT22 includes all components needed: ESP32 Dev Board, DHT22, HC-SR501 PIR, 4-ch Relay Module, DS3231 RTC 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 Self-Learning Thermostat Kit with ESP32 + DHT22?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"This kit is designed for Expert level makers, suitable for ages 25+. Records occupancy patterns over a week and learns a heating schedule. Controls boiler relay based on prediction + DHT22. Estimated build time is 12-15 hrs.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Can I buy the Self-Learning Thermostat Kit with ESP32 + DHT22 online in India?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Yes, the Self-Learning Thermostat 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\": \"Self-Learning Thermostat Kit with ESP32 + DHT22\",\n  \"description\": \"Records occupancy patterns over a week and learns a heating schedule. Controls boiler relay based on prediction + DHT22.\",\n  \"sku\": \"CDN-KIT-0235\",\n  \"brand\": {\"@type\": \"Brand\", \"name\": \"Compoden\"},\n  \"offers\": {\n    \"@type\": \"Offer\",\n    \"url\": \"https:\/\/compoden.in\/products\/kit-self-learning-thermostat\",\n    \"priceCurrency\": \"INR\",\n    \"price\": \"5950\",\n    \"availability\": \"https:\/\/schema.org\/InStock\",\n    \"seller\": {\"@type\": \"Organization\", \"name\": \"Compoden\"}\n  },\n  \"category\": \"Home Automation\"\n}\n\u003c\/script\u003e\u003cp\u003e\u003cstrong\u003eChoose your assembly option:\u003c\/strong\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eSoldering Kit\u003c\/strong\u003e — 25W soldering iron, 60\/40 solder wire, flux, and small perfboard for permanent assembly.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBreadboard Combo\u003c\/strong\u003e — 800-point full-size breadboard with 65-piece jumper wire pack for solderless prototyping.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Compoden","offers":[{"title":"Soldering Kit","offer_id":53459775062381,"sku":"CDN-KIT-0235-SLD","price":5460.0,"currency_code":"INR","in_stock":true},{"title":"Breadboard Combo","offer_id":53459775095149,"sku":"CDN-KIT-0235-BB","price":4860.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/kit-self-learning-thermostat.png?v=1781944325","url":"https:\/\/compoden.com\/products\/kit-self-learning-thermostat","provider":"Compoden","version":"1.0","type":"link"}