tuya-cli link hangs and times out at "Registering device(s)..."
See original GitHub issueI’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:
- Created 4 years ago
- Comments:79 (13 by maintainers)
Top GitHub Comments
@FearNaBoinne Thanks. Also changed from network and now it works!
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)