GitHub - romasku/tuya-zigbee-switch: Feature-rich custom firmware for Telink/Silabs Zigbee switches, modules, sockets

GitHub stars GitHub issues StandWithUkraine Discord

Feature-rich custom firmware for Telink/Silabs Zigbee switches, modules, sockets

๐Ÿค” Why?

The main driver for this project was a frustrating bug in the factory firmware:

When you pressed one button, the device shortly ignored input from the others.
As a result, simultaneously pressing two buttons toggled a single relay.

Users also consider this the missing piece of a reliable smart home, because it allows using a light switch as a Zigbee remote.

Most cheap switches on the market don't allow binding to other devices out-of-the-box.

โœจ Features

Already implemented

  • Super fast reaction time (choose action moment: press / release)
  • Detached mode (unlink switch and relay)
  • Outgoing binds (remotely control Zigbee lights - state & brightness)
  • Supports all button types: toggle, momentary NO, momentary NC
  • Configurable Long press for push-switches (action & duration)
  • Custom switch action modes (sync: switch position - relay state - bound devices)
  • Both Router & EndDevice modes for no-Neutral devices
  • Power-on behavior (on, off, previous, toggle)
  • Wireless flashing and updating (OTA from original fw, further OTA updates)
  • Multiple reset options (configurable multi-press count, on-board button)

Work in progress

  • Wireless switches (battery-powered remotes)
  • FW-level multi-press (double or triple click)
  • Countdown timers (on_with_timed_off)
  • Inching (pulse relay output)
  • Scenes (send and receive)
  • Power monitoring
  • Curatain modules
  • Touchlink
  • Integrate converters with Z2M

๐Ÿ“ฒ Installation

If your device is already on supported_devices.md, the firmware can be installed:

Otherwise, check contribute/porting.md.

๐Ÿ“‘ Documentation

Information and diagrams are available in docs/

Some quick links:

๐Ÿ’ฌ Chat

Discuss, troubleshoot and follow the updates on Discord ๐Ÿ™‚

Discord

๐Ÿ™ Acknowledgements

โญ Star History

Star History Chart