book collections email follower instructable user

Control Your TV Via Google Home or Alexa Via Openhab and MQTT, ESP8266, Web Interface

Picture of Control Your TV Via Google Home or Alexa Via Openhab and MQTT, ESP8266, Web Interface

My Google Home Mini can stream Youtube etc on my TV, but was not able to switch on my TV. I solved this by this small device which receives commands via MQTT and sends IR signals to my TV.

The principle scheme is shown in the picture.

I attached a 18B20 temperature sensor for my home automation, it is not mandatory.

Step 1: Hardware

In this section I decribe the hardware. The module is powered by a 5V phone charger.

Components:

- ESP8266 (I used ESP-01 for its small size)

- IR LED

- Resistors (1K and 10K, 4.7K for the 18B20)

- Transistor to control the IR led (I used 2N2222)

- Voltage regulator (5V to 3.3V, I used XC6206)

- Capacitors for the voltage regulator (0.1 and 10 UF)

The electric scheme is attached. I made a compact module to fit in a small box.

The 18B20 was finally sealed in a heat shrink tube

Chris3DOne6 months ago
This is a great project! I had to use a RM mini black bean to achieve the same result.
Wim3d (author)  Chris3DOne6 months ago
Thanks
BAC66 months ago
Use RM mini3 and you can control multi devices using IR
PercyF BAC66 months ago
Sure... But why buy, if you can build it?
Wim3d (author)  PercyF6 months ago
I agree!
Wim3d (author)  BAC66 months ago
Thanks for your comment. A RM mini 3 seems like a great product, but I like to make things myself.
With my device you can also control multiple devices if you program it with the right codes.
Nunofos6 months ago
Too much work, you could just buy a Chromecast and job done.