Zbotic Logo Zbotic Logo
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

  • Shop
  • About Us
  • Contact Us
  • Reseller
  • Blogs
020 69134444
1800 209 0998
[email protected]
Help Desk
Facebook Twitter Instagram Linkedin YouTube
Zbotic Logo Zbotic Logo
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

All departments
  • 3D Print Service
  • 3D Printer
  • Batteries & Chargers
  • Development Boards
  • Drone Parts
  • EBike parts
  • Sensor Modules
  • Electronic Components
  • Electronic Modules
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • DIY and Robot Kits
  • Show more
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
Return to previous page
Home Home Automation & Smart Devices

IR to WiFi Bridge: Use Old IR Remotes with Google Home

IR to WiFi Bridge: Use Old IR Remotes with Google Home

March 11, 2026 /Posted byJayesh Jain / 0

An IR to WiFi bridge lets you use any old infrared remote control with Google Home, Alexa, or Home Assistant — transforming your existing TV, AC, DVD player, and set-top box remotes into smart home devices without replacing a single appliance. This project is ideal for Indian homes where replacing working electronics purely for smart home compatibility feels wasteful and expensive. With a simple ESP8266 build, you can retain every IR remote you own while adding voice and app control.

Table of Contents

  • How an IR to WiFi Bridge Works
  • Components Required
  • Circuit Design
  • Learning IR Codes from Your Remotes
  • Firmware Options: Tasmota vs ESPHome
  • Integrating with Google Home
  • Indian Home Use Cases
  • Frequently Asked Questions

How an IR to WiFi Bridge Works

An IR to WiFi bridge has two main functions:

  1. Learning mode: Captures IR codes from your existing remotes using an IR receiver (TSOP sensor)
  2. Transmit mode: Replays those codes using IR LEDs when triggered via WiFi (MQTT, HTTP API, or voice command)

The ESP8266 or ESP32 acts as the bridge between the WiFi world (Google Home, Home Assistant, phone app) and the IR world (TV, AC, DTH box, projector). You point your existing remote at the bridge once to “teach” it the code, then never need the remote again.

Components Required

  • NodeMCU ESP8266 or Wemos D1 Mini
  • TSOP38238 or VS1838B IR receiver (38kHz, for learning)
  • 2-3x high-power IR LEDs (5mm, 940nm, 100mA)
  • 2N2222 or BC337 NPN transistor
  • 47 ohm resistor (per IR LED)
  • 10k ohm pull-up resistor (for TSOP)
  • 5V USB power supply
  • Project box or 3D printed case
Recommended: HX1838 VS1838 IR Remote Control Sensor Module — This ready-made IR receiver module eliminates the need for resistors and wiring the TSOP sensor manually. Compatible with all Indian remote protocols including NEC (most Videocon, Onida, LG sets) and proprietary AC codes.

Circuit Design

NodeMCU / Wemos D1 Mini:

IR Receiver (TSOP38238):
D4 (GPIO2) -> OUT pin of TSOP
3.3V       -> VCC
GND        -> GND

IR Transmitter (3 LEDs in parallel):
D5 (GPIO14) -> Base of 2N2222 via 1kohm
Collector of 2N2222 -> LED cathodes
LED anodes -> 5V via 47ohm each
Emitter of 2N2222 -> GND

For wide-angle coverage:
- LED 1: Forward (toward TV)
- LED 2: 45 degrees left (for AC on side wall)
- LED 3: 45 degrees right (for set-top box)
This setup covers a typical Indian living room from one location.

Learning IR Codes from Your Remotes

The IRremoteESP8266 library makes learning and replaying codes straightforward. Use this sketch to capture codes:

#include <IRrecv.h>
#include <IRutils.h>

#define RECV_PIN D4
IRrecv irrecv(RECV_PIN);
decode_results results;

void setup() {
  Serial.begin(115200);
  irrecv.enableIRIn();
  Serial.println("Point remote at receiver and press buttons");
}

void loop() {
  if (irrecv.decode(&results)) {
    Serial.println("Protocol: " + typeToString(results.decode_type));
    Serial.println("Code: " + uint64ToString(results.value, HEX));
    Serial.println("Bits: " + String(results.bits));
    printIRResultAsCArray(&results, &Serial);
    Serial.println();
    irrecv.resume();
  }
}

For common Indian devices:

  • DTH boxes (Tata Sky, Dish TV): Usually NEC or NECx protocol
  • Indian TV brands (Onida, BPL, Videocon old models): NEC protocol
  • LG, Samsung TVs: LG2 and Samsung protocols respectively
  • Voltas, Blue Star ACs: Proprietary raw codes
  • CD/DVD players (older Sony, Philips): SONY or RC5 protocols

Firmware Options: Tasmota vs ESPHome

Tasmota IR Bridge (Easiest Option)

Tasmota has built-in IR gateway support. Flash Tasmota IR firmware (tasmota-ir.bin) and configure:

  1. Flash Tasmota IR to your ESP8266
  2. Connect receiver to GPIO D4, transmitter to GPIO D5
  3. In Tasmota console: IRSend {"Protocol":"NEC","Bits":32,"Data":"0x20DF10EF"}
  4. Home Assistant auto-discovers via MQTT and creates IR send service
# Home Assistant service call to send IR
service: mqtt.publish
data:
  topic: "cmnd/ir-bridge/IRSend"
  payload: >{"Protocol":"NEC","Bits":32,"Data":"0x20DF10EF"}

ESPHome IR Transmitter

remote_transmitter:
  pin: GPIO14
  carrier_duty_percent: 50%

remote_receiver:
  pin: GPIO4
  dump: all

button:
  - platform: template
    name: "TV Power"
    on_press:
      - remote_transmitter.transmit_nec:
          address: 0x20DF
          command: 0x10EF
Recommended: Uno WiFi R3 with NodeMCU ESP8266 — A larger alternative to Wemos D1 Mini for your IR bridge project. The extra GPIO pins allow connecting multiple IR receivers pointing in different directions simultaneously for advanced multi-zone capture.

Integrating with Google Home

Connect your IR bridge to Google Home through Home Assistant:

Step 1: Create Script Entities in Home Assistant

# scripts.yaml
tv_power_toggle:
  alias: "TV Power Toggle"
  sequence:
    - service: mqtt.publish
      data:
        topic: "cmnd/ir-bridge/IRSend"
        payload: >
          {"Protocol":"LG2","Bits":28,"Data":"0x20DF10EF"}

tv_volume_up:
  alias: "TV Volume Up"
  sequence:
    - service: mqtt.publish
      data:
        topic: "cmnd/ir-bridge/IRSend"
        payload: >
          {"Protocol":"LG2","Bits":28,"Data":"0x20DF40BF"}

Step 2: Expose to Google Home

In Home Assistant: Settings -> Integrations -> Google Home (via Nabu Casa or local cloud). Expose the TV scripts as scenes or switches. Then in Google Home app, you can say “Hey Google, turn on TV” to trigger the IR power sequence.

Step 3: Create Google Home Routines

Create a “Movie Time” routine that:

  1. Turns on TV (IR command)
  2. Switches to HDMI 2 (IR command after 3 second delay)
  3. Dims lights to 30% (via smart switch)
  4. Sets AC to 24C (via IR AC blaster)

Indian Home Use Cases

Tata Sky/Dish TV Control

Control your DTH set-top box from your phone when you’re in the kitchen. Change channels, mute advertisements, and adjust volume — all via the Home Assistant companion app without needing the actual remote.

Old DVD/CD Player Automation

Many Indian homes have working Philips, Sony, or LG disc players that are used occasionally. Put them on a smart plug + IR bridge combo. One voice command starts playback of a previously inserted disc.

Projector Control

Business presentations and home theatre projectors typically use IR remotes. A ceiling-mounted IR bridge pointing at the projector allows app or voice control for power, source switching, and volume.

Multiple AC Control from One Room

In large Indian homes with multiple AC units, a single centrally-placed IR bridge with multiple directional LEDs can control all ACs in adjacent rooms — reducing the need for multiple IR blasters.

Recommended: Mega WiFi R3 with NodeMCU ESP8266 — For advanced IR bridge setups with multiple receivers in different rooms and a central transmitter array, the Mega provides ample memory for storing dozens of device IR code libraries.
Recommended: ESP32 LoRa with OLED Display — The ESP32 variant of this project allows simultaneous IR and BLE control, and the OLED display shows current device status – ideal for a living room IR bridge panel that shows what mode each appliance is in.

Frequently Asked Questions

Can the IR bridge control all my Indian appliances?

Any device with an IR remote can be controlled. This covers virtually all Indian TVs, ACs, DTH boxes, DVD players, projectors, audio systems, ceiling fans with IR receivers, and home theatre systems. The only exception is appliances using RF remotes (some ceiling fans, electric blinds) which require an RF bridge instead of IR.

How far do IR signals carry from the bridge?

A single high-power IR LED covers 8-10 metres. Using 3 LEDs in different angles covers a typical Indian living room (20-30 sqft) reliably. For very large halls, mount two bridges — one at each end of the room.

What happens to my original remote controls?

They continue to work normally alongside the IR bridge. The bridge does not interfere with original remotes. You can use either the bridge or the physical remote at any time — both send the same IR signals.

Do I need to re-learn codes when I change my TV or AC?

Yes, when you replace an appliance, you need to re-learn the new remote’s codes. The process takes 5-10 minutes per device. Keep a note of learned codes in a spreadsheet for easy reference during future updates.

Is this compatible with the Mi Remote app codes?

Many IR code databases, including Xiaomi’s Mi Remote app and the IRDB (IR Database) project, share codes compatible with the IRremoteESP8266 library. You can often import codes from these databases instead of physically capturing them from your remote.

Shop Home Automation at Zbotic –

Tags: ESPHome, Google Home, home automation India, IR remote, IR WiFi bridge, Tasmota
Share Post
  • Facebook
  • Linkedin
  • Whatsapp
STM32 USB CDC Virtual COM Port...
blog stm32 usb cdc virtual com port pc communication tutorial 598354
blog esp32 camera stream with ai detection on web browser 598362
ESP32 Camera Stream with AI De...

Related posts

Svg%3E
Read more

MQTT for Home Automation: ESP32 + Mosquitto + Home Assistant

April 1, 2026 0
MQTT is the backbone protocol of professional home automation systems. If you are building a smart home with multiple ESP32... Continue reading
Svg%3E
Read more

Curtain and Blind Automation: Stepper Motor Controller

April 1, 2026 0
Curtain automation is one of the most satisfying smart home upgrades you can build. Imagine your curtains opening automatically at... Continue reading
Svg%3E
Read more

Smart Doorbell with Camera: ESP32-CAM Video Intercom

April 1, 2026 0
A smart doorbell with a camera lets you see who is at your door from your phone, even when you... Continue reading
Svg%3E
Read more

Blynk IoT Platform: Control Arduino and ESP32 from Mobile

April 1, 2026 0
The Blynk IoT platform is the fastest way to control your Arduino and ESP32 projects from your mobile phone. Instead... Continue reading
Svg%3E
Read more

PIR Sensor Automatic Light: Save Electricity with Motion Detection

April 1, 2026 0
PIR sensor automatic lights are the simplest and most effective way to save electricity in Indian homes. By automatically turning... Continue reading

Add comment Cancel reply

Your email address will not be published. Required fields are marked

Facebook Twitter Instagram Pinterest Linkedin Youtube

Get the latest deals and more.

Download on Google Play Download on the App Store

Call us: 020 69134444 / 1800 209 0998

Monday - Saturday 09:30 AM - 06:00 PM
For Technical Supports Email: [email protected]
For Sales / Enquiries Email: [email protected]

  • My Account

    • Cart

    • Wishlist

    • Checkout

    • My Orders

    • Track Order

    • My Account

  • Information

    • FAQs

    • Blogs

    • Career

    • About Us

    • Contact Us

    • Payment Options

  • Policies

    • Privacy Policy

    • Terms & Conditions

    • GST Input Tax Credit

    • Shipping Return Policy

    • E-Waste Collection Points

    • Our Sitemap

© Zbotic.in is registered trademark of Moxie Supply Pvt Ltd – All Rights Reserved
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now