Closed mikemaat closed 3 years ago
I'm also seeing this problem (although I've only tried turning the tv on/off rather than anything about the remote)
The only thing I can add is that I see the following in the TV debug log:
ERROR | "connect error" | "timestamp: 1609773386900, file: IpcClient.cpp, func: transceive : 126" VERBOSE | "## emitToRCR ##" | "timestamp: 1609773386896, file: TizenDevice.cpp, func: emitToRCR : 720" DEBUG | "msg : {\"method\":\"ms.channel.emit\",\"params\":{\"data\":\"\",\"event\":\"ed.installedApp.get\",\"to\":\"host\"}}\n"
I've also tried upping the timeout on the ws-connection in the code (in ws.js) but that doesn't appear to have helped
Hei!
Thank you for all the details. Unfortunately looks like Samsung did something with the latest OS and removed the feature for opening and getting status of installed apps.
I think is related with decommissioning "Samsung Smart View" app and forcing us to migrate to Smart Things
Setup Details
What Works:
What Doesn't Work
Log
[31/12/2020, 13:54:05] Homebridge is running on port 51826. actual connected Login Request Response: 3 login requested... sending response... sendcommand 005iwuw82CB Command 005 Acknowledged Login Request Response: 1 successfully logged in! getting current data... sendcommand 00191 [31/12/2020, 13:54:06] Main Floor TV is running on port 37719. [31/12/2020, 13:54:06] Please add [Main Floor TV] manually in Home app. Setup Code: 031-45-154 Command 001 Acknowledged Zone 001 is restored [31/12/2020, 13:54:15] [Main Floor TV] [DEBUG] { data: { clients: [ [Object] ], id: 'a22b09d-fa53-4778-b6c0-78883d89aae' }, event: 'ms.channel.connect' } [31/12/2020, 13:54:15] [Main Floor TV] [DEBUG] { method: 'ms.channel.emit', params: { data: '', to: 'host', event: 'ed.installedApp.get' } } Main Floor TV --------------------- <-- Notice this list is empty [31/12/2020, 13:56:59] [Main Floor TV] [DEBUG] { method: 'ms.remote.control', params: { Cmd: 'Click', DataOfCmd: 'KEY_ENTER', Option: false, TypeOfRemote: 'SendRemoteKey' } } [31/12/2020, 13:57:04] [Main Floor TV] [DEBUG] { method: 'ms.remote.control', params: { Cmd: 'Click', DataOfCmd: 'KEY_ENTER', Option: false, TypeOfRemote: 'SendRemoteKey' } } [31/12/2020, 13:57:11] [Main Floor TV] [DEBUG] { method: 'ms.remote.control', params: { Cmd: 'Click', DataOfCmd: 'KEY_MUTE', Option: false, TypeOfRemote: 'SendRemoteKey' } } [31/12/2020, 13:57:18] [Main Floor TV] [DEBUG] { method: 'ms.remote.control', params: { Cmd: 'Click', DataOfCmd: 'KEY_MUTE', Option: false, TypeOfRemote: 'SendRemoteKey' } } [31/12/2020, 13:57:30] [Main Floor TV] [DEBUG] { method: 'ms.remote.control', params: { Cmd: 'Click', DataOfCmd: 'KEY_VOLUP', Option: false, TypeOfRemote: 'SendRemoteKey' } } [31/12/2020, 14:00:56] [Main Floor TV] [DEBUG] { data: { clients: [ [Object] ], id: '91fa55f2-f18c-4422-add1-9c8981339c' }, event: 'ms.channel.connect' } [31/12/2020, 14:00:57] [Main Floor TV] [DEBUG] { method: 'ms.remote.control', params: { Cmd: 'Click', DataOfCmd: 'KEY_ENTER', Option: false, TypeOfRemote: 'SendRemoteKey' } } [31/12/2020, 14:21:32] [Main Floor TV] [DEBUG] { data: { clients: [ [Object] ], id: '97819f2f-c32-4111-a219-a562b0491dcb' }, event: 'ms.channel.connect' } [31/12/2020, 14:21:32] [Main Floor TV] [DEBUG] { method: 'ms.remote.control', params: { Cmd: 'Click', DataOfCmd: 'KEY_ENTER', Option: false, TypeOfRemote: 'SendRemoteKey' } } [31/12/2020, 14:22:19] [Main Floor TV] [DEBUG] { method: 'ms.channel.emit', params: { data: '', to: 'host', event: 'ed.installedApp.get' } } [31/12/2020, 14:22:20] [Main Floor TV] No application found with this id (11101200001) [31/12/2020, 14:22:20] [Main Floor TV] [DEBUG] InvalidAppIdError: No application found with this id (11101200001) at WebSocketSecure.openApplication (/usr/local/lib/node_modules/homebridge-samsung-tizen/lib/methods/ws.js:56:19) at Remote.openApplication (/usr/local/lib/node_modules/homebridge-samsung-tizen/lib/remote.js:108:9) at Object.set (/usr/local/lib/node_modules/homebridge-samsung-tizen/lib/options/switch.js:87:17) at Switch.setSwitch (/usr/local/lib/node_modules/homebridge-samsung-tizen/lib/services/switch.js:63:17)
TV API Response/Support Details