homebridge-tuya-local
v3.1.1
Published
🏠 Control Tuya Accessories Locally with Homebridge
Maintainers
Readme
Homebridge-Tuya-Local
[!NOTE] The original plugin by iRayan has again entered a state of dormancy so I'll keep this plugin alive for the time being. This fork adds Tuya v3.5 protocol support and some minor fixes so that the latest Tuya devices keep on working flawlessly with the current homebridge setup.
[!IMPORTANT] This is a collective project. If your device is not working well with the plugin, please DON'T create an 'issue' expecting someone to help. You’re the only one who can test and figure it out with the device you have. Pull requests are always welcome!
Control your supported Tuya accessories locally in HomeKit using Homebridge!
- Supported Device Types
- Installation Instructions
- Configuration
- Known Issues
- Troubleshooting
- Credits
- License
- Donating
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
- 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-localConfiguration
UI
- Navigate to the Plugins page in homebridge-config-ui-x.
- Click the Settings button for the Homebridge Tuya Local plugin.
- Add your device types
- Add device parameters10
- Restart Homebridge for the changes to take effect.
Manual
- Edit the config.json file to add your device types, and parameters.
- Restart Homebridge
Known Issues
- If your devices add, but you can't control them, make sure you entered the DataPoint "DP" values for your device.
Troubleshooting
- Make sure the plugin is up-to date
- 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.
