Some errors are happening
See original GitHub issueReporting 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:
- Created 2 years ago
- Comments:10 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
Cool. Thanks, codetheweb.