esphome / esphome/feature-requests

Support for the zigbee communication protocol via uart in the Tuya component

Open
#2,646 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

I would like the Tuya component to support tuya's [zigbee communication protocol](https://developer.tuya.com/en/docs/iot/tuya-zigbee-module-uart-communication-protocol?id=K9ear5khsqoty) via uart.

**Please describe your use case for this integration and alternatives you've tried:**

It could be used to replace the chip in Tuya MCU-s and convert them to ESPHome, which communicate via the Zigbee tuya protocol.
I wanted to replace the original chips in some tuya devices and convert it to ESPHome. The WIFI based ones worked, but I also got some zigbee based ones, in which the MCU uses the zigbee protocol instead for serial communication (linked above). This protocol is not implemented right now in the Tuya component.
I could not find a viable alternative, except only using the wifi based devices with ESPHome.

**Additional context**

[This](https://developer.tuya.com/en/docs/iot/tuya-zigbee-module-uart-communication-protocol?id=K9ear5khsqoty) is the device, I wanted to replace the tuya chip in and convert to ESPHome. I only have problem converting the Zigbee based ones.
[Here](https://discord.com/channels/429907082951524364/1217903030943617025) is the thread of the full discord conversation in the ESPHome server. (Mostly the end of it is relevant). @ssieb mentioned, the protocol in the tuya component needs to be specified, since it cannot be detected at runtime.

This is the relevant part of the uart log output with the zigbee protocol, from which they figured out, it is the zigbee tuya protocol:
![image](https://github.com/esphome/feature-requests/assets/58143076/fe8e9240-275d-4680-9dd7-97824c13062f)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Tuya component and the linked Tuya Zigbee module UART communication protocol documentation; compare the protocol details with the UART log included in the issue. Done means the Tuya component supports the Zigbee protocol over UART for the described device-conversion use case.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.