question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some errors are happening

See original GitHub issue

Reporting issues I am seeing.

GET

➜ DEBUG=* tuya-cli get --id ID_HERE --key KEY_HERE --full
Error: find() timed out. Is the device powered on and the ID or IP correct?
    at /usr/local/lib/node_modules/@tuyapi/cli/node_modules/tuyapi/index.js:824:13
    at Timeout._onTimeout (/usr/local/lib/node_modules/@tuyapi/cli/node_modules/p-timeout/index.js:25:13)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)

SET

➜ DEBUG=* tuya-cli set --id ID_HERE --key KEY_HERE --dps 1 --set false       
Error: find() timed out. Is the device powered on and the ID or IP correct?
    at /usr/local/lib/node_modules/@tuyapi/cli/node_modules/tuyapi/index.js:824:13
    at Timeout._onTimeout (/usr/local/lib/node_modules/@tuyapi/cli/node_modules/p-timeout/index.js:25:13)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)

[SOLVED] the commands need the ip, it is not optional. And it has to be the local IP, not the one found on Tuya’s APP. Sometime the device has the macaddress listed on Tuya’s App what makes the disover of the IP easy. Sometimes it does not have what was on my case.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
leoheckcommented, Oct 5, 2021

I had to find the right IP. And some devices were missing. Specially the one I wanted to control. Then I installed tinytuya, and with this scan python3 -m tinytuya scan I was able to identify my specific bulb. Because it was the only one that had the information displayed.

So, I managed to make it work. Now, it could have a way to identify the ip of the bulb with the list command if possible.

0reactions
leoheckcommented, Oct 11, 2021

Cool. Thanks, codetheweb.

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 Why Do Errors Happen? | To Err Is Human: Building a Safer ...
However, even apparently single events or errors are due most often to the convergence of multiple contributing factors. Blaming an individual does not...
Read more >
there are some error or there are some errors?
Some errors happened when exporting the images: Some errors occurred during the conversion. You should now examine the log to find out what...
Read more >
Why Do Errors Happen, and what we have to do.
The common initial reaction when an error occurs is to find and blame someone. However, even apparently single events or errors are due...
Read more >
Errors In Website | List of Few Errors and How to Fix Them ...
Guide to Errors in Website. Here we discussed the errors which usually occur because of insecure internet connection or outdated web page.
Read more >
Fix "Aw, Snap!" page crashes and other page loading errors
If you're getting the "Aw, Snap" error or another error code instead of a webpage ... Quit other apps that are running, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found