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 1010 #12
Comments
I was able to fix this by modifying the this.tokenInfo = {
access_token: '<get the token from the tuya iot API explorer>',
refresh_token: '', // can be empty
uid: '<get the uid from your linked devices by app account>',
expire: 1653686505, // in seconds (+1 year)
} Until they officially fix this issue, this will do for now lol.. Also, modify this block on comparing the expiry (it looks like a bug) async _refreshAccessTokenIfNeed(path) {
// ...
if ((this.tokenInfo.expire - 60) * 1000 > new Date().getTime()) {
return;
}
// ...
} |
@haukee Sorry for the bad experience, the server problem has been fixed, please try again |
@lodev09 The plugin currently supports one standard instruction in one Tuya category, such as Lightbulb, brightness support 'bright_value', and temperature support 'temp_value'. As for your expectations Support for Light accessory _v2 `#13, we would like developers to participate in the development of our plugin. You can according to Standard Status Set to try to modify the plugin has meet your requirements. |
thank you. Its working now. |
I get a Code 1010 if I try to use the Plugin.
My configuration:
The Log regarding login:
....
The text was updated successfully, but these errors were encountered: