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.

tuya-cli link hangs and times out at "Registering device(s)..."

See original GitHub issue

I’ve followed the setup directions up to step 5, but spinner hangs on Registering devices(s)... and eventually throws ✖ Device(s) failed to be registered! Error: Timed out waiting for devices to connect.

I’m sure I am using the correct inputs because I’m still able to connect it to the Tuya Smart app fine.

I even tried increasing the timeout directly in the source to some really high number, but that didn’t seem to have any effect.

It’s quite curious because, very occasionally (~10% of the tries), when running the tuya-cli link ... command, I will hear my device make noises which match the noises it makes when I successfully connect it to the Tuya Smart app (presumably a test for turning on/off the power). But even after tuya-cli link instigates this, nothing happens and the timeout error is subsequently thrown :\

@codetheweb do you or anyone have advice on how to troubleshoot this? I’m willing to provide any additional info you might need. Thanks!

Desktop (please complete the following information):

  • OS: macOS 10.15.3
  • Node: 13.7.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:79 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
roelf1978commented, May 3, 2020

@FearNaBoinne Thanks. Also changed from network and now it works!

1reaction
FearNaBoinnecommented, May 3, 2020

image Geinstalleerd op RPI

Iemand een idee hoe dit op te lossen?

Remove the square brackets… They’re used in the example to indicate a value, but should NOT be in the actual command… (It’s a standard notation signifying mandatory values…)

(PS: Using English, so others can understand the reply as well)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Local Tuya: cannot find how to set up Tuyapi CLI
Hello, I am trying to set up the localtuya integration from HACS, and did all the steps from creating a developers account on...
Read more >
Tuya Device not connect - General - Node-RED Forum
I tried using the instructions to set up a developer account and register my Tuya devices using the Smartlife App. All went well...
Read more >
Debugging JTAG - Texas Instruments
This page talks about how to properly debug JTAG connection issues with Texas Instruments XDS Debug Probes by providing a step-by-step ...
Read more >
Commands - Tasmota
Commands over MQTT are issued by using topic cmnd/%topic%/<command> and payload <parameter> where %topic% is the topic of the device you're sending the...
Read more >
Step-by-Step guide for adding Tuya-bulbs, Wi-Fi smart LED ...
So I have no idea why the command line stops working when Mosquitto ... all you need to do is register the devices...
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