当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

tuya-homebridge

授权协议 MIT License
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 羊舌兴德
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

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.

✌️ ✌️ ✌️ Supported Tuya Device Types ✌️ ✌️ ✌️

�� �� �� Vote for Tuya Homebridge Plugin New Device Driver Support! �� �� ��

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.4.1 as the previous version has security issues on the login feature of the plugin.

Youtube Tutorial:

Youtube

Preparation

  1. Tuya IoT Platform Configuration
  2. Use the Tuya Homebridge Plugin
  3. Develop a New Driver
  4. How to Get Logs

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
  • Incorrect accessId or accessKey. To fix the error, see Edit config.json file.
  • Due to the new signature verification mode, the server will have the cache of the old mode. Please create a Github Issue to inform us.
1106 permission deny
  • Your app account is not linked with your cloud project: Link devices by using the Tuya Smart or Smart Life app with your cloud project on the Tuya IoT Platform. For more information, see Link devices by app account.
  • The TuyaSmart or SmartLife app account which registered using Google or Apple ID email need to link your phone number and use the linked phone number as username to login.
  • Incorrect username or password: Enter the correct account and password of the Tuya Smart or Smart Life app in the Account and Password fields. Note that the app account must be the one you used to link devices with your cloud project on the Tuya IoT Platform.
  • Incorrect endpoint: See Endpoint and enter the correct endpoint.
  • Incorrect countryCode: Enter the code of the country you select on logging in to the Tuya Smart or Smart Life app.
  • Incorrect schema (case insensitive). Currently only tuyaSmart and smartlife are supported.
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
  • Cloud project created before May 25, 2021: Your cloud project on the Tuya IoT Platform should be created after May 25, 2021. Otherwise, you need to create a new project. For more information, see Operation on the Tuya IoT Platform.
  • Cloud project created after May 25, 2021, but it is not associated with your TuyaSmart or SmartLife app account. Please associated it in the Tuya IoT platform. For more information, see Link devices by app account.
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.
  • Authorization
  • Smart Home Devices Management
  • Smart Home Family Management
  • Smart Home Scene Linkage
  • Smart Home Data Service
  • Device Status Notification

FAQ

Q: Will I be billed after the 1-year free trial of the API product expires?

A: After expiration, you can renew the subscription for free. The Trial Edition allows you to use all free API products but puts limits on the quota of API calls. For more information about the quota, see Pricing.

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.

LICENSE

For more information, see the LICENSE file.

 相关资料
  • Tuya Web Overview Hoobs and Homebridge plugin for Tuya devices using a cloud Tuya Web Api. This plugin is based on the Home Assistant Tuya integration that implements a special Tuya Home Assistant API

  • homebridge-vsx homebridge-vsx is a plugin made for homebridge,which allows switching on and off your Pioneer AV receiver. All AV receivers (VSX and SC),which work with the iControl AV5 App are support

  • homebridge-sesame Control and monitor your Sesame smart lock with HomeKit integration. Prerequisites Installation of Homebridge iOS 11 or later Sesame lock with enabled cloud integration Sesame Wifi A

  • homebridge-panasonictv A homebridge plugin for turning on and off your Panasonic Viera TV. The plugin also has experimental support for changing the volume and channel. These characteristics are not r

  • camera.ui camera.ui is a homebridge user interface to control your RTSP capable cameras. It supports almost everything you need for a camera user interface. Live streams on Web Web App with push notif

  • homebridge-http-humidity-sensor This Homebridge plugin can be used integrate your humidity sensor which has ahttp api into HomeKit. Installation First of all you need to have Homebridge installed. Ref