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!
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?
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:
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?
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!
Can you run logging with the CLI? That will allow us to see what may be happening. I’ve found that sometimes these devices go to sleep and stop responding. The driver will continue to try and re-discover the device so that when it does finally start responding on the network, things should go back to normal. I don’t have a TV, so don’t know exactly the behavior you may be seeing.
I initially tried adjusting the idle refresh time of the driver in various increments from 10 secs to 40 secs but it didn’t really help.
So Using the old modified Roku smart app/DH as a template, I had added a refresh interval there to 5 mins as my automations do not require anything more frequent than that for my current use-cases.
Once I adjusted the idle refresh interval to 300 seconds the Roku edge device now appear to be stable and haven’t gone offline again. I’ll keep monitoring for a few days and see if I see any of them go offline again.
I don’t know if it’s relevant but I have relatively packed hub with 159~ devices on it (according to graph) roughly 108 of those are physical z-wave/zigbee devices with the remainder being virtual, LAN (DSC, Roku) or internet integrations of various types (Honeywell Lyric Thermostats, Smartthings mobile presence, MyQ, etc)