Skip to content

sicXnull/RokuTV-HTPC-AutoPower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Power On/Off TCL/RokuTV at boot or Log On/Off to simulate CEC on PC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published