AMoo-Miki / homebridge-tuya-lan

Homebridge plugin for IoT devices that use Tuya Smart's platform
MIT License
196 stars 50 forks source link

Not able to change brightness or tone of Ceiling light #245

Closed aescolastico closed 9 months ago

aescolastico commented 3 years ago

I've added this device as a "TWLight" since there didn't seem to be a better option in the plugin settings.

The device does appear in the Home app and I am able to toggle power, but nothing else. My best guess is that the JSON object for that device is missing some key(s) that is required. But even if that is the case, I have no idea where to look for this information.

My config:

{
    "bridge": {
        "name": "Homebridge",
        "username": "xx:xx:xx:xx:xx:xx",
        "port": 51020,
        "pin": "xxx-xx-xxx"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "devices": [
                {
                    "type": "TWLight",
                    "name": "Ceiling Light",
                    "id": "xxxxxxxxxxxxxxxxxxxxx",
                    "key": "xxxxxxxxxxxxxxxxx",
                    "manufacturer": "hunhun",
                    "model": "clight-1",
                    "dpPower": 20
                }
            ],
            "platform": "TuyaLan"
        }
    ]
}

Any one got any ideas?