tavicu / homebridge-samsung-tizen

Homebridge plugin for Samsung TV's with Tizen OS
MIT License
646 stars 89 forks source link

TV won't pair at all #241

Closed gradyhouston closed 3 years ago

gradyhouston commented 4 years ago

Hello! The "allow/deny" never comes up on my TV. My TV is compatible and there's nothing in my connected devices.

When I connect my iPhone to the TV, I DO get the "allow/deny" popup on my TV. So, I know the TV is reachable on the network. I can also ping it.

[8/22/2020, 17:50:15] [Basement Console TV] [DEBUG] TV is offline [8/22/2020, 17:50:17] [Basement Console TV] [DEBUG] TV is offline [8/22/2020, 17:50:18] [Basement Console TV] [DEBUG] TV is offline [8/22/2020, 17:50:18] [Basement Console TV] Failed to pair! Make sure TV is online and you click "Allow" on the popup [8/22/2020, 17:50:18] [Basement Console TV] [DEBUG] PairFailedError: Failed to pair! Make sure TV is online and you click "Allow" on the popup at WebSocketSecure.pair (/usr/lib/node_modules/homebridge-samsung-tizen/lib/methods/wss.js:34:19) at processTicksAndRejections (internal/process/task_queues.js:97:5)

There's something specifically preventing this plugin from reaching the TV. No idea what it could be since my iPhone reaches it just fine. I know the logs say "TV is offline" but it is not. It's turned on and connected to the network. I've tried the suggestion in the wiki; hard resetting the TV and restarting HomeBridge does not make the "allow/deny" popup show.

gradyhouston commented 4 years ago

When I click on a command in homebridge, I also get this error:

[Basement Console TV] Failed to open socket {"event":"ms.channel.timeOut"}

I assume this because I can't pair the TV?

ecrode commented 4 years ago

Are you using a 3rd party app, or official samsung smartview app? I have the same issue as you, looks like a recent TV (automatic) firmware update has removed the API which smartview app (and this plugin) is using.

gradyhouston commented 4 years ago

I'm not using any app for the pairing process. I follow the instructions of the plugin, add the IP and MAC address in the config, go into the Home app, and add the accessory (which is the TV) and the Home app does see the TV but the allow/deny popup on the TV never comes.

ecrode commented 4 years ago

What I meant is, what app do you use when connecting your iPhone to the tv, process during which you get allow pop up?

gradyhouston commented 4 years ago

Ah, my mistake. I am using the SmartThings App on iOS.

tavicu commented 4 years ago

Looks like with the 2020 version of TV's they removed the API that this plugin use. Is your tv a 2020 model?

gradyhouston commented 4 years ago

It’s a 2019 model. The Q60R.

On Mon, Sep 14, 2020 at 4:18 AM Octavian Ruda notifications@github.com wrote:

Looks like with the 2020 version of TV's they removed the API that this plugin use. Is your tv a 2020 model?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tavicu/homebridge-samsung-tizen/issues/241#issuecomment-691899177, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5FP6FCORKBDUSTJYXFRJTSFXGWZANCNFSM4QIJWIJA .

-- Grady Houston

ghost commented 4 years ago

I have a 2018 Samsung 65" Class Q7FN. This was working before I had to redo my Raspberry Pi; however, perhaps it's a TV firmware update (1300) that broke it. I never get prompted for pairing, but I can add the TV to the Home app. I just can't do anything else from there. This is what I see in the Homebridge or HOOBS logs:

9/22/2020, 12:52:37 AM [Living Room TV] Failed to pair! Make sure TV is online and you click "Allow" on the popup 9/22/2020, 12:52:38 AM [Master Bedroom TV] Failed to pair! Make sure TV is online and you click "Allow" on the popup

alvaroledesma commented 4 years ago

I am having this exact same issue of

[10/26/2020, 2:36:21 PM] [Bedroom TV] Failed to open socket {"event":"ms.channel.timeOut"}

I am not getting a popup either. I see the remote allowed and it is only allowed to mirror.

jmwachtel commented 3 years ago

Any progress on this? Mine does the same thing. How do we get access to the new API?

tavicu commented 3 years ago

There is no fix for Failed to open socket. That means that the homebridge server can't reach TV or that the TV don't respond to the current API.

@VirtualGuitars Search for uuid in closed issues.

jmwachtel commented 3 years ago

I can reach my TV but all pairing fails:

{"device":{"FrameTVSupport":"false","GamePadSupport":"true","ImeSyncedSupport":"true","OS":"Tizen","TokenAuthSupport":"true","VoiceSupport":"true","countryCode":"US","description":"Samsung DTV RCR","developerIP":"10.0.0.30","developerMode":"1","duid":"uuid:3ff406b4-6ce9-442a-a230-a8c09baddf82","firmwareVersion":"Unknown","id":"uuid:3ff406b4-6ce9-442a-a230-a8c09baddf82","ip":"10.0.30.10","model":"17_KANTM_UHD_BASIC","modelName":"UN55MU6300","name":"[TV] Samsung 6 Series (55)","networkType":"wired","resolution":"3840x2160","smartHubAgreement":"true","type":"Samsung SmartTV","udn":"uuid:3ff406b4-6ce9-442a-a230-a8c09baddf82","wifiMac":"cc:6e:a4:79:b6:9d"},"id":"uuid:3ff406b4-6ce9-442a-a230-a8c09baddf82","isSupport":"{\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"DMP_available\":\"true\",\"EDEN_available\":\"true\",\"FrameTVSupport\":\"false\",\"ImeSyncedSupport\":\"true\",\"TokenAuthSupport\":\"true\",\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"true\"}\n","name":"[TV] Samsung 6 Series (55)","remote":"1.0","type":"Samsung SmartTV","uri":"http://10.0.30.10:8001/api/v2/","version":"2.0.25"}