Announcement

Collapse
No announcement yet.

Won't power TV on

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

    Won't power TV on

    Trying out this plugin and was able to successfully pair my TV. I am able to control it, change input, turn it off. But nothing happens why I try to turn it on. If I turn it on with the remote, the power status does not update to show it is on until it has been on for about 10 minutes

    #2
    Interesting problem. Do you see any errors in the HS log? If you try to power on again, do you see anything in the log? Also the 10 min thing is interesting because that is the amount of time I wait if a TV becomes unreachable before trying it again (so it isn't filling the log with errors). Would be interesting if there were log entries related to a disconnect on that TV.

    Also what OS is HomeSeer running on (Windows or Linux) so I can test appropriately on this end.

    If you don't see anything in the logs, you could try turning on Debug Logging in the Settings page and then start up the plugin again, try to power on/off, ... and see what pops up in the log (it will be a lot of stuff, not necessarily errors).

    Thanks!

    Comment


      #3
      The HS machine is windows 10. This is the debug log from trying to turn the TV on.

      VizioTV
      Trace
      VizioSendKeypress-22
      7/28/2021 12:47:39 PM
      VizioTV
      Trace
      VizioSendKeypress-13
      7/28/2021 12:47:39 PM
      VizioTV
      Trace
      VizioSendKeypress-12b
      7/28/2021 12:47:39 PM
      VizioTV
      Debug
      GetResponse() exception You must provide a request body if you set ContentLength>0 or SendChunked==true. Do this by calling [Begin]GetRequestStream before [Begin]GetResponse.
      7/28/2021 12:47:39 PM
      VizioTV
      Trace
      VizioSendKeypress-12a
      7/28/2021 12:47:39 PM
      VizioTV
      Trace
      VizioSendKeypress-12
      7/28/2021 12:47:39 PM
      VizioTV
      Trace
      Exception in VizioSendKeypress() : Unable to connect to the remote server
      7/28/2021 12:47:39 PM
      VizioTV
      Trace
      VizioSendKeypress-11
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      VizioSendKeypress-7
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      VizioSendKeypress-6
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      Data: {"KEYLIST": [{"CODESET": 11,"CODE": 1,"ACTION":"KEYPRESS"}]}
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      VizioSendKeypress-5
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      Auth code:Zbr6ts0qim
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      URL: https://192.168.128.104:7345/key_command/
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      VizioSendKeypress-4
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      VizioSendKeypress-3
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      VizioSendKeypress-2
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      VizioSendKeypress-1
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      ChangeTVPowerState-2
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      ChangeTVPowerState-1
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      SetIOMulti-P1
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      SetIOMulti-3
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      SetIOMulti-2
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      SetIOMulti-1
      7/28/2021 12:47:18 PM
      VizioTV
      Trace
      SetIOMulti-Enter

      This also shows about every 10 minutes in the log when the TV is off
      7/28/2021 12:32:04 PM

      VizioTV
      Error
      Didn't get a good response on power state update from TV Family Room TVat 192.168.128.104. Waiting 10 mins before trying again.

      7/28/2021 12:32:04 PM

      VizioTV
      Warning
      Power state update - Connection failure to TV: Family Room TV at address: 192.168.128.104. Is it offline?

      Comment


        #4

        That is super-useful and confirms that for some reason it isn't liking the request for power status. I suspect if that error weren't occurring, power on/off would both work but the plugin is deciding the TV is offline because of the error and not sending the commands when you try them. A command may squeak thru now and then if the timing is right. Something along those lines.

        Can you see if you can find a log entry that starts with text "Family Room TV VizioGetCurrentPowerState result: " followed by text of some sort. That will tell me more about what it is not liking.

        I also PM'ed you with a private build that will give me a bit more info about the response the TV is giving. Details in the PM.

        Also, what model is this unit?

        Mahalo!


        Comment


          #5
          Circling back to close the loop on this issue.

          After investigation, it turns out that Vizio TVs have an "Eco" power mode that, when active, turns off the network control interface when the TV is powered off. If the TV is on, everything should work fine but once off, the TV no longer listens to its network ports and so no status updates or control can occur. Once Power Mode is set to something other than "Eco" (e.g., Quick Start on my sets), the TV will listen to the network whether on/off.

          If you see a TV that was successfully paired but that stops responding to the plugin when the TV is turned off, chances are you are in "Eco" mode on tha tset. I've also added a log message when pairing is complete that reports what Power Mode the TV is set to and, if in Eco, suggests you change it. I'm considering adding the ability to change the TV setting in the plugin when I find it set to "Eco" but that feels a little presumptuous to go changing settings on someone's TV without asking.

          The setting to change (at least on my TVs) is Settings->Power Mode

          Many thanks to Dweber85rc for reporting the issue and working with me to debug.

          -HAH

          Comment

          Working...
          X