Announcement

Collapse
No announcement yet.

Samsung TV Y2016 and newer (series K and up) remote control

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

    #31
    Originally posted by w.vuyk View Post
    Dirk,

    No I dowloaded the file directly as I had uninstalled it quite some time ago. I now just copied the files from the zip file and that is why the config file was missing. So not a problem really then.

    Thanks,

    Wim
    Highly recommend you first use the installer to install, which will create proper subdirectories and copy other files in right subdirectory. Once that's done, overwrite the exe.

    If there is no "pin" button and the fact the TV asked to approve access, you have either a 2017 model or <2015 ... or so I would think.

    Either way, might all be good. Suggest you turn debug on, best I would say, is to restart HS or the PI, wait until initialized, then hit a few buttons and capture everything. Post log. If you can add a couple of screenshots of Device management page & config page, I would have most the info I need.

    Alternative, turn debug on, delete the device (on the config page), add again, click on create remote buttons and post that log (or both). Don't forget the screenshots.

    Dirk

    Comment


      #32
      Dirk,

      Wil do this. The TV is definitely a 2016 model. But it is a EU model, could that be a reason the button is not shown? Will work on the log once I am back home.

      Thanks,

      Wim
      -- Wim

      Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

      1210 devices/features ---- 392 events ----- 40 scripts

      Comment


        #33
        Dirk,

        Removed the files this morning and installed throught the updater. There was no .config file installed, although the dll's where installled in html\mediacontroller\bin. Checked the zip file, the config file is there, but not addressed in install.txt. Thought you'd like to know.

        I installed the config file by hand and updated with the updated zip, placing the dll's in html\Mediacontroller\bin
        Set the debug flag on, upnp on verbose and restarted the plugin to do its job. No response on wol. Jon00's networkmonitor is using port 9, maybe that helps?

        On the devices, one I send a command through a button press, the remote device's icon changes to a red cross. I suppose there is an error on it?

        Attached some images and the log.

        Thanks,

        Wim
        Attached Files
        -- Wim

        Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

        1210 devices/features ---- 392 events ----- 40 scripts

        Comment


          #34
          Originally posted by w.vuyk View Post
          was no .config file installed, although the dll's where installled in html\mediacontroller\bin. Checked the zip file, the config file is there, but not addressed in install.txt. Thought you'd like to know.
          Will have to have a look at that ! Thanks!

          Originally posted by w.vuyk View Post
          n00's networkmonitor is using port 9, maybe that helps?
          Seem to recall, I tried that as well. Just for my curiosity, how does Jon's PI get the MAC address? Do you need to enter that? Is it the MAC address for the wireless or wired port? In other words, is your TV connected wired or wireless or both.
          I do see in my trace that I can't retrieve the MAC address. Which OS is this running on?


          Originally posted by w.vuyk View Post
          On the devices, one I send a command through a button press, the remote device's icon changes to a red cross. I suppose there is an error on it?
          The log shows it is a Y2016 TV and the information is available. What is not clear is why the PI isn't picking it up. It might be that the information is part of different (UPNP) devices being published by the TV, wouldn't be the first time Samsung moves it around.

          Can you open following URLs in a browser and post the result.
          http://192.168.1.6:7676/rcr/
          http://192.168.1.6:7678/nservice/
          http://192.168.1.6:9197/dmr
          http://192.168.1.6:9119/screen_sharing
          http://192.168.1.6:7678/nservice/dial.xml
          http://192.168.1.6:9119/ScreenSharingService1_1.xml
          http://192.168.1.6:9197/StreamSplicing_1.xml
          http://192.168.1.6:7676/rcr/MultiScreenService.xml
          http://192.168.1.17:1400/xml/VirtualLineIn1.xml

          Just as an FYI, debug flag is enough, do not set UPNP debug level higher, too much logging and too hard for me to find what I'm looking for

          Comment


            #35
            Originally posted by w.vuyk View Post
            On the devices, one I send a command through a button press, the remote device's icon changes to a red cross. I suppose there is an error on it?

            Attached some images and the log.

            Thanks,

            Wim
            Hi Wim, took my time to look through the log files.

            a/ the TV is a model 2016 and should not be using a PIN.
            b/ I see some vol - commands but the remote is not active so nothing happens
            c/ I see a remote on command but immediately followed by a remote off command, so now again subsequent commands do nothing.


            So start it all up, click on "remote on", the state should now change, maybe refresh the page. Now try some commands, if need be watch the log file, you should see some websocket data being sent.

            I see in the log that the websocket is opened properly, so that is good.
            Still no idea why I can't retrieve the MAC address.

            Good luck,

            Dirk

            Comment


              #36
              Finally got a chance to play around with this. I still don't see remote. I still only see service type multiscreen and player. If I add these I get a bunch of new buttons. Two of them are labeled "Device" and have options for activate, deactive, and WOL. WOL works for one of them (not sure if it's multiscreen or player) but active and deactive do nothing. They also don't seem to respond when the device is manually turned on or off. I turned on debug logging as suggested. Not sure where to find it.

              Comment


                #37
                Hi Dirk,

                I tried WOL on my UE55MU7070 and it is working. The TV is still only connected by Wi-Fi (and now I don't see any reason to connect a LAN cable). The only thing I notice is that I can't use WOL within 10 seconds after turning the tv off. Probably has something to do with it still being busy turning off.

                Originally posted by dcorsus View Post
                Just for my curiosity, how does Jon's PI get the MAC address? Do you need to enter that? Is it the MAC address for the wireless or wired port?
                After I read WOL worked with that PI for Wim I tried that PI first to see if it was supported at all for my tv (indeed, port 9). It has a configuration page in .ASP which detects network devices with IP addresses, MAC addresses and manufacturer.
                Last edited by Bernold; May 7, 2018, 03:58 AM. Reason: Added .ASP, as that seems important - probably why detection is possible
                Plugins I developed for HS4: Somfy Local, MiLight (LimitlessLED), Updates, Volvo (VoC), OpenTherm Gateway (OTGW)
                Running HS4 Pro on Windows 10 Pro on a Synology VM, with Node-RED running as a container.

                Comment


                  #38
                  Originally posted by Blackbeard View Post
                  Finally got a chance to play around with this. I still don't see remote. I still only see service type multiscreen and player. If I add these I get a bunch of new buttons. Two of them are labeled "Device" and have options for activate, deactive, and WOL. WOL works for one of them (not sure if it's multiscreen or player) but active and deactive do nothing. They also don't seem to respond when the device is manually turned on or off. I turned on debug logging as suggested. Not sure where to find it.
                  Turn debug flag on and take log while you start HS. Other way is to go to the config page, click on the view upnp devices and click on all hyperlinks (things in blue) associated with the TV and capture all the XML. You would have to navigate into the service XML and capture the result.

                  Dirk

                  Comment


                    #39
                    Ok. I think I captured everything you need. Let me know if I did that right.
                    Attached Files

                    Comment


                      #40
                      Originally posted by Blackbeard View Post
                      Ok. I think I captured everything you need. Let me know if I did that right.
                      The good news is that you probably captured too much by turning superdebug on and I only needed debug.
                      The bad news is that you may not have copied everything from the HS log because I'm missing most of the information.
                      So one way could be to turn debug on, set UPNP logging to verbose, turn the log to disk flag on and now restart HS.
                      Wait for say a minute or two and now turn the log to debug flag off. This is very important because that causes the log to be written to disk and file to be closed. You can now directly attach that file to your reply here. The file is under the <hs root>\html\Mediacontroller\logs\Mediacontrollerdebug.txt (or something like that, I'm going off memory recall here).

                      Screenshots however of the devices info an their service info is even better but the above will do.
                      What version of TV is it by the way?

                      Dirk

                      Comment


                        #41
                        It's the 2018 Samsung Q7f. Pretty nice TV so far. I got a whole bunch of samsung smart appliances too. Some things are rad. Some are a bit iffy. Here's the log. Hopefully that works.
                        Attached Files

                        Comment


                          #42
                          Originally posted by Blackbeard View Post
                          It's the 2018 Samsung Q7f. Pretty nice TV so far. I got a whole bunch of samsung smart appliances too. Some things are rad. Some are a bit iffy. Here's the log. Hopefully that works.
                          Shoot, it appears that Samsung for their Y2018 line have changed everything again. I'll have to do some searching to see if the IP protocol has changed or not but the way they advertised the service for sure is 100% different. This could be an easy fix or total train-wreck.

                          Any chance you can cut/paste following URLs in a browser and post the result


                          http://192.168.1.156:9110/ip_control
                          http://192.168.1.156:9110/upnp/contr...ontrolService1

                          http://192.168.1.156:9119/screen_sharing
                          http://192.168.1.156:9197/dmr

                          Comment


                            #43
                            Originally posted by dcorsus View Post
                            Shoot, it appears that Samsung for their Y2018 line have changed everything again. I'll have to do some searching to see if the IP protocol has changed or not but the way they advertised the service for sure is 100% different. This could be an easy fix or total train-wreck.

                            Any chance you can cut/paste following URLs in a browser and post the result


                            http://192.168.1.156:9110/ip_control
                            http://192.168.1.156:9110/upnp/contr...ontrolService1

                            http://192.168.1.156:9119/screen_sharing
                            http://192.168.1.156:9197/dmr
                            Might also need http://192.168.1.156:9110/IPControlService1_1.xml

                            Comment


                              #44
                              Originally posted by Blackbeard View Post
                              It's the 2018 Samsung Q7f. Pretty nice TV so far. I got a whole bunch of samsung smart appliances too. Some things are rad. Some are a bit iffy. Here's the log. Hopefully that works.
                              Ok, I think I unearthed all the info I asked for in my previous posts from the log file.

                              Find attached an updated version. Download, unzip and copy into the HS root directory when HS is stopped (!!) Start HS and see of the remote function now shows up in the config page. See if we made progress. If things still don't work, rinse and repeat on the debug logging and postings.

                              Perhaps you try to pull up following URLs using any browser

                              http://192.168.1.156:8001/api/v2/
                              http://192.168.1.156:8001/ws/apps/

                              .... and post the result




                              Dirk
                              Last edited by dcorsus; May 11, 2018, 02:12 AM.

                              Comment


                                #45
                                So a remote service showed up this time. I hit generate buttons and I got a bunch of different button types. None of them seemed to do anything though. I *think* this is all the files you've requested. BTW, this link returns 404 http://192.168.1.156:8001/ws/apps/
                                Attached Files

                                Comment

                                Working...
                                X