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.

Unable to run tuya-lan-find to find key's and id's.

See original GitHub issue

First, I had to manually install the npm debug package. Now I am seeing the following error. I’m running homebridge on a Raspberry Pi Zero W.

    let {address, port} = proxy.httpServer.address();

TypeError: Cannot read property 'address' of undefined
    at proxy.listen (/usr/local/lib/node_modules/homebridge-tuya-lan/bin/cli.js:175:44)
    at /usr/local/lib/node_modules/homebridge-tuya-lan/node_modules/http-mitm-proxy/lib/proxy.js:62:14
    at /usr/local/lib/node_modules/homebridge-tuya-lan/node_modules/http-mitm-proxy/lib/ca.js:130:14
    at /usr/local/lib/node_modules/homebridge-tuya-lan/node_modules/http-mitm-proxy/node_modules/async/dist/async.js:3888:9
    at /usr/local/lib/node_modules/homebridge-tuya-lan/node_modules/http-mitm-proxy/node_modules/async/dist/async.js:473:16
    at iterateeCallback (/usr/local/lib/node_modules/homebridge-tuya-lan/node_modules/http-mitm-proxy/node_modules/async/dist/async.js:988:17)
    at /usr/local/lib/node_modules/homebridge-tuya-lan/node_modules/http-mitm-proxy/node_modules/async/dist/async.js:969:16
    at /usr/local/lib/node_modules/homebridge-tuya-lan/node_modules/http-mitm-proxy/node_modules/async/dist/async.js:3885:13
    at /usr/local/lib/node_modules/homebridge-tuya-lan/node_modules/http-mitm-proxy/node_modules/mkdirp/index.js:47:53
    at FSReqWrap.oncomplete (fs.js:152:21)

Issue Analytics

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

github_iconTop GitHub Comments

1aranzantcommented, Jan 20, 2021

I get the following error: Error: Error: listen EADDRINUSE: address already in use :::8080 8080 is my Phoscon web interface

tim-jccommented, Jun 11, 2020

I had the same issue, but running sudo tuya-lan-find sorted it. This on a raspberry pi.

Read more comments on GitHub >

github_iconTop Results From Across the Web

... try restarting your device. Your browser can't play this video. ... We then get this file and take the keys from it!...
Read more >
Controlling TUYA Devices Locally : r/homebridge - Reddit
use its utility “tuya-lan-find” key/id would be listed in the terminal. using config of tuya-lan samples, I add the configuration of your TUYA...
Read more >
Keys & Badges - About UC | University Of Cincinnati
This photo shows the keys hanging in the Keys shop. ... the physical security of the university including the production and issuance of...
Read more >
Tuya local control - Caritas Castellaneta
I do have my device IDs and local keys Aug 08, ... looking to go next with Local use its utility “tuya-lan-find” key/id...
Read more >
Tuya Local Key
NOTE: You must have your Tuya device's Key and ID in order to use LocalTuya. ... não consigo descobrir a key local. use...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found