MrDalek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2018
09:57 PM
Querying and adjusting the Roku TV's volume
Are there plans to expose the TV's volume level and/or volume control in the api?
I would like to automate my Roku TV's volume in response to events (e.g. when it is 8pm, turn volume to X or change the input to PlayStation and set volume to Y)
Device Info:
<vendor-name>TCL</vendor-name>
<model-name>65S403</model-name>
<model-number>7106X</model-number>
I would like to automate my Roku TV's volume in response to events (e.g. when it is 8pm, turn volume to X or change the input to PlayStation and set volume to Y)
Device Info:
<vendor-name>TCL</vendor-name>
<model-name>65S403</model-name>
<model-number>7106X</model-number>
8 REPLIES 8
joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2018
11:42 PM
Re: Querying and adjusting the Roku TV's volume
Have you tried these?
https://sdkdocs.roku.com/display/sdkdoc/External+Control+API#ExternalControlAPI-ExternalControlServi...
https://sdkdocs.roku.com/display/sdkdoc/External+Control+API#ExternalControlAPI-ExternalControlServi...
Some Roku devices, such as Roku TVs, also support:
VolumeDown
VolumeMute
VolumeUp
PowerOff
Roku TV devices also support changing the channel when watching the TV tuner input:
ChannelUp
ChannelDown
Roku TV devices also support keys to set the current TV input UI: InputTuner
InputHDMI1
InputHDMI2
InputHDMI3
InputHDMI4
InputAV1
aspiring
MrDalek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2018
11:37 AM
Re: Querying and adjusting the Roku TV's volume
Yes, I am aware that I can send commands to increase/decrease the TV's volume, but I do not believe there is a way to know what the current volume level is or whether or not the TV is muted.
If I knew the level, then I could send the correct number of increases/decreases to adjust the TV to the desired volume
If I knew the level, then I could send the correct number of increases/decreases to adjust the TV to the desired volume
joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2018
05:09 PM
Re: Querying and adjusting the Roku TV's volume
worst case you could probably send 100 volumedown's in a row then assume it's at 0
aspiring
MrDalek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2018
12:37 AM
Re: Querying and adjusting the Roku TV's volume
yea, but that seems kludgey.... I did run a quick test and it takes ~30seconds to go from 100 to 0.... which would get annoying if I had the volume adjust when ever I open the Netflix app.
joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2018
08:16 AM
Re: Querying and adjusting the Roku TV's volume
yeah it's definitely a hack, I could be wrong but my guess is you will be waiting a long, long time for Roku to add any such feature (expose TV's volume) assuming it's possible..
aspiring
n-max
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023
02:56 PM
Re: Querying and adjusting the Roku TV's volume
It would be versatile to expose a "SetVolume" instruction that accepted a parameter:
curl -d "" http://000.000.0.0:8060/keypress/SetVolume/{1-100}
For example:
curl -d "" http://000.000.0.0:8060/keypress/SetVolume/25 #sets volume to 25%
bradzdanivsky
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2023
09:14 PM
Re: Querying and adjusting the Roku TV's volume
need this too.. google voice can set to given percentage so must be a command for this.
bakernigel
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024
10:57 AM
Re: Querying and adjusting the Roku TV's volume
Amazon Alexa can also set the volume on my TCL Roku TV to a specific value. I can say "Alexa, set family room TV volume to 55" and the volume gets set, so there must be a command that Alexa is using to set the volume directly.