Homebridge plugin for TuyAPI

Usage no npm install needed!

<script type="module">
  import homebridgeTuyaLocalTest from 'https://cdn.skypack.dev/homebridge-tuya-local-test';




homebridge-tuya-local is a homebridge plugin that lets you control your Tuya based devices with Homekit.

Some devices may not be supported.


To use this plugin, follow the steps below:

  1. Install Homebridge, if you haven't already.

  2. Install this plugin. You may need to prefix this command with sudo if you run into any issues.

npm i -g homebridge-tuya-local

  1. Add your device's parameters to your config.json file, then reload Homebridge.

To get ID and Key Watch this video.


If you spot any errors with the plugin, or have a question, feel free to open an issue.

Contribution guide

Any help is welcome!

If you would like to make refinments to this plugin, add new device support, or anything else feel free to make a fork, and submit a PR detailing the changes you made, and why.


CodeTheWeb - Original repo

iRayanKhan - homebridge-tuya repo

mxdanger - Plugin branding

Amoo-Miki - Plugin core

Oznu - config.schema, and various enhancements in V2.0.0