Giter Club home page Giter Club logo

rokutv-htpc-autopower's Introduction

RokuTV-HTPC-AutoPower

The cheap TCL/RokuTVs seem to powerdown automatically at idle which makes things quite annoying if attached to a PC or HTPC.

Majority of GPUs do not support CEC and units like the Pulse Eight HDMI-CEC USB adapter are $50 just to turn a TV on and Off

Luckily the RokuAPI (External Control Protocol (ECP) allows us to do this for free

This is setup on windows but extremely easy to setup on Linux/MacOS as well.

Setup

Grab IP address of RokuTV (static IP recommended)

Modify poweron-tv.bat with IP address. Example:

curl -d '' "http://<IPADDRESS>:8060/keypress/powerOn"

Modify poweroff-tv.bat with IP address. Example:

curl -d '' "http://<IPADDRESS>:8060/keypress/powerOff"

Usage

Press Windows + R, and type “taskschd.msc“ to open Task Scheduler. Select "Create Task"

image

Name the task whatever you want. I named it poweron-tv & poweroff-tv. make sure to select "Run whether user is logged on or not"

image

Go to "Triggers" tab and select "New"

Add the following for poweron-tv:

image

Add the following for poweroff-tv:

image

Go to "Actions" tab > New. Action = Start a program. Program/Script is the on/off .bat file.

image

That's it. TV will now PowerOff at lock screen/idle and Power On at startup/unlock

rokutv-htpc-autopower's People

Contributors

sicxnull avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.