Tuya Homebridge Plugin
If you like Tuya Homebridge Plugin - give it a star, or fork it and contribute!
Homebridge custom plugin for controlling Powered by Tuya (PBT) devices in HomeKit, it's based on Tuya Open API. The plugin is officially maintained by the Tuya Developer Team.
Tuya Beta Test Program
Welcome to join the Tuya Beta Test Program to get your development gifts and make the contribution to the plugin.Your feedback is valuable to the whole community.
Important Note
If you cannot login successfully, please update to v1.5.0 as the previous version has security issues on the login feature of the plugin.
Youtube Tutorial:
Preparation
Set up the development environment
โ-VSCode
โ-engines
"node": โ>=0.12.0โ
"homebridge": ">=0.2.0"
โ-dependencies
"axios": โ^0.21.1",
"crypto-js": โ^4.0.0โ,
"mqtt": โ^4.2.6",
"uuid": "^8.3.2"
Tuya OpenApi Login Error Code
Error code | Error message | Troubleshooting |
---|---|---|
1004 | sign invalid |
|
1106 | permission deny |
|
1100 | param is empty | username or appSchema is empty: See Edit config.json file and enter the correct parameter. |
2017 | schema does not exist | Incorrect appSchema in config.json : See Edit config.json file and enter the correct parameter. |
2406 | skill id invalid |
|
28841105 | No permissions. This project is not authorized to call this API | You have not authorized your cloud project to use the required APIs. Subscribe to the following required API products and authorize your project to use them.
|
Users
If you are a smart home geek and have a bundle of devices from different platforms, this step-by-step tutorial will help you make devices HomeKit-enabled and then develop Tuya Homebridge plugins.
Feedback
You can use the GitHub Issue or tickets to provide feedback on any problems you encounter.
Beta version
Tuya plugin for Hombridge, maintained by @0x5e, former employee of Tuya.
LICENSE
For more information, see the LICENSE file.