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

Authentication error: Get accesstoken failed. Username or password error!

Open Scirocco3 opened this issue 1 year ago • 6 comments

Describe the bug After start is the error displayed. nothing changed in the system or username/pw all devices are not functial. username and PW checked in the app... is ok.

Steps To Reproduce after the error... this line/error displayed Cannot acquire token, waiting 185 seconds.

Plugin Version latest official

Homebridge Config { "name": "TuyaWebPlatform", "options": { "username": "Steffen.leicht@xxx", "password": "xxxxxxxxx", "countryCode": "49", "platform": "smart_life" }, "defaults": [ { "id": "74457336cc50e3d39579", "device_type": "outlet" }, { "id": "50203372dc4f229d0f7f_7", "device_type": "outlet" }, { "id": "50203372dc4f229d20ff_7", "device_type": "outlet" }, { "id": "50203372dc4f229d0f7f_1", "device_type": "outlet" }, { "id": "50203372dc4f229d20ff_1", "device_type": "outlet" } ], "scenes": false, "_bridge": { "username": "0E:ED:A8:42:47:38", "port": 33824 }, "platform": "TuyaWebPlatform" }


Device Config

Additional Context

Scirocco3 avatar Mar 11 '24 20:03 Scirocco3

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 22 '24 05:03 github-actions[bot]

having the same issue. [3/22/2024, 3:20:07 PM] [TuyaWebPlatform] Initializing TuyaWebPlatform platform... [3/22/2024, 3:20:07 PM] Loading 2 accessories... [3/22/2024, 3:20:08 PM] [TuyaWebPlatform] Cannot acquire token, waiting 185 seconds.

tibtiby avatar Mar 22 '24 13:03 tibtiby

same issue. maybe due to their extra verification?

imWildCat avatar Mar 27 '24 04:03 imWildCat

Same, here, let me know if there is anything I can share that would help.

doomedramen avatar Mar 27 '24 16:03 doomedramen

Hi @doomedramen @tibtiby @Scirocco3 Good news. I found the root cause: https://github.com/tuya/tuya-homebridge#:~:text=The%20TuyaSmart%20or%20SmartLife%20app%20account%20which%20registered%20using%20Google%20or%20Apple%20ID%20email%20need%20to%20link%20your%20phone%20number%20and%20use%20the%20linked%20phone%20number%20as%20username%20to%20login.

TLDR: Register another Tuya account and DO NOT use SSO login (like sign-in with Google/Apple). Just use your email to receive a code to activate the account.

Then repeat the previous steps.

imWildCat avatar Apr 03 '24 03:04 imWildCat

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 13 '24 05:04 github-actions[bot]