GithubHelp home page GithubHelp logo

roku-voice's Introduction

Roku Voice - A multi-shortcut Roku controller.

Control your Roku device with your voice using Apple Shortcuts on the iPhone.

Roku Voice allows you to speak to your Roku device and perform several types of actions. You can say things like, "Launch Plex," "Netflix and Chill," or "Pause Roku." You can perform a search in Roku with whatever keywords you like by saying something like "Search for" followed by the keywords. This Shortcut can also add and remove Roku devices to control, as well as Channels to launch. It uses a JSON database stored in an iCloud folder to maintain your devices and channels. The actions themselves use Roku's Web API to send commands to your device (using its IP).

Requirements:

  • Apple iPhone
  • Apple Shortcuts App
  • Roku Device

To Install:

  • Download Roku Voice and run it.
  • On initial run, it will install the setup shortcut, which will guide you through the rest of the setup, including adding your first device, channel, and installing specific actions.

To use:

  • Launch Roku Voice and say a command.
  • To change Roku device
    • You can say things like: "Switch to Living Room," or "Change Servers," or "Swap device to Bedroom"
  • To change Roku channels
    • Say something like: "Launch Plex," or "Change channel to Netflix." Using the name of the channel directly will work as well.
  • To turn the Roku off/on
    • Try saying: "TV on," or "Roku off."
  • To play or pause Roku
    • Simply say: "Play" or "Pause"
  • To Search Roku
    • Say: "Search" followed by the keywords.
    • "Look for" or "Find" will also work.

Tips

  • Set a Siri Shortcut to trigger Roku Voice with a phrase like "Hey Roku."
  • The voice detection works by identifying key words that correspond to specific actions, then those actions parse out the remaining commands and "does stuff" to your Roku. It may be possible to offload the voice detection to another JSON file and allow the user to add different key words.

This Shortcut is a work in progress. More commands will be added and logic improvements will be made and distributed through RoutineHub. If anyone is interested in contributing to this shortcut, please let me know!

Credit to u/Bradart and u/raygan for inspiring this project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.