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-local-atng

v3.0.34

Published

๐Ÿ  Control Tuya Accessories Locally with Homebridge

Downloads

1,525

Readme

Homebridge-Tuya-Local

npm npm verified-by-homebridge

Note: This is a fork of iRayanKhan's homebridge-tuya with bug fix related to new local keys and small improvements.

Control your supported Tuya accessories locally in HomeKit using Homebridge!

Supported Device Types

Click the number next to your device to find the possible DataPoint "DP" values, then add as needed to your config.

  • Air Conditioner1
  • Air Purifiers2
  • Convectors3
  • Dehumidifers4
  • Dimmers5
  • Fan6
  • Fan v27
  • Garages8
  • Heaters9
  • Lights
    • On/Off10
    • Brightness11
    • Color12 (Hue, Saturation, Adaptive Lighting)
  • Oil Diffusers13
  • Outlets14
  • Presence Sensor (ZY-M100)
  • Switches15

Note: Motion, and other sensor types don't behave well with responce requests, so they will not be added.

Installation Instructions

Option 1: Install via Homebridge Config UI X:

Search for "Tuya" in homebridge-config-ui-x and install homebridge-tuya-local.

Option 2: Manually Install:

sudo npm install -g homebridge-tuya-local

Configuration

UI

  1. Navigate to the Plugins page in homebridge-config-ui-x.
  2. Click the Settings button for the Homebridge Tuya Local plugin.
  3. Add your device types
  4. Add device parameters10
  5. Restart Homebridge for the changes to take effect.

Manual

  1. Edit the config.json file to add your device types, and parameters.
  2. Restart Homebridge

Known Issues

  1. If your devices add, but you can't control them, make sure you entered the DataPoint "DP" values for your device.

Troubleshooting

  1. Make sure the plugin is up-to date
  2. Check for existing issues

Contributing

If you have new accessory logic for a new device, please add a function defined by manufacturer, and describe your changes in the readME file.

Credits

  • Eliran Sapir (https://github.com/sapireli) - updated fork of @iRayanKhan's work.
  • AMoo-Miki - developer of the Tuya-Lan plugin which this plugin is based off.
  • mxDanger - Plugin branding.
  • CodeTheWeb - developer of TuyaApi, who gratiously provided this repo's name.
  • Oznu - developer of Homebridge, added config.schema.json , fixed dependencies, and helped inspire this readME off his gsh plugin.

License

Donating

Please donate to a local pet shelter, or food pantry. It's been a wild time, but we can do our part by helping others.