[ST Edge] Roku Driver

The driver doesn’t seem to work for me. I have a TCL TV with Roku OS and a Roku soundbar. The driver finds both right away. I can control the TV from the device on ST app, and the device reflects the state of the TV when I do that. However, the device does not refresh the state of the TV when I use the TV remote.

Any thoughts?

What is your idle refresh interval set to? It can take up to that time to see updates when controlling it from your remote, whereas refreshes are done right away when sending commands from the mobile app.

It was originally set at 20 seconds. I’ve had some better (but not 100%) results setting it at 25 seconds for some reason.

I’m going to need to see your log output so I can diagnose what is happening. Do you have a computer where you can install and run the SmartThings CLI?

Yeah. It was quite a process. Needed an update of npm, which in turn needed an update of node, which in turn an update of xcode, which in turn an update of osx. All set now, but not sure how to run CLI to get a log. Maybe DM is better.

smartthings edge:drivers:logcat

You’ll be prompted for the address of your hub, and to select the driver to log.

Ctrl-break to stop.

You can DM me the log, just surround the log text with triple back-quotes (```)

Right on. Thanks.

All - I’ve pushed out a new Roku driver update: Version 2022-05-08T20:26:11.653726

This update includes some further improvements in recovery when a device goes offline or changes IP address. If you’ve had problems with devices going offline and never coming back online, this may address that issue.


I have another update to the Roku driver: Version 2022-06-06T00:11:38.404535129

This additional change is a result of some additional information @infofiend (thank-you!) provided regarding Roku TVs (which I don’t have). It appears that when the TV is powered off, the Roku SW may also go offline. In order to ensure the driver recovers the connection to the the device without delay after it is turned back on, this driver update contains some code changes to speed up re-discovery of TV-type Roku devices. They should now show back online in the app in about 30-40 seconds at most after being turned back on. I hope these recent updates improves the stability and responsiveness of the devices.

Please report any issues or observations here so I can continue to make any needed improvements. Thanks!


Thank you for this driver.

For me the icon shows ‘active/on’ (rather than grey) when the Roku device is off. Was this a design choice?

Users of my Roku Edge Driver:

It appears that the media control buttons are no longer working for iOS mobile app users. The result of trying to tap any of the reverse, play, stop, or fast-forward buttons is a “A network or server error occurred. Try again later.” message.

I don’t know yet if this is also the case for Android. Unfortunately we’re going to have to wait for SmartThings to fix this, so that could be a long while. In the meantime, you will have to use the ‘Select a keypress’ button to control your Roku.


Samsung just updated the wifi mesh router / hub to work with edge drivers. However, I don’t see my Roku devices when I scan for new devices (after I installed the device driver). Do you know what can be done about this?

Have you gotten any other Edge drivers to work yet?

Yes. Other things work fine.

Difficult for me to say what the problem could be. I suspect your other Edge drivers are zigbee or zwave? You may be one of the first to try a LAN driver. Are you sure LAN drivers are supported?

You would have to download and run the CLI so we can see the logs.

This update is supposed to get those hubs up to the latest version as the others. It ‘should’ work. If you walk me through getting the logs from the CLI, I am more than happy to do so.

This post should help you get the CLI and run logs (as well as other commands).

Basically, once you have the CLI available on your machine this command will start logs:

smartthings edge:drivers:logcat

You’ll be prompted for your hub IP address, so make sure you know that, and you will choose the Roku driver from the list of installed Edge drivers. Press Ctrl-c to cancel logs at any time.

What you should do is fire up logging, then run discovery. Capture the log and paste back here, and be sure to surround the log text with triple backquotes (```) both at the beginning and at the end. This will help ensure readability.

EDIT: To prevent this topic from filling up with log dumps, please send me a direct message with your log.

I’m still working on trying to get the logs for the driver working. Quick question while I do. Is it safe to assume this edge driver is supposed to work for Roku TVs as well? Otherwise, that would be the problem, as I only have Roku TVs. Do we know if anyone has an edge driver for the google TV?

Yes it will find and support Roku TVs.

I don’t know if there is a driver for Google TV, but if no one has developed that yet I’d be happy to look into doing one as long as there is a well documented API and someone willing to endure all the testing!

1 Like

Good to know. I’ll continue to work out the issues with the CLI for the roku logging.
I would be happy to test for the google tv.

1 Like