ericboehs / smartthings-roku-tv

MIT License
16 stars 19 forks source link

WOL not working #1

Open montizzl3 opened 6 years ago

montizzl3 commented 6 years ago

I have added this device handler for my TCL Roku TV and I love having it as one of my smart things in the Smartthings app. My only issue is that if the TV has fallen asleep the wake on lan isn't working. Is there any way for me to see what is causing this not to work?

anders0ndg commented 6 years ago

I'm having the same issue as well. The TCL Roku TV is not "waking up" and responding to the "On" command. I can turn it on manually and then it will respond to On/Off commands until it goes to "sleep" again.

anders0ndg commented 6 years ago

Based on what I'm experiencing, it appears that a wait between the WOL and "On" commands needs to be introduced, or a validation that the LAN adapter has indeed "woken up" before the "On" command is sent. Unfortunately, I'm not smart enough to implement either in the DH. :-(

montizzl3 commented 6 years ago

Interesting. If that's the case shouldn't it work if you press on and then wait a few seconds and press it again? Once mine is asleep I have to use the remote.

My only known workaround is to turn on my DirecTV box, which responds from the DirecTV Android app. If I turn that on it will turn on the RokuTV.

ericboehs commented 6 years ago

Sorry for the delay, I wasn't watching this repo so I wasn't getting notifications.

@anders0ndg I don't have the delay issue with my Roku TVs. I've been using this adapter for months. You may need to confirm your device supports WOL (you can check via the device-info query).

If your Roku TVs doesn't support it, you'll need to turn on "Fast TV start" which is available for Roku TV's running System OS 8.0 or greater. This was relesaed for TCL TVs in the past month or two.