Infrared to Wi-Fi gateway from China


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.

Any help would be greatly appreciated.

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.

There is a “Platform” setting that lets you tell it which one you are using

Could you post a picture if the inside please. So as to see the type if uC used ?


Thanks for the reply. Unfortunately I can’t find anything related to that gateway after having added the Tuya integration. That’s very weird. :confused:

Here you are:

Perfect, thanks!
It seems to be an esp8266.
Could you give me a link to where your purchased it.

From what I see; pins and uc the device could be loaded with a custom firmware

there are several on aliexppress:

please update on this, im also interested.
i wonder if it can be used as receiver.

It doesn’t appear to have an IR receiver based on the picture.

Since it is Tuya based, it could quite probably run ESPhome or Tasmota rather easily.

the ir receiver is at the middle of the board :wink:
Bottom left from the ESP

1 Like

I stand corrected… sweet!

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? :smiley: I’ve got some knowledge with Arduino, serial ports and so on, thanks to 3D printing mainboards.

In short:

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.

For your info I have ordered one so as to try it.