Open povlhp opened 4 years ago
More update, I have some websocket comms on 8000 - should I use port 8000 in config ?: This seems to be keypresses
GET /socket.io/1/websocket/VNItgjf2qjs9vBfAAskp HTTP/1.1
Host: 192.168.1.153:8000
Sec-WebSocket-Key: NASf7CINERHQnOHMKCFLTw==
Sec-WebSocket-Version: 13
Upgrade: websocket
Origin: http://192.168.1.153:8000
Authorization: Basic KG51bGwpOihudWxsKQ==
Connection: Upgrade
...
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: HpTJ98DRZnmd7pY+5FYujqSlS3k=
....
Øy9ÛüÕ±EPkÍ@@I[À¨À¨@Üd=&HCz:7³
[ë~5::/com.samsung.companion:{"name":"receiveCommon","args":"[24,222,19,14,103,111,0,23,63,251,89,174,205,230,133,20,174,99,11,162,18,235,49,198,194,102,236,71,18,229,97,233,249,155,26,31,15,186,6,131,248,88,128,70,81,19,110,108,129,163,165,28,40,0,71,72,185,95,233,151,88,3,2,209]"}
More info. This .NET code works on Windows, and gets the 4 digit code etc https://github.com/timelery/Samsung-RemoteControl
samsungctl does not work.
I've wrote a custom component to support H and J models, your TV uses pin mode correct? If possible try this: https://github.com/arturleao/samsungtv_custom
/api/v2/ works on 8001 and https 8002
The Samsung Smartview_Frame app works fine. Been doing tcpdump of traffic between phone and TV. Uses UDP and TCP - Lots of DLNA is looks like. port 9000 on phone looks like uPnP webserver. Some /ws/pairing/ taking place on port 8080 of TV.
Have full PCAP including pin pairing if it can help.
And I have these open ports: