I work for a school district and we are deploying some TCL RokuTV's. We have an "energy manager" that works in our facilities department that won't be happy if we leave these TV's on all night (plus they will fail sooner).
With that said, I've used the ECP commands to successfully power on and off our TCL TV's with CURL and even scheduled it to run via a batch file on Windows. However, there are lots of moving parts there, and various points of failure. Also, I would like to allow our building administrators to have a bit of oversight into when the TV's come on and off, sort of an override option.
I discovered the "Roku Remote Tool" on the developer page, and it looks promising, however I don't see any options for controlling power. I assume that is because it is just for Roku hardware, and not TV's with Roku built in. Can anybody point me in the right direction for any of this? I'd even be open to making my own internal "website" where staff could click a link to issue a command to one or more TV's in their building. Basically just want to turn them all on or off at the same time.
Thank you!
I was under the impression this was for Roku Developers, of any kind, not just for channels. I'm using the Roku Remote App to create a script that I can publish to my end users for controlling their Roku embedded devices. I guess I thought that this was the PERFECT place to post a question about integration, web control, scripting, etc.
This is the script I currently have, which will change the power state. The Roku Remote Tool shows an error for the press: power line, but it still works.
params:
rasp_version: 1
default_keypress_wait: 2
steps:
- press: power
- pause: 5
- press: power
This is just a test, but the issue is that it doesn't know the current state of the TV. So if the TV was already on, it turns it off. When I issue curl commands from command line, I can use these commands:
curl -d '' "http://10.180.69.110:8060/keypress/powerOn"
curl -d '' "http://10.180.69.110:8060/keypress/powerOff"
Which work great because if the TV is off, it stays off. Specific power state controls...