You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TuyaOpenAPI response: {"code":1013,"msg":"request time is invalid","success":false,"t":1629830233783} path = /v1.0/iot-01/associated-users/actions/authorized-login
TypeError: Cannot destructure property 'access_token' of 'res.result' as it is undefined.
at TuyaSHOpenAPI._refreshAccessTokenIfNeed (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:48:11)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at TuyaSHOpenAPI.request (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:144:7)
at TuyaSHOpenAPI.getDevices (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:62:15)
at TuyaPlatform.initTuyaSDK (/homebridge/node_modules/homebridge-tuya-platform/index.js:90:19)
Attention⚠️⚠️⚠️ ! You get an error!
Failed to get device information. Please check if the config.json is correct.
The text was updated successfully, but these errors were encountered:
Hi @vikts83 , /v1.0/iot-01/associated-users/actions/authorized-login
Since this interface was released in the whole region, we will use openapi.tuyacn.com by default. Which may cause the time verification between your device and CN server to fail. we have noticed this problem and will optimize it in the next version.
Hello
Have this trouble.
I have 5 smart thermostat at the app.
Using tuyaSmart on iPhone
config.json
{
"options": {
"username": "xxxxxxxxxxxx",
"password": "xxxxxxxxxxxxxxx",
"accessId": "xxxxxxxxxxxxxxxxxxxxx",
"accessKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
"lang": "en",
"endPoint": "https://openapi.tuyaeu.com",
"projectType": "2",
"appSchema": "tuyaSmart",
"countryCode": 372,
"debug": true
},
"name": "TuyaPlatform",
"platform": "TuyaPlatform"
}
Log
TuyaOpenAPI response: {"code":1013,"msg":"request time is invalid","success":false,"t":1629830233783} 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 (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:48:11)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at TuyaSHOpenAPI.request (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:144:7)
at TuyaSHOpenAPI.getDevices (/homebridge/node_modules/homebridge-tuya-platform/lib/tuyashopenapi.js:62:15)
at TuyaPlatform.initTuyaSDK (/homebridge/node_modules/homebridge-tuya-platform/index.js:90:19)
Attention
Failed to get device information. Please check if the config.json is correct.
The text was updated successfully, but these errors were encountered: