codetheweb/tuyapi

Weird encrypted response from tuya bulb ?

obaldius opened this issue · 6 comments

I have two indentic bulbs that have been working flawlessly for a couple of months. Just recently one of them stopped working and looking at their responses I found the following.

Sin título

First response is from the working bulb, second one is the one that isn't working. Is somebody experiencing this issue?

I tried setting the Tuya Protocol Version to 3.3 to no avail.

The second bulb has stopped reacting to any request.

It may have been assigned a new local key when the device updated to 3.3. Have you tried reprovisioning?

It may have been assigned a new local key when the device updated to 3.3. Have you tried reprovisioning?

May I ask, how can I do that? Do you mean it changed its ID?

I have the same exact issue, didn't change anything but one of my smartbulbs stop working and send a similar weird response. I removed the device from the app and re add but no luck. Also the device key is special characters instead of just alpha numeric.
Bulb Key
Does anyone have a solution for this?

I have the same exact issue, didn't change anything but one of my smartbulbs stop working and send a similar weird response. I removed the device from the app and re add but no luck. Also the device key is special characters instead of just alpha numeric. Bulb Key Does anyone have a solution for this?

In fact I managed to solve it. Remove the device, add it again and get again its deviceID and key. At least one of them will be different once you remove and readd the device. With the new serials the device works as expected

I've removed the device like ten times now with no luck... keys change but I'm getting local keys with special characters that doesn't works, i get the following on the homebridge terminal:

mhF]f;xT*}n]****, key for Foco Fachada (eb0c78be1146023769xlky), is not a valid key.

Thanks for the help anywways.

I truly appreciate any suggestions.

Maybe the homebridge plugin has added checked for allowed characters? Seems more like a message from there then from the library here. Maybe this check need to be adjusted?