This repository is ARCHIVED!
Development of replacement firmwares for Tuya devices continued in tuyaZigbee
This project intended to replace fitmware in TuYa TS0501B, TS0504B (and possible others) LED controllers.
Because TuYa firmware sucks, that's why :) But, seriously, not counting common drawbacks of TuYa devices firmware like manufacturer dependent messages and overall strange approach to zigbee standat, this devices have very annoying bug: sometimes, then device receive On command, it turn on light for few seconds and turned off. I was unable to find exact condition to trigger this bug, but it happens from time to time. So, this project was born. This project based on sample from TeLink zigbee SDK.
- Hardware button can be used as On/Off switch
- Working reporting with binding or hardware button
- Have a Power on behavior
- No more annoying bug with light goes off shortly afetr turn on (I hope)
- OTA updates
See docs/flash.md
See docs/ota.md
TuYa Zigbee LED controllers can be bought cheapely on Aliexpress. for example, Here. From hardware point of view, they all the same, at least TS0501B and TS0504B, and differs only by firmware and external connector to LED strip. All controllers share same populated PCN and based on Tuya ZT3L module, which is based on Z2 chip - actually it is TeLink TLSR8258 (TLSR8258F1KAT32)
Actually, part of it. I was lazy enough to trace 3.3 voltage converter :)
- TS0501B single Work in progress, mostly working
- TS0502B CCT Not started
- TS0503B RGB Not started
- TS0504B RGBW Work in progress
- TS0505B RGB/CCT Not started
- zigbee2mqtt converter
- save state and power on control
- reporting
- OTA
- RGBW support
- Direct control of LED PWM using custom cluster
- Support of other controller types