Git Product home page Git Product logo

homebridge-tuya's Introduction


Homebridge-Tuya

npm npm verified-by-homebridge

Control your supported Tuya accessories locally in HomeKit

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
  • 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.

Option 2: Manually Install:

sudo npm install -g homebridge-tuya

Configuration

UI

  1. Navigate to the Plugins page in homebridge-config-ui-x.
  2. Click the Settings button for the Tuya 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

  • 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.

homebridge-tuya's People

Contributors

irayankhan avatar codetheweb avatar elphax avatar dependabot[bot] avatar fra-iesus avatar davidh2075 avatar dhutchison avatar ozturkalperen avatar brunohenriquy avatar longzheng avatar lunascaped avatar northernman54 avatar reiph avatar basdelfos avatar crcorbett avatar nicsuzor avatar nitaybz avatar sholleman avatar tom-23 avatar fupzlito avatar lintaba avatar markbegma avatar pelletip avatar xortuna avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.