Closed J1D2A3 closed 3 years ago
Update: after posting on r/homebridge, I was advised to switch to homebridge-tuya as homebridge-tuya-lan hasn't been updated for a while. Managed to get all lights working after fiddling with some of the colour settings. The final config for each light looks like this:
"type": "RGBTWLight",
"name": "Patio Light",
"id": "XXXXXXXXXXXX",
"key": "XXXXXXXXXXXX",
"manufacturer": "Novostella",
"model": "Floodlight",
"dpPower": 20,
"dpBrightness": 22,
"dpColorTemperature": 23,
"minWhiteColor": 0,
"maxWhiteColor": 221,
"dpMode": 21,
"dpColor": 24,
"colorFunction": "HSB",
"scaleBrightness": 1000,
"scaleWhiteColor": 1000
I have previously used the homebridge-tuya-web plugin to control all of my Tuya devices through Homebridge but wanted to switch to the homebridge-tuya-lan plugin for local control. All 16 devices that I have put into the config are displayed in both Homebridge and the Home app but six of them are not able to control the devices. All six are my outdoor Novostella Smart LED Floodlights, the remaining ten devices (a mixture of bulbs and plugs) all work flawlessly. When looking at the logs after restarting Homebridge, I can see the following relating to the tuya plugin (I have attempted to remove anything relating to other plugins):
Is anyone able to tell me why I can't control the Novostella lights? I have tried setting them up as simple lights, tunable white lights and RGB lights in the config and nothing seems to work. If you need any further details then please ask. Any help greatly appreciated. Thank you.