[SOLVED] IR devices control

Just a small bit of an update. I finally found a cheap solution to my problems that works better than LIRC on raspberry pi…

YTF IR bridge (or Eachen IR bridge/Tuya IR bridge). They are basically cheap (around 10$ on ebay) ir-wifi bridges using ESP Wifi modules. And they are supported by the Tasmota firmware. So just install sonoff tasmota FW onto them and use MQTT to connect them. They support sending and receiving IR and everything. Really awesome solution.

sounds cool but can you teach them stuff?
the advantge of somthing like Broadlink is that you can teach it every command

Whenever the receiver detects something it spews out the decoded data (or raw data for unknown protocols - though the majority should be supported). All you need to do is tell it to send that data and it will do just that. So the short answer is yes. Unless that’s not what you meant.

1 Like

Well, I am looking currently to use ESP IR blaster. Has anyone used this approach here ?

Basically trying to send commands through MQTT and control IR based gadgets. Planning to put the ESP on a microUSB based card (maybe use nodemcu) and power it through USB.

Since it is running on ESP8266 you could always install Sonoff Tasmota Firmware on it and run that.
Although the above mentioned Eachen/YTF IR bridges run on ESP8266 and come in a nice package. And they are cheaper than that IR blaster. So they would probably be a better choice.

Roli, Thanks for pointing it out. Actually I did run through that earlier, Maybe it already exists only trying to see if there exists some device in a different form factor including a 2.5 mm audio jack. where I can power it through a USB jack and extend the IR emitter where it is required.

Capture

My guess is that you want to stick this into a cabinet or something?
If not - from my experience these blasters are really quite 360° and you won’t have much trouble placing them anywhere really. As long as you have USB for power. If you want to place one inside a cabinet… you could just buy 2 and stick one in the cabinet and the other somewhere else in the room and have them listen to the same MQTT topic (as long as two of them don’t “see” each other). Or if you want more hands on… Desolder the IR LED, and run a wire from there.

Being new to this, I can understand the .items, but what about the .things? Could you include all the necessary script to get your Humax PVR working as you have shown above?

1 Like

Well, this might be the easiest ever then.

There isn’t a .things file.

And to my knowledge, I didn’t need to do anything with the udp.cfg or tcp.cfg file.

And there aren’t any scripts as such for the Humax codes.

All I did was add a button widget to HabPanel, point it to the outgoing UDP Item.

And copy the required HEX code into the button payload / “command value”

As shown here :-

This might be of interest…

For anyone that’s interested or needs to convert IR codes check out this link. http://irdb.tk/