homebridge-tuya-lan icon indicating copy to clipboard operation
homebridge-tuya-lan copied to clipboard

Cannot discover ids and keys

Open feardamhan opened this issue 4 years ago • 8 comments

Latest homebridge and tuya-lan plugin

Have gone through the proxy configuration several times, but when I open the Tuya app on my iPhone I just get errors like this

Failed to intercept secure communications. This could happen due to bad CA certificate.

and

Error: Error: socket hang up at connResetException (internal/errors.js:610:14) at TLSSocket.onSocketClose (_tls_wrap.js:1062:23) at TLSSocket.emit (events.js:327:22) at net.js:674:12 at Socket.done (_tls_wrap.js:567:7) at Object.onceWrapper (events.js:422:26) at Socket.emit (events.js:315:20) at TCP. (net.js:674:12) { code: 'ECONNRESET' }

I dont get any ids or keys

Any ideas?

feardamhan avatar Nov 09 '20 22:11 feardamhan

I also have this

CallumHoward avatar Nov 14 '20 13:11 CallumHoward

Looks like a duplicate https://github.com/AMoo-Miki/homebridge-tuya-lan/issues/186#issuecomment-629665957

CallumHoward avatar Nov 14 '20 13:11 CallumHoward

I have the same problem.. need a fix for this :(

RuneNyhuus avatar Nov 17 '20 15:11 RuneNyhuus

If that that may help, here's the method I used to get my switch's ids and keys https://www.youtube.com/watch?v=oq0JL_wicKg

Gromga avatar Nov 26 '20 16:11 Gromga

Thanks for the video @Gromga but could you write it up instead? In these kinds of things, for many people, it's easier to read instructions than watch a video.

r3volution11 avatar Dec 12 '20 01:12 r3volution11

Yeah, offsite videos are subject to link decay, and not great if you're having audio problems.

ApopheniaPays avatar Dec 19 '20 08:12 ApopheniaPays

@r3volution11 @ApopheniaPays --- I like (and prefer) write ups as well, but to be fair, its fairly complex. I can attest it works, so suggest that as the person requesting a writeup you guys actually do so. @Gromga did you the favor of pointing out something that works. He didn't make the video.

dcbarry avatar Jan 11 '21 23:01 dcbarry

The roll-your-own-app method I used successfully is written up here.

jdtsmith avatar Jan 27 '21 15:01 jdtsmith