homebridge-tuya icon indicating copy to clipboard operation
homebridge-tuya copied to clipboard

Can't attach a simple switch

Open nitaybz opened this issue 3 years ago • 5 comments

I'm trying to add a simple switch/breaker and getting this:

[Tuya] Odd message from Garden led left with command 10: data format error
[Tuya] Raw message from Garden led left (3.2) with command 10: 000055aa000000010000000a0000001d000000016461746120666f726d6174206572726f7271bf61a40000aa55

I have many many switches which connect successfully. all but 4 of this type and getting the same error when connecting. this is how it looks in Tuya IOT: image

what can I do to debug that further?

nitaybz avatar May 07 '21 08:05 nitaybz

Hmm looks like the data.dps from the accessory is returning false.

Do you have the device signature and ur config to share as well please, might try replicate it for diagnosing.

ElphaX avatar May 09 '21 02:05 ElphaX

2 out of the 4 switches worked intermittently and this what their signature looks like:

[06/05/2021, 09:29:52] [TuyaLan] Ready to handle Garden led left (switch:3.2) with signature {"1":true}
[06/05/2021, 09:29:53] [TuyaLan] Ready to handle Garden led right (switch:3.2) with signature {"1":true}

config for those 2:

                {
                    "type": "switch",
                    "manufacturer": "Tuya",
                    "id": "bf4472b2c4e4be941aijww",
                    "name": "Garden led right",
                    "key": "xxxx"
                },
                {
                    "type": "switch",
                    "manufacturer": "Tuya",
                    "id": "bf2856deaf9520a4fbo6pf",
                    "name": "Garden led left",
                    "key": "xxxx"
                },

nitaybz avatar May 09 '21 06:05 nitaybz

And any recent updates to the devices themselves?

ElphaX avatar May 09 '21 06:05 ElphaX

what do you mean?

nitaybz avatar May 09 '21 07:05 nitaybz

Device software updates***

ElphaX avatar May 18 '21 14:05 ElphaX