iRayanKhan / homebridge-tuya

A Homebridge plugin to control Tuya devices locally.
MIT License
390 stars 162 forks source link

RGBTWLight empty signature #315

Open hmenzagh opened 3 years ago

hmenzagh commented 3 years ago

Checklist

Describe the bug All devices are working but I have 1 light :

{
    "type": "RGBTWLight",
    "name": "Lamp",
    "id": "XXXXXXX",
    "key": "XXXXXXX",
    "model": "A60 RGB-CCT",
    "manufacturer": "LCS Smart Connect",
    "colorFunction": "HSB"
}

and it need not work :

19/08/2021 à 13:58:55Tuya BridgeTuyaLanDiscovered Lamp (bf12fe5473ebef7480rw4e) identified as RGBTWLight (3.3)
19/08/2021 à 13:58:55Tuya BridgeTuyaLanConnected to Lamp
19/08/2021 à 13:58:55Tuya BridgeTuyaLanReady to handle Lamp (RGBTWLight:3.3) with signature {}
19/08/2021 à 13:58:55Tuya BridgeERROR[Tuya Bridge 11D5@Lamp@Lamp@On] characteristic value expected boolean and received undefined

Environment (please complete the following information):

groovy75 commented 3 years ago

I have the same problem!

iRayanKhan commented 3 years ago

I can't really do much since it may be the way the vendor implemented the Tuya Api.

ElphaX commented 2 years ago

This is exactly that, looks like the device has some level of security on their keys that it isn't passing the json values as per the signature. Can you please link the original products you are using? @groovy75 @hmenzagh

tcozzens commented 2 years ago

@ElphaX @iRayanKhan I am getting that with infibrite slim can lights

I can see this error with debug turned to on

image

as I kept playing around, this issue fixed my problem!