npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-tuya-platform-jamiehannaford

v1.5.0

Published

Official Homebridge plugin for Tuya Open API, maintained by the Tuya Developer Team.

Downloads

1

Readme

Tuya Homebridge Plugin

npm npm verified-by-homebridge

GitHub watchers GitHub stars GitHub forks

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 ✌️✌️✌️

:tada: :tada: :tada: Vote for Tuya Homebridge Plugin New Device Driver Support! :tada::tada::tada:

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:

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 | Make sure you use the Tuya Smart or SmartLife app account to log in. Also, choose the right data center endpoint related to your country region. For more details, please check Countries/Regions and Data Center.Your cloud project on the Tuya IoT Development Platform should be created after May 25, 2021. Otherwise, you need to create a new project. | | 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. AuthorizationSmart Home Devices ManagementSmart Home Family ManagementSmart Home Scene LinkageSmart Home Data ServiceDevice Status Notification |

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.