TuyaAPI / cli

🔧 A CLI for Tuya devices
MIT License
270 stars 44 forks source link

after connected the smart app no devices show up #152

Open ronsmits opened 1 year ago

ronsmits commented 1 year ago

I have followed all the instructions, the app links I dont get any error messages but no devices show up in the list. I have no clue what I am doing wrong.

DEBUG=1 ./tuya-cli wizard ? The API key from tuya.com: xxx ? The API secret from tuya.com xxx ? Provide a 'virtual ID' of a device currently registered in the app: xxx [ Error: 1106: permission deny at /home/ron/node_modules/@tuyapi/cli/lib/wizard.js:77:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.any (index 0) at async list (/home/ron/node_modules/@tuyapi/cli/lib/wizard.js:64:28), Error: 1106: permission deny at /home/ron/node_modules/@tuyapi/cli/lib/wizard.js:77:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.any (index 1) at async list (/home/ron/node_modules/@tuyapi/cli/lib/wizard.js:64:28), Error: GET_TOKEN_FAILED 2007, your ip(80.112.67.10) cross-region access is not allowed at TuyaOpenApiClient. (/home/ron/node_modules/@tuya/tuya-connector-nodejs/lib/core/client.js:123:35) at step (/home/ron/node_modules/@tuya/tuya-connector-nodejs/lib/core/client.js:52:23) at Object.next (/home/ron/node_modules/@tuya/tuya-connector-nodejs/lib/core/client.js:33:53) at fulfilled (/home/ron/node_modules/@tuya/tuya-connector-nodejs/lib/core/client.js:24:58) at process.processTicksAndRejections (node:internal/process/task_queues:95:5), Error: 1106: permission deny at /home/ron/node_modules/@tuyapi/cli/lib/wizard.js:77:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.any (index 3) at async list (/home/ron/node_modules/@tuyapi/cli/lib/wizard.js:64:28) ] There was an issue fetching that device. Make sure your account is linked and the ID is correct.