Announcement

Collapse
No announcement yet.

Sony XBR Power On after Power Off not working

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

    Sony XBR Power On after Power Off not working

    I've looked through this board and have not found a solution to this problem.

    I have a Sony XBR-55X850D TV. The Media Center Plugin works fine when the TV is powered on. I can power off the TV as well. However, after the TV has been off for a few minutes the according to the plugin it is offline and I can no longer power it on with the plugin. However the device is not offline. It still responds to http requests like http://192.168.0.158:55521/dd.xml. The only way to power it back on is with the physical remote control.

    All settings for power savings, auto shut off, etc are OFF in the TV itself. It clearly is in standby mode as it responds the the dd.xml request.

    Does anyone know how to fix this?

    #2
    Originally posted by pberens View Post
    I've looked through this board and have not found a solution to this problem.

    I have a Sony XBR-55X850D TV. The Media Center Plugin works fine when the TV is powered on. I can power off the TV as well. However, after the TV has been off for a few minutes the according to the plugin it is offline and I can no longer power it on with the plugin. However the device is not offline. It still responds to http requests like http://192.168.0.158:55521/dd.xml. The only way to power it back on is with the physical remote control.

    All settings for power savings, auto shut off, etc are OFF in the TV itself. It clearly is in standby mode as it responds the the dd.xml request.

    Does anyone know how to fix this?
    I'll have to look at this. I suspect some services are "not alive" from a UPNP point of view and what I use (IRRC) as an indication that the TV is remote control capable, may go off-line together with the TV being powered down.
    Dirk

    Comment


      #3
      More information

      Sending a WOL (Wake-up On LAN) packet to the TV causes the remote interface of the plugin to come back to life in a little less than a minute. There is a WOL button in the plugin remote interface, but it does not work. I had to write an external script to send the WOL network packet.

      I think the fix would be to have the WOL button send the WOL packet even if it thinks the device is not on-line.

      You have to be careful to only power off the TV using the "Power" button in the plugin remote and NOT the "Power Off" button. The "Power Off" button apparently puts the TV in deep sleep after a while (it will still respond for a short time) where the WOL packet no longer brings it back to life.

      Since Power only toggles power on and power off, it is hard to know if you are really powering the device on or off. To make sure I really power off the TV without making it unreachable, I send Power Off, Power, and another Power all separated by about 3 seconds and this seems to work.

      Comment


        #4
        Originally posted by pberens View Post
        Sending a WOL (Wake-up On LAN) packet to the TV causes the remote interface of the plugin to come back to life in a little less than a minute. There is a WOL button in the plugin remote interface, but it does not work. I had to write an external script to send the WOL network packet.

        I think the fix would be to have the WOL button send the WOL packet even if it thinks the device is not on-line.

        You have to be careful to only power off the TV using the "Power" button in the plugin remote and NOT the "Power Off" button. The "Power Off" button apparently puts the TV in deep sleep after a while (it will still respond for a short time) where the WOL packet no longer brings it back to life.

        Since Power only toggles power on and power off, it is hard to know if you are really powering the device on or off. To make sure I really power off the TV without making it unreachable, I send Power Off, Power, and another Power all separated by about 3 seconds and this seems to work.
        Took me a while but just quickly tried the WOL on the Sony on our office. I think the PI does send it but it doesn't do anything, so I need to double check whether I coded the WOL protocol properly.

        Dirk

        Comment


          #5
          Originally posted by pberens View Post
          S

          I think the fix would be to have the WOL button send the WOL packet even if it thinks the device is not on-line.

          .
          I think I found the mistake. Try the attached. Unzip it and copy it to the HS root directory when the PI or HS is not running. It still needs some further changes which are a lot more invasive and will require more time and effort

          Dirk
          Attached Files
          Last edited by dcorsus; August 31, 2017, 09:43 AM.

          Comment


            #6
            Originally posted by pberens View Post
            I had to write an external script to send the WOL network packet.
            I did some trials today but I believe it still doesn't work. Can you share the script or tell me which source port you use and IP (L3) broadcast or L2 broadcast?

            Comment


              #7
              WOL Script

              I got if from here:

              http://www.perlmonks.org/?node_id=260144

              I call it with the MAC address of the TV

              wol.perl 04:5D:4B:11:F2:15

              Hope this helps!

              Comment


                #8
                Originally posted by pberens View Post
                I got if from here:

                http://www.perlmonks.org/?node_id=260144

                I call it with the MAC address of the TV

                wol.perl 04:5D:4B:11:F2:15

                Hope this helps!
                Is your TV wired or wireless?
                I realized mine is wireless so need to try with cable. A wireshark trace shows proper WOL packet but TV doesn't seem to react to it.
                Dirk

                Comment


                  #9
                  Originally posted by pberens View Post
                  I got if from here:

                  http://www.perlmonks.org/?node_id=260144

                  I call it with the MAC address of the TV

                  wol.perl 04:5D:4B:11:F2:15

                  Hope this helps!
                  Did you try my latest posting? It still doesn't work for you? Is your TV wireless or wired?
                  When I look at the script, it looks as if it does the same as what I do
                  Dirk

                  Comment

                  Working...
                  X