Skip to content

dlnraja/com.tuya.zigbee

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8,404 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tuya Unified Zigbee App for Homey

Version Fingerprints Drivers Flow Cards SDK License Homey

A community-driven Homey app that brings local control to Tuya Zigbee devices — no cloud, no internet needed. Covers switches, sensors, lights, thermostats, covers, locks, and more across 431 drivers and 5,275+ device fingerprints.

Key features:

  • Local-only — everything runs on your Homey, nothing goes to the cloud
  • Hybrid mode — auto-detects whether a device speaks Tuya DP or standard ZCL
  • Smart battery — voltage-based fallback when devices don't report percentage
  • 4,844+ flow cards — triggers, conditions & actions in EN, FR, NL, DE
  • SDK3 — built on the latest Homey platform

Installation

Method Link
Homey App Store Install from Homey App Store
Test Version Install Test Version
GitHub Releases View Releases

Statistics

Metric Value
App Version v9.0.328
Device Fingerprints 5,275+
Unique Product IDs 571
Drivers 431 (381 Zigbee + 50 WiFi)
Flow Cards 4,844
Unique Capabilities 170
SVG Icons 731
Languages EN, FR, NL, DE
SDK Version 3
Homey Compatibility >=12.2.0
Last Updated 2026-07-20

Top 20 Drivers by Fingerprint Count

# Driver Fingerprints
1 climate_sensor 809
2 switch_1gang 479
3 generic_tuya 444
4 button_wireless_2 226
5 presence_sensor_radar 217
6 diy_custom_zigbee 205
7 radiator_valve 142
8 sensor_contact_zigbee 118
9 universal_zigbee 104
10 wall_dimmer_tuya 101
11 generic_diy 81
12 wall_thermostat 73
13 switch_4gang 69
14 dimmer_wall_1gang 64
15 soil_sensor 63
16 bulb_dimmable 62
17 motion_sensor 56
18 water_leak_sensor_tuya 53
19 thermostat_tuya_dp 50
20 switch_2gang 46

Drivers by Device Class

Class Count
sensor 127
socket 117
light 61
other 29
thermostat 26
remote 19
fan 17
windowcoverings 11
lock 5
doorbell 4
garagedoor 4
heater 4
button 2
curtain 2
camera 1
vacuumcleaner 1
speaker 1

Latest Updates

Version Changes
vchangelog [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object
v9.0.328 P77 + P78: battery/button enrichment analysis (247 battery drivers, 54 button drivers audited). P29.7 temporal-monito...
v9.0.327 P77 + P78: battery/button enrichment analysis (247 battery drivers, 54 button drivers audited). P29.7 temporal-monito...
v9.0.326 Stability improvements and Homey test publication retry after transient processing failure.
v9.0.325 Stability improvements and Homey test publication retry after transient processing failure.
v9.0.324 P76 architectural fix: 7 new HOBEIAN/ga1maeof fingerprint collisions baselined (P75.31 follow-up). Architectural test...
v9.0.323 P76 architectural fix: 7 new HOBEIAN/ga1maeof fingerprint collisions baselined (P75.31 follow-up). Architectural test...
v9.0.322 P76 architectural fix: 7 new HOBEIAN/ga1maeof fingerprint collisions baselined (P75.31 follow-up). Architectural test...
v9.0.321 P76 architectural fix: 7 new HOBEIAN/ga1maeof fingerprint collisions baselined (P75.31 follow-up). Architectural test...
v9.0.320 P76 architectural fix: 7 new HOBEIAN/ga1maeof fingerprint collisions baselined (P75.31 follow-up). Architectural test...
v9.0.319 P76 architectural fix: 7 new HOBEIAN/ga1maeof fingerprint collisions baselined (P75.31 follow-up). Architectural test...
v9.0.318 P75.27: HOMEY_PUBLISH_MAX 30 → 35 MB (size gate fix). P75.32/32b test coverage: 49 mixins + 29 flow cards + 23 regres...
v9.0.317 P75.27: HOMEY_PUBLISH_MAX 30 → 35 MB (size gate fix). P75.32/32b test coverage: 49 mixins + 29 flow cards + 23 regres...
v9.0.316 P75.27: HOMEY_PUBLISH_MAX 30 → 35 MB (size gate fix). P75.32/32b test coverage: 49 mixins + 29 flow cards + 23 regres...
v9.0.315 Stability improvements and Homey test publication retry after transient processing failure.

Key Features

Dual Protocol Support

  • Tuya DP Protocol (Cluster 0xEF00) - For Tuya-specific devices
  • Standard ZCL - For native Zigbee 3.0 devices
  • Auto-Detection - Observes device for 15 min, then picks the best protocol

Smart Battery Management

  • 8 battery chemistries supported
  • 4 calculation algorithms
  • Voltage-based fallback when percentage unavailable

Energy Monitoring

  • Full kWh, W, V, A support
  • Configurable ZCL energy divisors
  • Auto-removal of unused energy capabilities after 15 min

Physical Button Detection

  • 2000ms timeout-based detection
  • Flow triggers for physical button presses per gang
  • Deduplication to prevent duplicate triggers

Supported Device Categories

Category Examples Protocol
Switches (1-8 gang) Wall switches, smart relays, BSEED, Zemismart ZCL + Tuya DP
Dimmers Wall dimmers, LED dimmers, rotary knobs ZCL + Tuya DP
Lights RGB, RGBW, CCT bulbs, LED strips ZCL
Plugs & Sockets Smart plugs, energy monitors, power strips ZCL + Tuya DP
Sensors Temp/humidity, motion, contact, water leak, smoke, air quality ZCL + Tuya DP
Presence Radars mmWave, PIR+radar hybrid, HOBEIAN ZG-204ZM ZCL + Tuya DP
Thermostats & TRVs Radiator valves, floor heating, AVATTO, Moes Tuya DP
Covers Curtain motors, roller blinds, garage doors Tuya DP + ZCL
Buttons & Remotes Scene switches (1-4 button), SOS buttons, rotary ZCL
Locks Smart door locks, fingerprint locks Tuya DP
Climate Air purifiers, fans, IR blasters, humidifiers Tuya DP
Water Valves, tank monitors, garden timers Tuya DP
WiFi Devices Tuya WiFi switches, plugs, sensors (via cloud API) WiFi/Cloud

Supported Brands

BSEED, Zemismart, Moes, AVATTO, Lonsonho, HOBEIAN, Lidl/Silvercrest, eWeLink/SONOFF, Girier, Benexmart, Owon, and hundreds more via Tuya OEM fingerprints.


Architecture

Homey Pro
  └─ Tuya Unified Zigbee App (SDK3)
       ├─ Hybrid Protocol Engine
       │    ├─ Tuya DP (Cluster 0xEF00) ─ DP1-DP255 data points
       │    └─ Standard ZCL ─ onOff, levelControl, colorControl, etc.
       ├─ DeviceProfileRegistry (149 profiles)
       │    └─ Per-fingerprint: DP mappings, quirks, timing
       ├─ BatteryManager (8 chemistries, voltage fallback)
       ├─ PhysicalButtonMixin (2000ms detection)
       └─ 431 Drivers ─ 5,275+ fingerprints

Data Sources

Source Usage
Zigbee2MQTT Device discovery, DP mappings, manufacturer names
Blakadder Cross-checking rebranded Tuya devices
ZHA / zigpy Device signatures, custom quirks
deCONZ REST plugin device data
CSA Zigbee 3.0 certified products
Homey Community Forum User reports, device interviews
JohanBendz Fork Community contributions

Automation Workflows

Workflow Schedule Description
Daily Everything Daily 2 AM UTC Forum + GitHub auto-response with AI
Forum Responder Every 6h Monitors topics 140352, 26439
GitHub Scanner Mon/Thu Issues, PRs, forks analysis
Enrichment Scanner Mon/Thu Z2M, ZHA, deCONZ, Blakadder sync
Sunday Master Sunday 7 AM Full triage, fork scan, forum scan
Monthly Comprehensive 1st of month Deep scan all sources

Known Firmware Limitations

Issue Affected Devices Status
TS0601 Time Sync LCD climate sensors (TZE284*) Some firmwares ignore Zigbee time responses
Battery 0% TS0044 buttons (_TZ3000_wkai4ga5) Reports 0% always - firmware bug
Cloud-only devices Some TS0601 variants MCU ignores local Zigbee commands

Re-pairing required after driver updates to apply new mappings.


Development

Prerequisites

  • Node.js 18+
  • Homey CLI: npm install -g homey

Quick Start

git clone https://github.com/dlnraja/com.tuya.zigbee.git
cd com.tuya.zigbee
npm install
homey app run

Build & Validate

homey app build
homey app validate --level publish
homey app run

Links

App Store Tuya Unified Zigbee
Test Version Install Test
Forum Community Thread
Device Finder Smart Device Finder
GitHub github.com/dlnraja/com.tuya.zigbee
Issues Report a Bug

FAQ

My device shows as "unknown Zigbee device"

Your device's fingerprint (manufacturerName + productId) is not yet in the app. Open a GitHub issue with your device interview from Homey Developer Tools.

Device paired but doesn't respond to commands
  1. Try re-pairing the device (remove and add again)
  2. Check if it's a Tuya DP device (TS0601) — these need specific DP mappings
  3. For BSEED/Zemismart: these are ZCL-only, ensure explicit binding is working
Battery always shows 0%

Some devices (e.g., TS0044 _TZ3000_wkai4ga5) have a firmware bug that always reports 0%. The app uses voltage-based fallback when available, but some devices don't report voltage either.

Temperature/humidity values are wrong (divided by 10 or 100)

This is usually a double-division bug. The app auto-detects divisors from Tuya DP values. If values are still wrong after re-pairing, open an issue with your exact manufacturerName.

How to get the test version?

Install from: Test Version — this is auto-promoted from draft builds daily.


Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feat/my-device)
  3. Validate: homey app validate --level publish
  4. Submit a pull request with description

Report a New Device

  1. Get a device interview from Homey Developer Tools
  2. Check Zigbee2MQTT for DP mappings
  3. Check Blakadder for cross-references
  4. Open an issue with: manufacturerName, modelId, and interview data

Report a Bug

  1. Go to Settings > Apps > Tuya Unified Zigbee > Send Diagnostics
  2. Open a bug report with: device model, error messages, and diagnostics code

Support This Project

This app is developed in my free time, powered by passion and coffee!

Method Link
PayPal @dlnraja
Revolut Revolut.Me

100% optional - Your feedback and bug reports are equally valuable!


Credits & Thanks

A massive thank you to the maintainers and contributors of:

  • Koenkk and all contributors to Zigbee2MQTT
  • blakadder and the Zigbee Device Compatibility Repository
  • The zigpy / ZHA / zha-device-handlers maintainers
  • The CSA (Connectivity Standards Alliance) for the Zigbee specifications
  • All developers and testers who share device logs, diagnostics, and fingerprints

License

GPL-3.0 - See LICENSE file

Project License
Zigbee2MQTT GPL-3.0
ZHA Apache-2.0
Blakadder MIT
deCONZ BSD-3-Clause

Made with love by Dylan Rajasekaram & the Zigbee community

Last updated: 2026-07-20

About

new updated version

Resources

License

Code of conduct

Contributing

Stars

16 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 78.2%
  • HTML 15.6%
  • Shell 6.0%
  • Other 0.2%