SmartThings SmartApp to setup your Rokus to reboot on a schedule.
I know not everyone has this issue, but my Rokus are constantly getting hung up and I need to reboot them. I was using a smart plugs on 2 of them and decided there was a better / cheaper way as I have 6 Rokus and they all have the problem. I have been testing this for a couple weeks now and it works great.
How it Works
You will need the following information in order to configure this application.
- Roku IP address
- Menu path to reboot
RebootRoku sends the required menu path keypresses to reboot your roku. To find these, just navigate your menu (take the shortest path) and note the steps in order to reboot. I know there are remote keypress combinations that will reboot your roku, but they do not work remotely.
I have the default value of the menu path set to work with the v3 Rokus, but you can change it to whatever you need it to be per Roku.
You choose the time it should reboot, likely when you are sleeping.
Tips
- You need to use the ip address of your roku(s), so you might want to make them static ip assignments in your router.
- You can customize keypresses to match your roku, make sure you start with home,left,home to ensure you are starting from the correct place.
- Don’t set the time between keypresses to be too long, this whole thing needs to execute in 20 seconds per roku.
- If you wan to see if you keypresses are going to work, select a switch for fast testing. The process will begin about 5 seconds after you press the switch, I have it running asynchronously.
Setup Multiple Rokus
Smart App Settings
Installation via GitHub Integration
- Open SmartThings IDE in your web browser and log into your account.
- Click on the “My SmartApps” section in the navigation bar.
- Click on “Settings”.
- Click “Add New Repository”.
- Enter “ericvitale” as the namespace.
- Enter “ST-RebootRoku” as the repository.
- Hit “Save”.
- Select “Update from Repo” and select “ST-RebootRoku”.
- Select “rebootroku.groovy”.
- Check “Publish” and hit “Execute”.
Manual Installation (if that is your thing)
- Open SmartThings IDE in your web browser and log into your account.
- Click on the “My SmartApps” section in the navigation bar.
- Click the blue “+ New SmartApp” button at the bottom of the page.
- Click “From Code”.
- Paste in the code from “rebootroku.groovy” and hit “Create”. (https://github.com/ericvitale/ST-RebootRoku/blob/master/smartapps/ericvitale/rebootroku.src/rebootroku.groovy)
- Click the “Publish” --> “For Me”.
- The app will appear on your app under “Marketplace” --> “My Apps”