Open fmp777 opened 1 year ago
Thanks @fmp777 - didn't realize there was a way to transfer a user. Want to help write the documentation that?
I am having a similar issue when creating a new user. Can someone help? This was my first error message curl: (3) bad range in URL position 53: So I added -g and now I am getting this: {"errcode":10001,"errmsg":"invalid client","description":"无效的client,client_id或client_secret错误"} I'm so lost
@bwitting Sorry didn't notice your request until now, and have already gotten rid of all TTLOCK devices, more trouble than they were worth. TUYA seems to be a bit more together, but its a challenge because of the general poor quality of all the devices.
@brandifarmer That error says your user is invalid, same issue I ran into. Maybe try reading the docs link I provided above to see if you are facing same issue of locks being in one username while your api setup using a different. You may need to tarnsfer like I did... which did end up "working" for me, but this package had issues causing homebridge to hang so was generally unreliable anyway. I ended up replacing locks with Homekit compatible TUYA bridge & locks, skipping the homebridge effort altogether.
troubleshooting...
SIDE NOTE I would suggest better instructions for when a person has already setup an account with their locks. There's a Transfer option in the app allowing you to send your locks/gateways to the new account username. Worked for me. API Docs: https://euopen.ttlock.com/doc/api/v3/lock/transfer