Allows homebridge to control Tuya IR Blaster based devices
npm install homebridge-tuya-ir
!GitHub contributors
!GitHub last commit
Control your Tuya Smart IR based devices in HomeKit. Also works with Smart Home IR Blaster. You can add multiple Smart IR device to single configuration.
#### Option 1: Install via Homebridge Config UI X:
Search for "Tuya IR" in homebridge-config-ui-x and install homebridge-tuya-ir.
#### Option 2: Manually Install:
```
sudo npm install -g homebridge-tuya-irAdd Smart IR and Remotes
Download Tuya Smart app and add your Smart IR device based on OEM documentation and add remotes you want to control using the Smart IR device.

Repeat the steps for all the services in the following image
1. Navigate to the Plugins page in homebridge-config-ui-x.
2. Click the Settings button for the Tuya IR plugin.
3. Add your devices
4. Add device parameters
5. Restart Homebridge for the changes to take effect.
> Manual
1. Edit the config.json file to add your devices and parameters.
2. Sample Configuration
```
"platforms": [
{
"name": "TuyaIR",
"tuyaAPIClientId": "Your Tuya Client ID",
"tuyaAPISecret": "Your Tuya API Secret",
"deviceRegion": "eu",
"smartIR": [
{
"deviceId": "xxxxxxx",
"autoFetchRemotesFromServer": false,
"configuredRemotes": [
{
"id": "xxxxxxx",
"diy": false,
"model": "Sample",
"brand": "Sample Brand"
},
{
"id": "xxxxxx",
"diy": false,
"model": "Sample",
"brand": "Sample Brand"
}
]
}
],
"platform": "TuyaIR"
}
]
2. Restart Homebridge
1. Tuya API doesn't always return devices added to Smart IR based on OEM hardware. Thus, you need to add them in your app and then provide IDs in the plugin configuration. This is configuruable in the configuration.
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.
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.