CIRCUITKAR
ProductsBlogToolsAboutContact
CIRCUITKAR

Components for Builders.

IG

Explore

  • Products
  • Blog
  • Tools & Calculators
  • About
  • Contact
  • Track Order

Payments

Secured by Razorpay

UPI, Cards, Net Banking & Wallets supported at launch.

© 2025 Circuitkar. GST Registered. Silvassa, India.

All articles
home-automationsmart-homeesp32relayesphometasmotaiot

Smart Home Automation Components Guide

Circuitkar Team · 7 May 2026

Smart Home Automation Components Guide

Building a smart home with off-the-shelf components is genuinely achievable in India for ₹3,000–8,000 per room depending on how many switches you want to automate. This guide covers the full stack — every component category, what to buy, and how they fit together.

The Brain: Microcontroller

ESP32 DevKit V1 is the right choice for most home automation projects. It has enough GPIO for a 4–8 relay setup, built-in WiFi for network integration, Bluetooth for local control when the router is down, and strong support in both ESPHome and Tasmota firmware. Price: ₹280–350.

For a simpler, cheaper 4-relay room controller, the NodeMCU (ESP8266) at ₹180–220 also works well — it lacks BLE but covers the standard WiFi + relay use case.

Do not use Arduino UNO for WiFi home automation — you will need to add a separate ESP8266 WiFi module and deal with serial communication between them. Use a native WiFi board instead.

Relay Modules: The Switching Layer

Every light, fan, or appliance you want to control needs one relay channel. Common configurations:

  • 4-channel relay board: Controls 4 loads per room. Most popular choice. ₹120–180.
  • 8-channel relay board: Enough for a large room or multiple appliances. ₹200–280. Needs a dedicated 5V supply (not from the ESP32).
  • 16-channel relay board: For whole-flat control from one ESP32. Needs external 5V/2A supply.

Use optocoupler-isolated relay boards for mains switching — they provide electrical isolation between the 3.3V control side and the 230V load side. SRD-05VDC-SL-C relays (found on most blue boards) are rated 10A/250VAC — suitable for lights and fans but derate for motor loads.

Sensors to Add

Temperature and humidity: DHT22 (₹130–180) per room, or a single BME280 if you also want atmospheric pressure data. Wire to ESP32 GPIO with a 10 kΩ pull-up resistor on the data line.

Motion detection: HC-SR501 PIR sensor (₹40–70) for automatic lights. Adjust the time-delay potentiometer to suit your use case (typically 30 seconds for hallways, 5 minutes for rooms).

Door/window sensors: Simple magnetic reed switches (₹20–40 each) on doors trigger automations like "turn on hallway light when door opens."

Light sensor: LDR (₹5–10) + 10 kΩ resistor as a voltage divider on an ADC pin for automatic brightness-based light control.

Display (Optional)

A 0.96" OLED display (I2C, SSD1306, 128×64 px) shows room temperature, humidity, and appliance states locally. Price: ₹80–120. Uses only GPIO 21 (SDA) and GPIO 22 (SCL) on ESP32. Add u8g2 or Adafruit SSD1306 library.

For wall-mounted panels, a 2.4" TFT touchscreen (ILI9341, SPI) gives a more polished look. Price: ₹250–400.

Power Supply

The most overlooked part of home automation builds. Do not run your relay board and ESP32 from USB power banks — they cut off power when current drops below their threshold during deep sleep.

HLK-PM01: Mains to 5V/600 mA SMPS module. Fits inside standard electrical switchboards. Price: ₹180–250. Powers one ESP32 + 4-channel relay board comfortably.

HLK-PM03: 5V/3W version. Price: ₹220–300. Enough for ESP32 + small relay board.

For an 8-relay board, use a dedicated 5V/2A SMPS adapter and tap the 3.3V from the ESP32's onboard LDO.

Firmware Options

ESPHome: YAML-based configuration, tight Home Assistant integration, no custom code needed for standard setups. The best choice if you use Home Assistant. Handles WiFi reconnect, OTA updates, and MQTT automatically.

Tasmota: Web UI, MQTT support, works with Alexa and Google Home via third-party bridges. Good if you want a self-contained solution without Home Assistant.

Custom Arduino/ESP-IDF firmware: Maximum control, most complex to maintain. Worth it if you need logic that ESPHome/Tasmota cannot express.

Physical Integration

Indian electrical switchboards (modular type) have cavity behind switches of ~50–80 mm depth. An ESP32 + 4-channel relay board + HLK-PM01 can fit in most standard 4-module boxes. Use DIN rail mount relay modules for cleaner installations in dedicated electrical panels.

Always have a licensed electrician handle the 230V mains wiring. The low-voltage ESP32 side you can handle yourself.

Browse relay modules and ESP32 boards at Circuitkar — all genuine components with pan-India shipping.

Share: X LinkedIn

Related Articles

ESP32 for Small Factory Automation: A Practical Starter Guide

How small Indian manufacturers are using ESP32 for basic factory monitoring and control — real use cases, limitations, and what it costs to get started.

Relay Modules for Industrial Control: What to Know Before Buying

Contact ratings, isolation requirements, DIN rail options, SSR vs mechanical for industrial use — the buying guide for professionals.

Home Automation Bill of Materials: Complete Component List with Prices

Full BOM for a 3-room smart home — every component, quantity, price range, and total cost estimate for a DIY home automation installation.