TuyaAPI / link

📡 Effortlessly connect devices to WiFi and the cloud. Documentation: https://tuyaapi.github.io/link.
MIT License
15 stars 10 forks source link

Sign Invalid #14

Closed beks-sudo closed 3 years ago

beks-sudo commented 3 years ago

Following the documentation I bumped into an error

{ code: 1004, msg: 'sign invalid', success: false, t: 1626081150299 }

`const TuyaLink = require('./index.js');

const register = new TuyaLink.wizard({ apiKey: 't984uehwxxxxxxxxxxxx', apiSecret: 'd87da6xxxxxxxxxxxxxxxc3899621d', email: 'my-sweet-mail@gmail.com', password: 'fantastic-password', region: 'eu', // timezone: '00:00' });

register.init().catch(function (e) { console.log(e) })`

I need help

codetheweb commented 3 years ago

https://github.com/TuyaAPI/cli/issues/130

ThodorisElissaios commented 3 years ago

same here

codetheweb commented 3 years ago

Fixed in v0.3.4.