-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code 2406 - after running smoothly for ages #298
Comments
Thank you for your feedback, we will solve this issue soon |
+1. Same here. Tried rebooting, restarting. Can login in Tuya API site. Hope it is something simple. |
I have the same. |
Tried different countries, VPN, nothing helped. Implemented workaround using different API Azukovskij@5eaa7e4 to retrieve access_token. |
Same error here |
Same here |
I wish someone would implement a local tuya server. Window blinds to connect to a remote server is such a nonsense proven by this "suddenly" appeared error |
Same issue here...today no longer working with homebridge |
Thank you for this workaround, it solved the problem for me. |
tried this workaround, only works with a subset of my devices - power points (yes), contact sensors (no) |
@mmaslen , can you check debug logs for errors? |
I can agree the workaround from @Azukovskij is working fine. Open ssh and navigate to Edit the file as mentioned by @Azukovskij5eaa7e4 Restart homebridge. |
Same problem here, tuya homebridge devices stopped working as of oct 13th. The workaround from @Azukovskij fixed the problem for me. Thanks for providing this. |
After using the plugins for ages now and everything running really smooth, I've got this error code now.
I checked all the connections… I cant the error here. Didnt change a thing.
Can smb help?
Cheers
Jaime
TuyaOpenAPI response: {"code":2406,"msg":"skill id invalid","success":false,"t":1665661964448,"tid":"8c8e356f4aed11eda7a4d2b5cc5248de"} path = /v1.0/iot-01/associated-users/actions/authorized-login⚠️ ⚠️ ⚠️ ! You get an error!
TypeError: Cannot destructure property 'access_token' of 'res.result' as it is undefined.
at TuyaSHOpenAPI._refreshAccessTokenIfNeed (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:49:11)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at TuyaSHOpenAPI.request (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:145:7)
at TuyaSHOpenAPI.getDevices (/usr/local/lib/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:63:15)
at TuyaPlatform.initTuyaSDK (/usr/local/lib/node_modules/homebridge-tuya-platform/index.js:90:19)
Attention
The text was updated successfully, but these errors were encountered: