Tuya zigbee relay and esp32

Hello everyone,

I have a question regarding the possibility of controlling a Tuya Zigbee relay through an ESP32 or Arduino. I would like to know if it is feasible and, if so, how I can achieve it.

Could you please provide guidance on how to
If there is an article or resource that provides more information or serves as a reference, I would greatly appreciate it if you could share it with me.

Thank you in advance for your assistance and guidance.

As far as I am aware Tuya is proprietary, encrypted, and requires communication with a server in China.

The easiest path to success is probably through a middleware application called "home assistant" and the "ESPHome" firmware.
Also do a search for "local Tuya".
The home automation forums on Reddit and other places may be a good place to start.

1 Like

Thank you for the response. I made a quick research following your guidance. Now I'm feeling more confident. I found a guidance in where a tuya zigbee relay is controlled by esp8266 through wired connection. With more effort I'm confident that I will find an option for wireless connection.

I also want to turn on or off a Tuya switch with my Arduino ESP32, but I didn‘t find a way for this up to now. Using an additional Raspberry with homeassist is no option.

If there is a direct way to control smart Tuya switches with an ESP32 I really would like to know. I didn‘t find a library for this. Any help is welcome.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.