Skip to content

How to use ? #1

Description

@RedBoardDev

Hello,

I don't know if it's an oversight or a bug, but session.json doesn't exist and so I get an error on launch.
So I've added this file. But when I try to run something, I get an authentication error:

&> node cli list Error: Could not init Smart Life session. TuyaSmartLifeException [Error]: you cannot auth exceed once in 180 seconds at SmartLifeSession.getAccessToken (file:///tmp/xw5qomT3/tuya-smartlife-api-node/TuyaSmartLifeClient.mjs:75:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async TuyaSmartLifeClient.init (file:///tmp/xw5qomT3/tuya-smartlife-api-node/TuyaSmartLifeClient.mjs:160:5) at async init (file:///tmp/xw5qomT3/tuya-smartlife-api-node/cli.js:53:13) at async Command.<anonymous> (file:///tmp/xw5qomT3/tuya-smartlife-api-node/cli.js:106:3) s) Device

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions