Back
Home Automationhome automationsmart switchesp32esphometasmotaindia

Making Your Existing Switches Smart, Safely

By Arun Sai Prakash S P · 15 October 2026 · 3 min read

Contents7 sections

You do not need to replace every switchboard to get a smart home. A small module fitted behind your existing switch can control the light from your phone, a schedule or a voice assistant, while the wall switch keeps working as normal. Here is how retrofitting works in Indian homes, and what to check first.

How a retrofit module works

A small relay module, usually built around an ESP32 or ESP8266 Wi-Fi chip, sits in the switchbox behind the switch plate.

  • The relay switches the light or fan.
  • Your existing wall switch is rewired as an input to the module, so pressing it still toggles the light.
  • The module connects over Wi-Fi to an app, Home Assistant or a voice assistant.

The result looks exactly like before from the outside.

Check 1: Is there a neutral wire?

Most relay modules need a neutral wire to power themselves. Many older Indian homes only bring the phase (live) wire down to the switchboard, with the neutral going straight to the light.

  • Open the switchboard (with the power off) and look for a neutral wire, usually black or blue, often bunched together behind the plate.
  • If there is no neutral, you need a no-neutral module designed for that, or an electrician to run a neutral to the box.

Check 2: Is there room in the box?

Modular switchboxes are often packed full. Measure the free space behind the plate before buying. A spare module slot, or a deeper box, makes fitting much easier and keeps the wiring cooler.

Check 3: Is the module rated for the load?

  • Check the module's current rating against the load, and leave a good margin.
  • Fans need modules made for inductive loads. Fan speed control needs a dedicated fan controller, not a simple relay.
  • Geysers, ACs and motors draw high current. Use a contactor or a module specifically rated for them.

Choosing firmware: ESPHome or Tasmota

Many modules come with a manufacturer's cloud app. If you want devices that keep working without the internet and are not tied to one company's servers, open firmware is a good option:

  • ESPHome is configured with simple text files and integrates tightly with Home Assistant.
  • Tasmota has a built-in web page for setup and works with many systems over MQTT.

Both run locally on your home network, so lights still work when the internet is down.

Safety rules for a reliable install

  • Use modules in a flame-retardant enclosure, never bare boards in a switchbox.
  • Keep every mains connection fully insulated, with proper connectors.
  • Do not overload a single module with several heavy loads.
  • Keep Wi-Fi strong where modules are fitted. A weak signal is the most common reason a smart switch "stops responding".

What a full system looks like

Retrofitting a few switches is a good start. A complete home automation system adds scenes ("good night" switches everything off), schedules, door and motion sensors, and automations based on time or presence, all managed from one place.

Our home automation service designs and installs systems tailored to your home: lighting, security, climate and more, built on hardware we test ourselves.

Continue Reading