Samsung Smart TV Plus
- kgschlosser
- Site Admin
- Posts: 5508
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Samsung Smart TV Plus
here use this one. This si the gold standard for port scanners. took me a bit to remember which one it was..
https://nmap.org/dist/nmap-7.80-setup.exe
there is no need to enter any kind of information. it's free.
https://nmap.org/dist/nmap-7.80-setup.exe
there is no need to enter any kind of information. it's free.
Re: Samsung Smart TV Plus
Result from NMAP hopefully I used the right options:
jonib
Code: Select all
Starting Nmap 7.80 ( https://nmap.org ) at 2019-09-01 06:42 W. Europe Daylight Time
Happy 22nd Birthday to Nmap, may it live to be 122!
NSE: Loaded 151 scripts for scanning.
NSE: Script Pre-scanning.
Initiating NSE at 06:42
Completed NSE at 06:42, 0.00s elapsed
Initiating NSE at 06:42
Completed NSE at 06:42, 0.00s elapsed
Initiating NSE at 06:42
Completed NSE at 06:42, 0.00s elapsed
Initiating ARP Ping Scan at 06:42
Scanning 192.168.1.204 [1 port]
Completed ARP Ping Scan at 06:42, 0.20s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 06:42
Completed Parallel DNS resolution of 1 host. at 06:42, 0.00s elapsed
Initiating UDP Scan at 06:42
Scanning 192.168.1.204 [1 port]
Completed UDP Scan at 06:42, 0.00s elapsed (1 total ports)
Initiating Service scan at 06:42
Initiating OS detection (try #1) against 192.168.1.204
Retrying OS detection (try #2) against 192.168.1.204
NSE: Script scanning 192.168.1.204.
Initiating NSE at 06:43
Completed NSE at 06:43, 0.00s elapsed
Initiating NSE at 06:43
Completed NSE at 06:43, 0.00s elapsed
Initiating NSE at 06:43
Completed NSE at 06:43, 0.00s elapsed
Nmap scan report for 192.168.1.204
Host is up (0.0015s latency).
PORT STATE SERVICE VERSION
55000/udp closed unknown
MAC Address: 00:12:FB:21:39:F5 (Samsung Electronics)
Too many fingerprints match this host to give specific OS details
Network Distance: 1 hop
TRACEROUTE
HOP RTT ADDRESS
1 1.46 ms 192.168.1.204
NSE: Script Post-scanning.
Initiating NSE at 06:43
Completed NSE at 06:43, 0.00s elapsed
Initiating NSE at 06:43
Completed NSE at 06:43, 0.00s elapsed
Initiating NSE at 06:43
Completed NSE at 06:43, 0.00s elapsed
Read data files from: D:\Program\Network\Nmap
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 3.60 seconds
Raw packets sent: 17 (2.708KB) | Rcvd: 15 (1.428KB)
- kgschlosser
- Site Admin
- Posts: 5508
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Samsung Smart TV Plus
55000/udp
small issue. needs to be TCP.
scan the IP for all ports. TCP
small issue. needs to be TCP.
scan the IP for all ports. TCP
Re: Samsung Smart TV Plus
Hmm, I thought I did scan both TCP and UDP, and both ware closed, I'll try again later after I eat.
Why all ports? isn't 55000 enough?scan the IP for all ports. TCP
jonib
Re: Samsung Smart TV Plus
Port 55000/tcp
All ports
jonib
Code: Select all
Starting Nmap 7.80 ( https://nmap.org ) at 2019-09-01 18:27 W. Europe Daylight Time
Happy 22nd Birthday to Nmap, may it live to be 122!
NSE: Loaded 151 scripts for scanning.
NSE: Script Pre-scanning.
Initiating NSE at 18:27
Completed NSE at 18:27, 0.00s elapsed
Initiating NSE at 18:27
Completed NSE at 18:27, 0.00s elapsed
Initiating NSE at 18:27
Completed NSE at 18:27, 0.00s elapsed
Initiating ARP Ping Scan at 18:27
Scanning 192.168.1.204 [1 port]
Completed ARP Ping Scan at 18:27, 0.20s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 18:27
Completed Parallel DNS resolution of 1 host. at 18:27, 0.00s elapsed
Initiating SYN Stealth Scan at 18:27
Scanning 192.168.1.204 [1 port]
Completed SYN Stealth Scan at 18:27, 0.00s elapsed (1 total ports)
Initiating Service scan at 18:27
Initiating OS detection (try #1) against 192.168.1.204
Retrying OS detection (try #2) against 192.168.1.204
NSE: Script scanning 192.168.1.204.
Initiating NSE at 18:27
Completed NSE at 18:27, 0.00s elapsed
Initiating NSE at 18:27
Completed NSE at 18:27, 0.00s elapsed
Initiating NSE at 18:27
Completed NSE at 18:27, 0.00s elapsed
Nmap scan report for 192.168.1.204
Host is up (0.0019s latency).
PORT STATE SERVICE VERSION
55000/tcp closed unknown
MAC Address: 00:12:FB:21:39:F5 (Samsung Electronics)
Too many fingerprints match this host to give specific OS details
Network Distance: 1 hop
TRACEROUTE
HOP RTT ADDRESS
1 1.90 ms 192.168.1.204
NSE: Script Post-scanning.
Initiating NSE at 18:27
Completed NSE at 18:27, 0.00s elapsed
Initiating NSE at 18:27
Completed NSE at 18:27, 0.00s elapsed
Initiating NSE at 18:27
Completed NSE at 18:27, 0.00s elapsed
Read data files from: D:\Program\Network\Nmap
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 4.33 seconds
Raw packets sent: 14 (1.740KB) | Rcvd: 14 (1.672KB)
Code: Select all
Starting Nmap 7.80 ( https://nmap.org ) at 2019-09-01 18:30 W. Europe Daylight Time
Happy 22nd Birthday to Nmap, may it live to be 122!
NSE: Loaded 151 scripts for scanning.
NSE: Script Pre-scanning.
Initiating NSE at 18:30
Completed NSE at 18:30, 0.00s elapsed
Initiating NSE at 18:30
Completed NSE at 18:30, 0.00s elapsed
Initiating NSE at 18:30
Completed NSE at 18:30, 0.00s elapsed
Initiating ARP Ping Scan at 18:30
Scanning 192.168.1.204 [1 port]
Completed ARP Ping Scan at 18:30, 0.21s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 18:30
Completed Parallel DNS resolution of 1 host. at 18:30, 0.00s elapsed
Initiating SYN Stealth Scan at 18:30
Scanning 192.168.1.204 [65535 ports]
Discovered open port 52396/tcp on 192.168.1.204
Completed SYN Stealth Scan at 18:30, 6.33s elapsed (65535 total ports)
Initiating Service scan at 18:30
Scanning 1 service on 192.168.1.204
Completed Service scan at 18:30, 11.02s elapsed (1 service on 1 host)
Initiating OS detection (try #1) against 192.168.1.204
NSE: Script scanning 192.168.1.204.
Initiating NSE at 18:30
Completed NSE at 18:30, 1.55s elapsed
Initiating NSE at 18:30
Completed NSE at 18:30, 0.03s elapsed
Initiating NSE at 18:30
Completed NSE at 18:30, 0.00s elapsed
Nmap scan report for 192.168.1.204
Host is up (0.0013s latency).
Not shown: 65534 closed ports
PORT STATE SERVICE VERSION
52396/tcp open http DMRND httpd 0.5 (Samsung HT-C5200 entertainment system)
|_http-server-header: DMRND/0.5
|_http-title: Site doesn't have a title.
MAC Address: 00:12:FB:21:39:F5 (Samsung Electronics)
Device type: general purpose
Running: Linux 2.6.X
OS CPE: cpe:/o:linux:linux_kernel:2.6
OS details: Linux 2.6.9 - 2.6.30
Uptime guess: 0.076 days (since Sun Sep 01 16:40:48 2019)
Network Distance: 1 hop
TCP Sequence Prediction: Difficulty=207 (Good luck!)
IP ID Sequence Generation: All zeros
Service Info: Device: media device; CPE: cpe:/h:samsung:ht-c5200
TRACEROUTE
HOP RTT ADDRESS
1 1.33 ms 192.168.1.204
NSE: Script Post-scanning.
Initiating NSE at 18:30
Completed NSE at 18:30, 0.00s elapsed
Initiating NSE at 18:30
Completed NSE at 18:30, 0.00s elapsed
Initiating NSE at 18:30
Completed NSE at 18:30, 0.00s elapsed
Read data files from: D:\Program\Network\Nmap
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 22.43 seconds
Raw packets sent: 65555 (2.885MB) | Rcvd: 65553 (2.623MB)
- kgschlosser
- Site Admin
- Posts: 5508
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Samsung Smart TV Plus
well the reason why i wanted you to do all ports is just because port 55000 may be closed and typical "TCP" remote control is not available doesn't mean you are SOL (Shit Out of Luck). The older the Samsung TV the better the UPNP support. and that's the cool thing is that all of the "Events" come from the UPNP side of things. I have done a lot of work expanding the python library samsungctl. You can give it a try if you like I have it on GitHub you will need to use the develop branch. I have not done any work in it in the last few months. I have been super busy with life. I expanded it to support UPNP as well. the original library supported TV's that either used the legacy (port 55000) and the standard websocket TV's. This library supports ALL Samsung TV's that have a network jack and/or a WiFi card. I may need to tweak it a bit in order to get it to run without using the legacy connection. I never thought about making the library able to work in that way But it would appear that there is a need.
If you want to see what UPNP functions are available you can also use my UPNP Device library. also on GitHub.
If you want to see what UPNP functions are available you can also use my UPNP Device library. also on GitHub.
Re: Samsung Smart TV Plus
So will it work with my TV? looks like 52396/tcp is open.
I will definitely check out your UPnP stuff when I finally start to work on my Kodi plugin.
jonib
I will definitely check out your UPnP stuff when I finally start to work on my Kodi plugin.
jonib
Re: Samsung Smart TV Plus
Hi,
New EG user here. I am trying to use this plugin to communicate with a 2018 model Samsung TV. When I add the plugin, I receive a messag in the log saying "Reading Config" but nothing further happens. No popup on TV or computer. I do see that the file %APPDATA%\EventGhost\config.py does contain "Dummy" information for the TV - but this is not valid for my TV.
Can anybody please provide any pointers on how to troubleshoot this? Logs to look for etc. Tried the basics - disable firewall, etc. Can ping the TV and also access it from Home Assistant plugin.
Thanks.
New EG user here. I am trying to use this plugin to communicate with a 2018 model Samsung TV. When I add the plugin, I receive a messag in the log saying "Reading Config" but nothing further happens. No popup on TV or computer. I do see that the file %APPDATA%\EventGhost\config.py does contain "Dummy" information for the TV - but this is not valid for my TV.
Can anybody please provide any pointers on how to troubleshoot this? Logs to look for etc. Tried the basics - disable firewall, etc. Can ping the TV and also access it from Home Assistant plugin.
Thanks.
Re: Samsung Smart TV Plus
Can someone please re-post the last version of this plugin?
I think I'm looking for something in the "SamsungSmartTVPlus-0.4.1b.egplugin" range? Someone else posted a copy but it was a very early copy and is not working for me.
TIA
I think I'm looking for something in the "SamsungSmartTVPlus-0.4.1b.egplugin" range? Someone else posted a copy but it was a very early copy and is not working for me.
TIA
Re: Samsung Smart TV Plus
Ah - that's probably my issue. I'm using the version which was posted a couple of pages back which looks like a very old version.
- kgschlosser
- Site Admin
- Posts: 5508
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Samsung Smart TV Plus
2018 TV all depends on the firmware and if your TV is using SSL websockets or not. If it is using SSL websockets then you are going to have to wait a bit longer. I need to finish up the library but i need to have access to a new TV to hammer out the last few things. and This I have not gotten my hands on yet. My neighbor has a frameTV but I do not think he is going to want to part with it while i reverse engineer the API on the thing. and I really hate Samsung as a company so I am not willing to go out and spend the money on a new TV just to get the software running.
If someone was willing to set up a VPN and allow me access to the network to test against their TV I would be more then willing to continue my work. I had to many people that use Home Assistant nagging the crap out of me about getting the thing working so I finally walked away from it for a while. Now that there seems to be more interest in it here I am willing to continue the work. But I need access to a TV.
If someone was willing to set up a VPN and allow me access to the network to test against their TV I would be more then willing to continue my work. I had to many people that use Home Assistant nagging the crap out of me about getting the thing working so I finally walked away from it for a while. Now that there seems to be more interest in it here I am willing to continue the work. But I need access to a TV.
Re: Samsung Smart TV Plus
I could probably set up a Wireguard VPN to give you access to the TV if you need (that's the only way I've been able to get a VPN working as I am behind CGNAT). Going to be away for work for the next few days but will be back towards the end of next week. I had also tried getting access from home assistant (new user) to the TV with partial success, but thought I would also try this method as I am more familiar with Windows and my Media PC runs Win10.
More than happy to help with testing where you need.
More than happy to help with testing where you need.
Re: Samsung Smart TV Plus
@kgs
I was also looking at getting the TV connected to Home Assistant and have had "partial" success with that. Since my Media PC which is connected to the TV is running Windows 10 (and I'm a lot more familiar with Windows), I also thought I'd try get it working with Event Ghost.
I'd be happy to let you access my TV via my WireGuard VPN if you need. I'm away for work until late next week, so could probably only set it up then.kgschlosser wrote: ↑Tue Sep 24, 2019 9:14 am2018 TV all depends on the firmware and if your TV is using SSL websockets or not. If it is using SSL websockets then you are going to have to wait a bit longer. I need to finish up the library but i need to have access to a new TV to hammer out the last few things. and This I have not gotten my hands on yet. My neighbor has a frameTV but I do not think he is going to want to part with it while i reverse engineer the API on the thing. and I really hate Samsung as a company so I am not willing to go out and spend the money on a new TV just to get the software running.
If someone was willing to set up a VPN and allow me access to the network to test against their TV I would be more then willing to continue my work. I had to many people that use Home Assistant nagging the crap out of me about getting the thing working so I finally walked away from it for a while. Now that there seems to be more interest in it here I am willing to continue the work. But I need access to a TV.
I was also looking at getting the TV connected to Home Assistant and have had "partial" success with that. Since my Media PC which is connected to the TV is running Windows 10 (and I'm a lot more familiar with Windows), I also thought I'd try get it working with Event Ghost.
- kgschlosser
- Site Admin
- Posts: 5508
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Samsung Smart TV Plus
well I am the guy that was working on the backend that HASS is/was going to use to connect to the TV's. It's the same backend that I am going to use for EG. I may or may not make the backend public. I will compile the whole thing using Cython so the code cannot be viewed.
The issue is HASS is to much of a pain in the ass to do anything with and No one that knows how to add things to HASS wants to help out. So it is pretty much stuck in limbo. And HASS has so much voodoo code in it getting a line on where a problem is is almost impossible to do. The people that want to help out do not know a thing about python and only know HASS which doesn't help. so I walked away from it for a bit because I was getting really annoyed with it. EG is more of a true python environment so if it works as a python library it IS going to work as a plugin as well.
The issue is HASS is to much of a pain in the ass to do anything with and No one that knows how to add things to HASS wants to help out. So it is pretty much stuck in limbo. And HASS has so much voodoo code in it getting a line on where a problem is is almost impossible to do. The people that want to help out do not know a thing about python and only know HASS which doesn't help. so I walked away from it for a bit because I was getting really annoyed with it. EG is more of a true python environment so if it works as a python library it IS going to work as a plugin as well.
Re: Samsung Smart TV Plus
Can I second rdgerken's request for an up-to-date link to a download for the plugin?
I've been through the thread and none of the links work any more.
Last part of my media setup would be to have proper control of the TV. I'm happy to test stuff out too Kevin. To be honest I can't remember when I bought my TV but if I can feed back useful stuff I will.
I've been through the thread and none of the links work any more.
Last part of my media setup would be to have proper control of the TV. I'm happy to test stuff out too Kevin. To be honest I can't remember when I bought my TV but if I can feed back useful stuff I will.