GithubHelp home page GithubHelp logo

powroku's Introduction

PowRoku is a nifty little PowerShell module to help automate your Roku(s).

It is built atop the Roku External Control Protocol.

You can use PowRoku to control Roku devices and Roku TVs.

Assuming you have a Roku TV, and it's on, use this to try it out:

Find-Roku                 # Find your Rokus

Find-Roku | Get-Roku -App # Get all of the Apps on each Roku

Find-Roku | Get-Roku -ActiveApp # Get the Active App on each Roku

Find-Roku | Stop-Roku     # Turn your Roku TV off (only works for Rokus which support PowerOff)

# Turn up the volume
Send-Roku -Method POST -Data '' -Command Keypress/VolumeUp

Find-Roku | 
    Get-Roku -App | 
    Where-Object { $_.Name -eq 'Netflix' } | 
    Start-Roku

Start-Roku -MacAddress $myRokuMac # Send a Wake-on-Lan to your Roku's MACAddress

powroku's People

Contributors

startautomating avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

powroku's Issues

Find-Roku doesn't appear to locate my device.

Hey there!

I really enjoyed your summit talks and your work on some of the IOT stuff was really neat.

I Installed PowRoku and attempted to find my Roku TV ( a TCL 55S435, running Roku TV G103X). The Find-Roku function doesn't seem to locate my roku device. The host i'm running from is on the the same subnet.

I did manually pull my IP address, and it seems like the other commands work, such as: Stop-Roku -IPAddress $IPAddress

Also, not sure if helpful at all, but I was able to find it using UPNP, which I believe uses SSDP:

$UPNPFinder.FindByType('upnp:rootdevice', 0) | Where-Object {$_.ManufacturerName -like '*TCL*'}

I'm not familiar with SSDP or C# really but happy to provide any details I can.

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.