Homebridge-Tuya-Switch
homebridge-tuya-switch is a homebridge plugin that lets you control your Tuya based switch devices with HomeKit.
Installation
To use this plugin, follow the steps below:
-
Install Homebridge, if you haven't already.
-
Install this plugin. You may need to prefix this command with
sudo
if you run into any issues.
npm i -g homebridge-tuya-eve
- Add your device's parameters to your
config.json
file, then reload Homebridge.
You can check out the configuration example for parameters you should set.
To get ID and Key Watch this video.
Issues
If you spot any errors with the plugin, or have a question, feel free to open an issue.
Contribution guide
Any help is welcome!
If you would like to make refinments to this plugin, add new device support, or anything else feel free to make a fork, and submit a PR detailing the changes you made, and why.
Note
This repository is created because there is no support for switch type accessories on iRayanKhan's homebridge-tuya repository. Once he merges my commits or adds support for switch type accessories himself, you should go and use his plugin. This plugin supports ONLY switch type accessories.