🏠 Offical Homebridge plugin for TuyAPI
npm install homebridge-tuya-ai


A community-maintained Homebridge plugin for controlling Tuya devices locally over LAN. Control your supported Tuya accessories locally in HomeKit.
* Supported Device Types
* Installation Instructions
* Configuration
* Known Issues
* Troubleshooting
* Credits
* License
* Donating
* Air Conditioner1
* Air Purifiers[2]()
* Convectors3
* Dehumidifers4
* Dimmers5
* Fan6
* Fan v27
* Garages8
* Heaters9
* Lights
* On/Off10
* Brightness11
* Color12 (Hue, Saturation, Adaptive Lighting)
* Oil Diffusers13
* Outlets14
* Switches15
* Vertical Blinds16
Note: Motion, and other sensor types don't behave well with responce requests, so they will not be added.
#### Option 1: Install via Homebridge Config UI X:
Search for "Tuya" in homebridge-config-ui-x and install homebridge-tuya-plus.
#### Option 2: Manually Install:
```
sudo npm install -g homebridge-tuya-plus
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
1. If your devices add, but you can't control them, make sure you entered the DataPoint "DP" values for your device.
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.
* iRayanKhan - developer of the original homebridge-tuya plugin.
* 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.
#
Go check out my other Homebridge plugins:
* homebridge-futurehome (npm)
* homebridge-tuya-plus (npm)
* homebridge-eqiva-swift-bridge (npm)
* homebridge-intex-plus (npm)
* homebridge-simple-router-status (npm)