Recently I bought this infrared to Wi-Fi gateway on a chinese website:
The “manual” told me to install Smart Life to configure the gateway, so I did. The process ran well and I managed to control my TV and a random LED strip from the app. Perfect.
Then I wanted to add it to HASS…and, well, I’m unable to find any documentation here about that gateway. I though it would act like a random broadlink rm clone so I tried to add a remote and a switch but HASS was unable to connect to the device.
I opened the device and found the “nas-ir03w0” text on the mainboard. But I can’t find anything about it being used from HASS.
If it’s using SmartLife you should be able to add the Tuya integration and use it with your SmartLife account. The only problem is in my experience it shows switches and lights but not necessarily all other devices. But if you add the integration then go into Developer Tools / States you will see it in the list there if the integration is exposing it. FYI Tuya and Smartlife are kind of the same, so the Tuya integration lets you use a SmartLife account too.
That’d be an awesome alternative. I already loaded Tasmota on Tuya smart plugs and it runs very well since then. My mail goal was to get cloud-free. Every smart device I own except Alexa/Google Home (and HASS obviously) can’t discuss WAN for security reasons.
Now, the main question is: how can I reach that? I’ve got some knowledge with Arduino, serial ports and so on, thanks to 3D printing mainboards.
The first step is to determine the pins used on the ESP8266 for IR receiving and IR emitting. By begining from the IR receiver or the IR emitter and following the tracks and components until the ESP.
Once at the ESP compare with the ESP datasheet to determine which pins are connected.
The second step if to see how we can transmit a custom firmware, so as to do this you will need access to the ESP TX, RX and Ground pin, following the picture it seems that there is a direct access available.
The third step is to set the FTDI voltage to 3.3V and connect an FTDI to the GND, RX, and TX (TX ESP with RX FTDI, RX ESP with TX FTDI, GND ESP to GND FTDI)
Connect the FTDI to your USB port and the device to its power while maintaining the reset button of the device (supposing it has) .
From this you should be able to flash a custom firmware.
so it can be used as a receiver, yes? iv’e been looking for something for the unused buttons on my tv remote. as my neanderthal wife refuses to use the HA app .
SOOOOO… I finally got time to spend on this. I had tried some weeks ago without success then I figured out that my FTDI was just defect. I got another one and I managed to flash Tasmota-IR on the first try.
It’s now configured to chat MQTT with my HASS instance and…now I don’t really know what to do. I’ve got to make all of this to learn some IR code then be able to execute them. Any clue would be greatly appreciated while I’m doing some research right now.
Nevermind: I just figured out that blasting some remote to the IR gateway while looking at the Tasmota console would give me all the needed data to create a switch under HASS.