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.

[TuyaLan] Failed to discover -NAME- (-ID-) in time but will keep looking.

See original GitHub issue

Did everything just like the instructions say. Received id and key pair and added it into config file. When homebridge restarts, I’m getting:

[TuyaLan] Failed to discover Socket (10343760bcddc2232f7a) in time but will keep looking.

My config file:

{
  "platform": "TuyaLan",
  "devices": [
    {
      "name": "Deer Light",
      "type": "Outlet",
      "manufacturer": "BlitzWolf",
      "model": "BW-SHP6",
      "id": "10343760bcddc2232f7a",
      "key": "-KEY-"
    }
  ]
}

Any idea what could be wrong?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AMoo-Mikicommented, Sep 6, 2019

I finally got my hands on one of these.

Please give the latest rc release a shot by doing npm i -g homebridge-tuya-lan@rc. It includes logic to understand this newer API.

A known issue is that the current state is not reported by some devices; they however work fine as soon as you interact with them. I have reached out to Tuya for a solution.

The Setup Instructions have changed in case you need to obtain a fresh id and key.

1reaction
iaansaricommented, Jun 14, 2019

My MCU and WIFI Modules are both at 1.0.1. When I do a firmware check my SmartLife app tells me I am on the latest version. I use the following plugs https://www.amazon.ca/TECKIN-Wireless-Compatible-Function-Required/dp/B07PZ7VVGC/ref=sr_1_2_sspa?keywords=smart+plug&qid=1560525067&s=gateway&sr=8-2-spons&psc=1

So perhaps this is an issue with the newer version of the firmware. Ideally what we need is the ability to specify the devices via IP vs having the homebrige plugin trying to automatically discover them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[TuyaLan] Failed to discover ... in time ... · Issue #33 ... - GitHub
After successfully homebridge-tuya-lan plugin, I am unable to discover my two ... [TuyaLan] Failed to discover -NAME- (-ID-) in time but will keep...
Read more >
[TuyaLan] Failed to discover [NAME] (ID) in time but will keep ...
[TuyaLan] Failed to discover [NAME] (ID) in time but will keep looking. ... I could get the ID, KEY, setup properly but I...
Read more >
Tuya Lan plugin won't recognize my Smart Plugs : r/homebridge
I get the following error: [TuyaLan] Failed to discover Smart Socket 1 (27648171cc50e3e11410) in time but will keep looking. I tried adding the ......
Read more >
get your devices off the cloud with Local Tuya - YouTube
Looking at integrating tuya devices into Home Assistant. Using both the standard tuya integration, and the local tuya integration.
Read more >
HOW TO - Setup Local Tuya in Home Assistant - YouTube
In this video we will be running through the setup process for Local Tuya. We will also be having a look at some...
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