AMoo-Miki / homebridge-tuya-lan

Homebridge plugin for IoT devices that use Tuya Smart's platform
MIT License
196 stars 50 forks source link

Failed to intercept... #263

Open DoinitSideways opened 2 years ago

DoinitSideways commented 2 years ago

Ive tried following the directions multiple times... even removed and reinstalled the tuya app...

repaired all my devices...

i just cannot get anything different then the below output....

Intercepted certificate request Failed to intercept secure communications. This could happen due to bad CA certificate. Failed to intercept secure communications. This could happen due to bad CA certificate. Failed to intercept secure communications. This could happen due to bad CA certificate. Failed to intercept secure communications. This could happen due to bad CA certificate. Error: ERR_SSL_UNSUPPORTED_PROTOCOL [Error: 7472:error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol:c:\ws\deps\openssl\openssl\ssl\statem\statem_srvr.c:1704: ] { library: 'SSL routines', function: 'tls_early_post_process_client_hello', reason: 'unsupported protocol', code: 'ERR_SSL_UNSUPPORTED_PROTOCOL'

doktordeathray commented 2 years ago

Following....

blloyd78 commented 2 years ago

I have exactly the same problem. Tested on an iPhone 12 Pro running iOS 15.2.1 and an iPhone 5S running iOS 12.5.5

Is there an alternative method for obtaining the necessary keys? (And not via the Tuya IOT platform - there is a cross border issue with that at the moment).

JJTech0130 commented 2 years ago

I have the same issue. It says the same thing in the log, and the app complains about no internet connection...

DoinitSideways commented 2 years ago

Just got this link from someone on reddit… All up and working now… they are a little out of date as the Tuya website has changed a little…

https://github.com/iRayanKhan/homebridge-tuya/wiki/Get-Local-Keys-for-Your-Devices

Regards, JB

On 11 Feb 2022, at 11:20 am, JJTech @.***> wrote:



I have the same issue. It says the same thing in the log, and the app complains about no internet connection...

— Reply to this email directly, view it on GitHubhttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAMoo-Miki%2Fhomebridge-tuya-lan%2Fissues%2F263%23issuecomment-1035699882&data=04%7C01%7C%7Cad9d9297fd8248edde4208d9ecfcb823%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637801392440975209%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=07JSS%2BEhFvTPh6r%2FWqmC06%2BNBlLoELqkA2qjCLYjWvo%3D&reserved=0, or unsubscribehttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAWZM5W6MOY7WCBFJYOXECQDU2RP6TANCNFSM5LAPGPUA&data=04%7C01%7C%7Cad9d9297fd8248edde4208d9ecfcb823%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637801392440975209%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=c7y8w846jDSVyp5b3CJfhmSrXSC3Q7QnAvDMTrOdyck%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

dcifer1 commented 11 months ago

Just got this link from someone on reddit… All up and working now… they are a little out of date as the Tuya website has changed a little… https://github.com/iRayanKhan/homebridge-tuya/wiki/Get-Local-Keys-for-Your-Devices

How did you get this working? When I followed that method to pull the "local key" values, I get this error in the Homebridge log: [TuyaLan] (key shown here), key for Light 1 (device id shown here), is not a valid key. [TuyaLan] (key shown here), key for Light 2 (device id shown here), is not a valid key. [TuyaLan] (key shown here), key for Light 3 (device id shown here), is not a valid key. [TuyaLan] (key shown here), key for Light 4 (device id shown here), is not a valid key.

Is there any other way to pull the device key, at least now that I have the device ids?