openapi icon indicating copy to clipboard operation
openapi copied to clipboard

Add change Device name method

Open julianbei opened this issue 5 years ago • 2 comments

I wanted to add the "PUT" function for changing a device name. Somehow I always get Error: permission deny. I need to dig deeper into that to find out why.

Might that just be the wrong API to use? The Web UI also throws a lot of weird errors

julianbei avatar Dec 20 '20 20:12 julianbei

Did you apply for all the permissions in the cloud API auth section?

codetheweb avatar Dec 21 '20 01:12 codetheweb

At least I tried... I have the feeling that just the user who registered the device can change names... I haven't investigated further. I just wanted a commandline interface that built localtuya configuration out of my linked devices. I built something like that here: https://github.com/julianbei/tuya-discover Its not a CLI yet but works like a charm for my purpose

julianbei avatar Dec 22 '20 09:12 julianbei