Announcement

Collapse
No announcement yet.

Samsung 6 Series Issues

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Samsung 6 Series Issues

    I'm getting the following error when trying to use the remote functions for my samsung tv:

    Error in ConnectCallback calling EndConnect with ipAddress = 192.168.1.12 with Error = No connection could be made because the target machine actively refused it 192.168.1.12:55000

    The tv is not displaying the pop up for access permission.

    My Tv is a Samsung 6 Series (2016) and model # is: UN55KU6270FXZA

    #2
    Is it possible to change the port that it connects to?

    I'm gonna fire up some packet sniffing software with my IOS remote app to see if I can figure out why its not connecting.

    Comment


      #3
      Originally posted by bjm2020 View Post
      Is it possible to change the port that it connects to?

      I'm gonna fire up some packet sniffing software with my IOS remote app to see if I can figure out why its not connecting.
      Since the E-series (might have been D), Samsung changed their remote control functions and it has been impossible to replicate given it is all encrypted. As to this day, I haven't been able to find any posting that has figured out how this works and snooping it, just results in logging gibberish.

      If you do find something, I'm all ears. Only (newer) TV currently supported (for remote control) by this PI are Sony's, which do an excellent job publishing what can be controlled.

      Dirk

      Comment


        #4
        Here is a github with a working python module:

        https://github.com/Ape/samsungctl/

        I have tested and confirmed that it works with my TV. It appears that he is using the following api:

        http://developer.samsung.com/onlined...ontroller.html

        Comment


          #5
          Originally posted by bjm2020 View Post
          Here is a github with a working python module:

          https://github.com/Ape/samsungctl/

          I have tested and confirmed that it works with my TV. It appears that he is using the following api:

          http://developer.samsung.com/onlined...ontroller.html
          Interesting. Could have sworn I looked at this in the past and concluded this is for "old" style TVs but it hints it works for newer TVs as well. Will study it and hope I can try it out on my "H" series

          Comment


            #6
            You may very well have. It looks like they added support for the "new" TV's after initial release. Someone else was able to reverse engineer the protocol and he used that to add support for the 2016+ models.

            I was gonna take a crack at writing something for this, but at the moment my time is limited. It would likely take me a while.

            Let me know if you get anything going with it in the meantime. I'm definitely willing to help test.

            Comment


              #7
              Originally posted by bjm2020 View Post
              You may very well have. It looks like they added support for the "new" TV's after initial release. Someone else was able to reverse engineer the protocol and he used that to add support for the 2016+ models.

              I was gonna take a crack at writing something for this, but at the moment my time is limited. It would likely take me a while.

              Let me know if you get anything going with it in the meantime. I'm definitely willing to help test.
              It makes me wonder whether there is yet another protocol introduced, say 2016 and newer, JSON/HTML based. Since the E series, I could have sworn that it was all buttoned up with an encrypted protocol with an app running on the TV. It will be interested to see what my latest Samsung (H series) can do, so I can debug something. Pretty much all links the author refers to is the old protocol which is already in the PI for many years.

              Dirk

              Comment


                #8
                It appears that way.

                Is the difference between your implementation for the "older" tv's and the 2016 one's just the use of websockets instead of the http protocol?

                I'm not too familiar with the difference in the protocols.

                Comment


                  #9
                  Progress

                  I implemented what was described in the links. It seems to open the port but when I try to do so something I get an error. There are posting of other people also saying it doesn't work. I actually have a "J" series TV and it might work for a "K" series TV.

                  So find in attachment a zip file to place in the homeseer home directory.

                  You can always go back by using the installer to select the official version.

                  DO turn on the debug flag of the PI (NOT superdebug and NOT the UPNP logger) and post your log, whether works or not, I need to compare some info.

                  I would also appreciate if you could type in the following URLs and post the result.
                  http:// tv_ip_address:8001/ms/1.0/
                  http:// tv_ip_address:8001/api/v2/

                  You activate this by making sure your TV is on when you start the PI, go to the config page and click on ADD for the remote control function. Then go to the device management page and click on "add remote buttons".

                  Refresh the device page and click on say "Source HDMI". Capture that log and post it.

                  I would also appreciate if you could go to the config page, click on "view UPNP devices" and for ALL the TV devices, click on the hyperlink , which is actually the device name. Capture the result and post it. I want to see what other version of Samsung TV post in their device UPNP XML.

                  Dirk
                  Last edited by dcorsus; August 23, 2017, 10:59 PM.

                  Comment


                    #10
                    http:// tv_ip_address:8001/ms/1.0/:

                    {
                    "DUID": "uuid:322259e5-91dc-4de2-aee4-20d1281f3cbd",
                    "Model": "16_JAZZL_UHD_BASIC",
                    "ModelName": "UN55KU6270",
                    "ModelDescription": "Samsung DTV RCR",
                    "NetworkType": "wireless",
                    "SSID": "6c:b0:ce:26:dd:12",
                    "IP": "192.168.1.3",
                    "FirmwareVersion": "Unknown",
                    "DeviceName": "[TV] Samsung 6 Series (55)",
                    "DeviceID": "uuid:322259e5-91dc-4de2-aee4-20d1281f3cbd",
                    "UDN": "uuid:322259e5-91dc-4de2-aee4-20d1281f3cbd",
                    "Resolution": "3840x2160",
                    "CountryCode": "US",
                    "SmartHubAgreement": "true",
                    "ServiceURI": "http://192.168.1.3:8001/ms/1.0/",
                    "DialURI": "http://192.168.1.3:8001/ws/apps/",
                    "Capabilities": [
                    {
                    "name": "samsung:multiscreen:1",
                    "port": "8001",
                    "location": "/ms/1.0/"
                    }
                    ]


                    http:// tv_ip_address:8001/api/v2/:

                    {
                    "id": "uuid:322259e5-91dc-4de2-aee4-20d1281f3cbd",
                    "name": "[TV] Samsung 6 Series (55)",
                    "version": "2.1.0",
                    "device": {
                    "type": "Samsung SmartTV",
                    "duid": "uuid:322259e5-91dc-4de2-aee4-20d1281f3cbd",
                    "model": "16_JAZZL_UHD_BASIC",
                    "modelName": "UN55KU6270",
                    "description": "Samsung DTV RCR",
                    "networkType": "wireless",
                    "ssid": "6c:b0:ce:26:dd:12",
                    "ip": "192.168.1.3",
                    "firmwareVersion": "Unknown",
                    "name": "[TV] Samsung 6 Series (55)",
                    "id": "uuid:322259e5-91dc-4de2-aee4-20d1281f3cbd",
                    "udn": "uuid:322259e5-91dc-4de2-aee4-20d1281f3cbd",
                    "resolution": "3840x2160",
                    "countryCode": "US",
                    "msfVersion": "2.1.0",
                    "smartHubAgreement": "true",
                    "VoiceSupport": "false",
                    "GamePadSupport": "true",
                    "wifiMac": "B8:BB:AF:202:E4",
                    "developerMode": "0",
                    "developerIP": "",
                    "OS": "Tizen"
                    },
                    "type": "Samsung SmartTV",
                    "uri": "http://192.168.1.3:8001/api/v2/",
                    "remote": "1.0",
                    "isSupport": "{\"remote_available\":\"true\",\"remote_fourDirections\":\" true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\": \"false\",\"DMP_available\":\"true\",\"DMP_DRM_PLAYREADY\":\ "false\",\"DMP_DRM_WIDEVINE\":\"false\",\"EDEN_available\":\ "true\"}"
                    }

                    UPNP SOURCES:

                    UPnP Device Viewer uuid:471e8c14-6f8d-46da-ae65-aa0ca1a57307
                    Alive = True
                    Friendly Name = [TV] Samsung 6 Series (55)
                    Device UDN = uuid:471e8c14-6f8d-46da-ae65-aa0ca1a57307
                    IP Address = 192.168.1.3
                    IP Port = 9595
                    Location = http://192.168.1.3:9595/smartthingstv
                    Device Type = urn:samsung.com:device:SmartThingsTvDevice:1
                    Application URL =
                    Has Children = False
                    ManufacturerName = Samsung
                    Model Number = UKU6070

                    UPnP Device Viewer uuid:322259e5-91dc-4de2-aee4-20d1281f3cbd
                    Alive = True
                    Friendly Name = [TV] Samsung 6 Series (55)
                    Device UDN = uuid:322259e5-91dc-4de2-aee4-20d1281f3cbd
                    IP Address = 192.168.1.3
                    IP Port = 7678
                    Location = http://192.168.1.3:7678/nservice/
                    Device Type = urn:dial-multiscreen-org:device:dialreceiver:1
                    Application URL = http://192.168.1.3:8080/ws/app/
                    Has Children = False
                    ManufacturerName = Samsung Electronics
                    Model Number = 1.0

                    Has Services = 1
                    Service ID = urn:dial-multiscreen-org:serviceId:dial
                    ******Service Type Identifier = urn:dial-multiscreen-org:service:dial:1
                    ******Service LastTransportStatus = 0
                    ******Service Type = urn:dial-multiscreen-org:service:dial:1
                    ******Service URL = http://192.168.1.3:7678/nservice/dial.xml
                    ******Service Control URL = http://192.168.1.3:7678/RCR/control/dial
                    ******Service Event URL = http://192.168.1.3:7678/RCR/event/dial

                    UPnP Device Viewer uuid:f4711ec9-26a5-4478-b326-92d92762bd7c
                    Alive = True
                    Friendly Name = [TV] Samsung 6 Series (55)
                    Device UDN = uuid:f4711ec9-26a5-4478-b326-92d92762bd7c
                    IP Address = 192.168.1.3
                    IP Port = 9197
                    Location = http://192.168.1.3:9197/dmr
                    Device Type = urn:schemas-upnp-org:device:MediaRenderer:1
                    Application URL =
                    Has Children = False
                    ManufacturerName = Samsung Electronics
                    Model Number = AllShare1.0

                    Has Services = 4
                    Service ID = urn:upnp-org:serviceId:RenderingControl
                    ******Service Type Identifier = urn:schemas-upnp-org:service:RenderingControl:1
                    ******Service LastTransportStatus = 0
                    ******Service Type = urn:schemas-upnp-org:service:RenderingControl:1
                    ******Service URL = http://192.168.1.3:9197/RenderingControl_1.xml
                    ******Service Control URL = http://192.168.1.3:9197/upnp/control/RenderingControl1
                    ******Service Event URL = http://192.168.1.3:9197/upnp/event/RenderingControl1

                    Service ID = urn:upnp-org:serviceId:ConnectionManager
                    ******Service Type Identifier = urn:schemas-upnp-org:service:ConnectionManager:1
                    ******Service LastTransportStatus = 0
                    ******Service Type = urn:schemas-upnp-org:service:ConnectionManager:1
                    ******Service URL = http://192.168.1.3:9197/ConnectionManager_1.xml
                    ******Service Control URL = http://192.168.1.3:9197/upnp/control/ConnectionManager1
                    ******Service Event URL = http://192.168.1.3:9197/upnp/event/ConnectionManager1

                    Service ID = urn:upnp-org:serviceId:AVTransport
                    ******Service Type Identifier = urn:schemas-upnp-org:service:AVTransport:1
                    ******Service LastTransportStatus = 0
                    ******Service Type = urn:schemas-upnp-org:service:AVTransport:1
                    ******Service URL = http://192.168.1.3:9197/AVTransport_1.xml
                    ******Service Control URL = http://192.168.1.3:9197/upnp/control/AVTransport1
                    ******Service Event URL = http://192.168.1.3:9197/upnp/event/AVTransport1

                    Service ID = urn:upnp-org:serviceId:StreamSplicing
                    ******Service Type Identifier = urn:schemas-rvualliance-org:service:StreamSplicing:1
                    ******Service LastTransportStatus = 0
                    ******Service Type = urn:schemas-rvualliance-org:service:StreamSplicing:1
                    ******Service URL = http://192.168.1.3:9197/StreamSplicing_1.xml
                    ******Service Control URL = http://192.168.1.3:9197/upnp/control/StreamSplicing1
                    ******Service Event URL = http://192.168.1.3:9197/upnp/event/StreamSplicing1

                    UPnP Device Viewer uuid:786125a2-e7bb-490b-9d7d-3ac18190b926
                    Alive = True
                    Friendly Name = [TV] Samsung 6 Series (55)
                    Device UDN = uuid:786125a2-e7bb-490b-9d7d-3ac18190b926
                    IP Address = 192.168.1.3
                    IP Port = 9119
                    Location = http://192.168.1.3:9119/screen_sharing
                    Device Type = urn:samsung.com:device:ScreenSharing:1
                    Application URL =
                    Has Children = False
                    ManufacturerName = Samsung Electronics
                    Model Number = AllShare1.0

                    Has Services = 1
                    Service ID = urn:samsung.com:serviceId:ScreenSharingService
                    ******Service Type Identifier = urn:samsung.com:service:ScreenSharingService:1
                    ******Service LastTransportStatus = 0
                    ******Service Type = urn:samsung.com:service:ScreenSharingService:1
                    ******Service URL = http://192.168.1.3:9119/ScreenSharingService1_1.xml
                    ******Service Control URL = http://192.168.1.3:9119/upnp/control...haringService1
                    ******Service Event URL = http://192.168.1.3:9119/upnp/event/S...haringService1

                    UPnP Device Viewer uuid:f1c6b9ed-5222-4811-95ea-fbaab2d57972
                    Alive = True
                    Friendly Name = [TV] Samsung 6 Series (55)
                    Device UDN = uuid:f1c6b9ed-5222-4811-95ea-fbaab2d57972
                    IP Address = 192.168.1.3
                    IP Port = 7676
                    Location = http://192.168.1.3:7676/rcr/
                    Device Type = urn:samsung.com:device:RemoteControlReceiver:1
                    Application URL = http://192.168.1.3:8080/ws/app/
                    Has Children = False
                    ManufacturerName = Samsung Electronics
                    Model Number = 1.0

                    Has Services = 1
                    Service ID = urn:samsung.com:serviceId:MultiScreenService
                    ******Service Type Identifier = urn:samsung.com:service:MultiScreenService:1
                    ******Service LastTransportStatus = 0
                    ******Service Type = urn:samsung.com:service:MultiScreenService:1
                    ******Service URL = http://192.168.1.3:7676/rcr/MultiScreenService.xml
                    ******Service Control URL = http://192.168.1.3:7676/RCR/control/MultiScreenService
                    ******Service Event URL = http://192.168.1.3:7676/RCR/event/MultiScreenService

                    Comment


                      #11
                      The device is still not working:

                      Here are the logs:

                      Aug-23 12:24:12 AM
                      *
                      MC Error
                      Error in ConnectCallback calling EndConnect with ipAddress = 192.168.1.3 with Error = No connection could be made because the target machine actively refused it 192.168.1.3:55000

                      Aug-23 12:24:07 AM
                      *
                      MC
                      ConnectSocket called with ipAddress = 192.168.1.3 and ipPort = 55000
                      Aug-23 12:24:07 AM
                      *
                      MC
                      EstablishTCPConnection called for UPnPDevice = [TV] Samsung 6 Series (55) and MyRemoteServiceActive = False
                      Aug-23 12:24:07 AM
                      *
                      MC
                      SamsungSendKeyCode was called for UPnPDevice = [TV] Samsung 6 Series (55) with key = KEY_MENU and has created code = S0VZX01FTlU=
                      Aug-23 12:24:07 AM
                      *
                      MC
                      TreatSetIOExSamsung called for UPnPDevice = [TV] Samsung 6 Series (55) and Buttonvalue = 64
                      Aug-23 12:24:07 AM
                      *
                      MC
                      TreatSetIOExSamsung called for UPnPDevice = [TV] Samsung 6 Series (55) and buttonvalue = 64
                      Aug-23 12:24:07 AM
                      *
                      MC
                      TreatSetIOExRemoteControl called for UPnPDevice = [TV] Samsung 6 Series (55) and buttonvalue = 64
                      Aug-23 12:24:07 AM
                      *
                      MC
                      TreatSetIOEx called for device = [TV] Samsung 6 Series (55) with Ref = 205, Index 47, controlFlag = False, ControlString, ControlType = Button, ControlValue = 64, Label = Menu
                      Aug-23 12:24:07 AM
                      *
                      MC
                      SetIOEx called for Ref = 205, Index 47, controlFlag = False, ControlString, ControlType = Button, ControlValue = 64, Label = Menu
                      Aug-23 12:24:07 AM
                      *
                      MC
                      SetIOMulti set value: 64->ref:205
                      Aug-23 12:24:07 AM
                      *
                      MC
                      SetIOMulti called

                      Comment


                        #12
                        Originally posted by bjm2020 View Post
                        The device is still not working:

                        Here are the logs:

                        Aug-23 12:24:12 AM
                        *
                        MC Error
                        Error in ConnectCallback calling EndConnect with ipAddress = 192.168.1.3 with Error = No connection could be made because the target machine actively refused it 192.168.1.3:55000

                        Aug-23 12:24:07 AM
                        *
                        MC
                        ConnectSocket called with ipAddress = 192.168.1.3 and ipPort = 55000
                        Aug-23 12:24:07 AM
                        *
                        MC
                        EstablishTCPConnection called for UPnPDevice = [TV] Samsung 6 Series (55) and MyRemoteServiceActive = False
                        Aug-23 12:24:07 AM
                        *
                        MC
                        SamsungSendKeyCode was called for UPnPDevice = [TV] Samsung 6 Series (55) with key = KEY_MENU and has created code = S0VZX01FTlU=
                        Aug-23 12:24:07 AM
                        *
                        MC
                        TreatSetIOExSamsung called for UPnPDevice = [TV] Samsung 6 Series (55) and Buttonvalue = 64
                        Aug-23 12:24:07 AM
                        *
                        MC
                        TreatSetIOExSamsung called for UPnPDevice = [TV] Samsung 6 Series (55) and buttonvalue = 64
                        Aug-23 12:24:07 AM
                        *
                        MC
                        TreatSetIOExRemoteControl called for UPnPDevice = [TV] Samsung 6 Series (55) and buttonvalue = 64
                        Aug-23 12:24:07 AM
                        *
                        MC
                        TreatSetIOEx called for device = [TV] Samsung 6 Series (55) with Ref = 205, Index 47, controlFlag = False, ControlString, ControlType = Button, ControlValue = 64, Label = Menu
                        Aug-23 12:24:07 AM
                        *
                        MC
                        SetIOEx called for Ref = 205, Index 47, controlFlag = False, ControlString, ControlType = Button, ControlValue = 64, Label = Menu
                        Aug-23 12:24:07 AM
                        *
                        MC
                        SetIOMulti set value: 64->ref:205
                        Aug-23 12:24:07 AM
                        *
                        MC
                        SetIOMulti called
                        The PI still tries to use the "legacy" mechanism, you may need to delete the device (from the config page!!!) and remove and start all over.
                        I already see a difference of "advertised services", which could be the clue that this may work on your TV and not on mine.

                        I forgot to mention that when you click on View UPNP devices and you click on the hyperlink, you need one more click which is the hyperlinked "location". I wasn't 100% sure what to look for in all the published info to determine the TV is legacy or WebClient. I use a tag called sec:Capabilities that I use, would be interested to see if you see it. Please post the WHOLE log, as the log entries should capture it.

                        Dirk

                        Comment


                          #13
                          It appears that you are still using port 55000 to connect. The samsungctl implementation uses port 8001. Port 55000 is closed on my tv.

                          I managed to connect to my tv through c# by modifying a websockets client demo console application and adding the json data used in samsungctl.

                          See the attached file for details:

                          Change the IP Address of your tv in the main method of Program.cs.
                          Run Debug.

                          If connected properly, you should get the following message:

                          Message Received. Server answered: {"event":"ms.channel.connect","data":{"id":"078fc860-87c5-11e7-9f5c-27e43007c988","clients":[{"id":"078fc860-87c5-11e7-9f5c-27e43007c988","connectTime":1503466596328,"attributes":{"nam e":"samsungctltest"},"deviceName":"samsungctltest","isHost": false}]}}

                          Press "s" to send the "KEY_VOLUP" command to the TV.

                          The following JSON is sent to send remote commands:

                          string json = @"
                          {
                          ""method"": ""ms.remote.control"",
                          ""params"": {
                          ""Cmd"": ""Click"",
                          ""DataOfCmd"": ""KEY_VOLUP"",
                          ""Option"": ""false"",
                          ""TypeOfRemote"": ""SendRemoteKey""
                          }
                          }";
                          Attached Files

                          Comment


                            #14
                            <?xml version="1.0"?>
                            <root xmlns:sec="http://www.sec.co.kr/dlna" xmlns:df="http://schemas.microsoft.com/windows/2008/09/devicefoundation" xmlnsnpx="http://schemas.microsoft.com/windows/pnpx/2005/11" xmlns="urn:schemas-upnp-org:device-1-0">
                            <specVersion>
                            <major>1</major>
                            <minor>0</minor>
                            </specVersion>
                            <device>
                            <deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
                            <pnpx:X_compatibleId>MS_DigitalMediaDeviceClass_DMR_V001</pnpx:X_compatibleId>
                            <df:X_deviceCategory>Display.TV.LCD Multimedia.DMR</df:X_deviceCategory>
                            <dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>
                            <friendlyName>[TV] Samsung 6 Series (55)</friendlyName>
                            <manufacturer>Samsung Electronics</manufacturer>
                            <manufacturerURL>http://www.samsung.com/sec</manufacturerURL>
                            <modelDescription>Samsung RVU UHD TV 2016</modelDescription>
                            <modelName>UN55KU6270</modelName>
                            <modelNumber>AllShare1.0</modelNumber>
                            <modelURL>http://www.samsung.com/sec</modelURL>
                            <serialNumber>06763CAHB04567A</serialNumber>
                            <UDN>uuid:f4711ec9-26a5-4478-b326-92d92762bd7c</UDN>
                            <sec:deviceID/>
                            <iconList>
                            <icon>
                            <mimetype>image/jpeg</mimetype>
                            <width>48</width>
                            <height>48</height>
                            <depth>24</depth>
                            <url>/icon_SML.jpg</url>
                            </icon>
                            <icon>
                            <mimetype>image/jpeg</mimetype>
                            <width>120</width>
                            <height>120</height>
                            <depth>24</depth>
                            <url>/icon_LRG.jpg</url>
                            </icon>
                            <icon>
                            <mimetype>image/png</mimetype>
                            <width>48</width>
                            <height>48</height>
                            <depth>24</depth>
                            <url>/icon_SML.png</url>
                            </icon>
                            <icon>
                            <mimetype>image/png</mimetype>
                            <width>120</width>
                            <height>120</height>
                            <depth>24</depth>
                            <url>/icon_LRG.png</url>
                            </icon>
                            </iconList>
                            <serviceList>
                            <service>
                            <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
                            <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
                            <controlURL>/upnp/control/RenderingControl1</controlURL>
                            <eventSubURL>/upnp/event/RenderingControl1</eventSubURL>
                            <SCPDURL>/RenderingControl_1.xml</SCPDURL>
                            </service>
                            <service>
                            <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
                            <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
                            <controlURL>/upnp/control/ConnectionManager1</controlURL>
                            <eventSubURL>/upnp/event/ConnectionManager1</eventSubURL>
                            <SCPDURL>/ConnectionManager_1.xml</SCPDURL>
                            </service>
                            <service>
                            <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
                            <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
                            <controlURL>/upnp/control/AVTransport1</controlURL>
                            <eventSubURL>/upnp/event/AVTransport1</eventSubURL>
                            <SCPDURL>/AVTransport_1.xml</SCPDURL>
                            </service>
                            <service>
                            <serviceType>urn:schemas-rvualliance-org:service:StreamSplicing:1</serviceType>
                            <serviceId>urn:upnp-org:serviceId:StreamSplicing</serviceId>
                            <controlURL>/upnp/control/StreamSplicing1</controlURL>
                            <eventSubURL>/upnp/event/StreamSplicing1</eventSubURL>
                            <SCPDURL>/StreamSplicing_1.xml</SCPDURL>
                            </service>
                            </serviceList>
                            <sec:ProductCap>Tizen,Y2016,WebURIPlayable,NavigateInPause,S creenMirroringP2PMAC=ba:bb:af:20:d2:e4,UHD_SCREEN,SerialNumb er=06763CAHB04567A</sec:ProductCap>
                            <pnpx:X_hardwareId>VEN_0105&DEV_VD0001</pnpx:X_hardwareId>
                            </device>
                            </root>

                            <?xml version="1.0"?>
                            <root xmlns:sec="http://www.sec.co.kr/dlna" xmlns="urn:samsung.com:device-1-0">
                            <specVersion>
                            <major>1</major>
                            <minor>0</minor>
                            </specVersion>
                            <device>
                            <deviceType>urn:samsung.com:device:ScreenSharing:1</deviceType>
                            <friendlyName>[TV] Samsung 6 Series (55)</friendlyName>
                            <manufacturer>Samsung Electronics</manufacturer>
                            <manufacturerURL>http://www.samsung.com/sec</manufacturerURL>
                            <modelDescription>Samsung TV ScreenSharing</modelDescription>
                            <modelName>UN55KU6270</modelName>
                            <modelNumber>AllShare1.0</modelNumber>
                            <modelURL>http://www.samsung.com/sec</modelURL>
                            <serialNumber>ScreenSharing2016</serialNumber>
                            <UDN>uuid:786125a2-e7bb-490b-9d7d-3ac18190b926</UDN>
                            <iconList>
                            <icon>
                            <mimetype>image/jpeg</mimetype>
                            <width>48</width>
                            <height>48</height>
                            <depth>24</depth>
                            <url>/icon_SML.jpg</url>
                            </icon>
                            <icon>
                            <mimetype>image/jpeg</mimetype>
                            <width>120</width>
                            <height>120</height>
                            <depth>24</depth>
                            <url>/icon_LRG.jpg</url>
                            </icon>
                            <icon>
                            <mimetype>image/png</mimetype>
                            <width>48</width>
                            <height>48</height>
                            <depth>24</depth>
                            <url>/icon_SML.png</url>
                            </icon>
                            <icon>
                            <mimetype>image/png</mimetype>
                            <width>120</width>
                            <height>120</height>
                            <depth>24</depth>
                            <url>/icon_LRG.png</url>
                            </icon>
                            </iconList>
                            <serviceList>
                            <service>
                            <serviceType>urn:samsung.com:service:ScreenSharingService: 1</serviceType>
                            <serviceId>urn:samsung.com:serviceId:ScreenSharingService</serviceId>
                            <controlURL>/upnp/control/ScreenSharingService1</controlURL>
                            <eventSubURL>/upnp/event/ScreenSharingService1</eventSubURL>
                            <SCPDURL>/ScreenSharingService1_1.xml</SCPDURL>
                            </service>
                            </serviceList>
                            <sec:X_ScreenSharing>wlanMacAddress:b8:bb:af:20:d2:e4,eth0Ma cAddress:e4:7d:bd:6d:3c:af,p2pDeviceAddress:ba:bb:af:20:d2:e 4,BluetoothMacAddress:00:00:00:00:00:00,BLEMacAddress:00:00: 00:00:00:00,supportTDLS:0,supportDMR:1,WFDRole:PrimarySink,s upportP2PHandover:0,DMR_UDN:uuid:f4711ec9-26a5-4478-b326-92d92762bd7c,listenFrequency:5765,wlanFrequency:5765,bssid:6 c:b0:ce:26:dd:12</sec:X_ScreenSharing>
                            </device>
                            </root>

                            <?xml version="1.0"?>
                            <root xmlns:sec="http://www.sec.co.kr/dlna" xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">
                            <specVersion>
                            <major>1</major>
                            <minor>0</minor>
                            </specVersion>
                            <device>
                            <deviceType>urn:samsung.com:device:RemoteControlReceiver:1 </deviceType>
                            <friendlyName>[TV] Samsung 6 Series (55)</friendlyName>
                            <manufacturer>Samsung Electronics</manufacturer>
                            <manufacturerURL>http://www.samsung.com/sec</manufacturerURL>
                            <modelDescription>Samsung DTV RCR</modelDescription>
                            <modelName>UN55KU6270</modelName>
                            <modelNumber>1.0</modelNumber>
                            <modelURL>http://www.samsung.com/sec</modelURL>
                            <serialNumber>20090804RCR</serialNumber>
                            <UDN>uuid:f1c6b9ed-5222-4811-95ea-fbaab2d57972</UDN>
                            <sec:deviceID>SHCHC5ZTTO2RS</sec:deviceID>
                            <sec:ProductCap>Resolution:1920X1080,Tizen,Y2016</sec:ProductCap>
                            <serviceList>
                            <service>
                            <serviceType>urn:samsung.com:service:MultiScreenService:1</serviceType>
                            <serviceId>urn:samsung.com:serviceId:MultiScreenService</serviceId>
                            <controlURL>/RCR/control/MultiScreenService</controlURL>
                            <eventSubURL>/RCR/event/MultiScreenService</eventSubURL>
                            <SCPDURL>MultiScreenService.xml</SCPDURL>
                            </service>
                            </serviceList>
                            <sec:Capabilities>
                            <sec:Capability name="samsung:multiscreen:1" location="/ms/1.0/" port="8001"/>
                            </sec:Capabilities>
                            </device>
                            </root>

                            <?xml version="1.0"?>
                            <root xmlns:sec="http://www.sec.co.kr/dlna" xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">
                            <specVersion>
                            <major>1</major>
                            <minor>0</minor>
                            </specVersion>
                            <device>
                            <deviceType>urn:samsung.com:device:SmartThingsTvDevice:1</deviceType>
                            <friendlyName>[TV] Samsung 6 Series (55)</friendlyName>
                            <manufacturer>Samsung</manufacturer>
                            <manufacturerURL>http://www.samsung.com/sec</manufacturerURL>
                            <modelDescription>Samsung Smart TV</modelDescription>
                            <modelName>UKU6070</modelName>
                            <modelNumber>UKU6070</modelNumber>
                            <modelURL>http://www.samsung.com/sec</modelURL>
                            <serialNumber/>
                            <UDN>uuid:471e8c14-6f8d-46da-ae65-aa0ca1a57307</UDN>
                            <sec:deviceID>2</sec:deviceID>
                            <productionYear>2016</productionYear>
                            </device>
                            </root>

                            <?xml version="1.0"?>
                            <root xmlns:sec="http://www.sec.co.kr/dlna" xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">
                            <specVersion>
                            <major>1</major>
                            <minor>0</minor>
                            </specVersion>
                            <device>
                            <deviceType>urn:dial-multiscreen-org:device:dialreceiver:1</deviceType>
                            <friendlyName>[TV] Samsung 6 Series (55)</friendlyName>
                            <manufacturer>Samsung Electronics</manufacturer>
                            <manufacturerURL>http://www.samsung.com/sec</manufacturerURL>
                            <modelDescription>Samsung DTV RCR</modelDescription>
                            <modelName>UN55KU6270</modelName>
                            <modelNumber>1.0</modelNumber>
                            <modelURL>http://www.samsung.com/sec</modelURL>
                            <serialNumber>20090804RCR</serialNumber>
                            <UDN>uuid:322259e5-91dc-4de2-aee4-20d1281f3cbd</UDN>
                            <sec:deviceID>NSNSC5ZTTO2RS</sec:deviceID>
                            <sec:ProductCap>Resolution:1920X1080,Tizen,Y2016</sec:ProductCap>
                            <serviceList>
                            <service>
                            <serviceType>urn:dial-multiscreen-org:service:dial:1</serviceType>
                            <serviceId>urn:dial-multiscreen-org:serviceId:dial</serviceId>
                            <controlURL>/RCR/control/dial</controlURL>
                            <eventSubURL>/RCR/event/dial</eventSubURL>
                            <SCPDURL>dial.xml</SCPDURL>
                            </service>
                            </serviceList>
                            <sec:Capabilities>
                            <sec:Capability name="samsung:multiscreen:1" location="/ms/1.0/" port="8001"/>
                            </sec:Capabilities>
                            </device>
                            </root>

                            Comment


                              #15
                              Originally posted by bjm2020 View Post
                              It appears that you are still using port 55000 to connect. The samsungctl implementation uses port 8001. Port 55000 is closed on my tv.
                              The PI now supports both methods but is using the wrong one, either because the info it is using in its .ini file is wrong or it isn't finding what it is looking for (or you are not using the right version .21). So if after deleting and removing the remote control device (FROM PI CONFIG PAGE!!); adding it again; if still not working, stop HS3 and manually modify the mediacontroller.ini file.

                              Look for the section that belongs to the remote controller, look for this
                              diDeviceType=RCR and this diRemoteType=SamsungWebSocket. You most likely will find diRemoteType=Samsungiapp, so change it to diRemoteType=SamsungWebSocket

                              Then add the following to entries (in the same section!!)
                              diSamsungWebSocketName=samsung:multiscreen:1
                              diSamsungWebSocketPort=8001
                              diSamsungWebSocketLocation=/ms/1.0/

                              restart the PI and see if it now opens the right port.

                              Dirk

                              Comment

                              Working...
                              X