-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vizio SoundBar API #19
Comments
I would like to know this as well. Any updates? |
Apologies, I somehow skipped the notification. Soundbar control in the app has only a few settings compared to the TV. you can replace "tv_settings" by "audio_settings" in the query to make it work for anything supported in the soundbar. However, I had trouble setting the volume directly by a value. Any value greater than 18 doesn't work. You can set the volume to anything by sending remote keypress events, or set the volume to a value < 18. Couldn't figure out what causes this. Hope you can figure out what you are looking for. |
That's exactly what I needed! Thanks!!! API INPUT URLS: Get list of inputs: Change Input: |
Changing the volume directly is not working at all for me. It returns a success response, but it doesnt actually make the change. Any Ideas? Using: {"REQUEST": "MODIFY","VALUE": 10,"HASHVAL": hashval} |
Have you managed to figure out what key press values to use? I'm attempting to build a modified https://github.com/vkorn/pyvizio to support SoundBars. Here's the keymap I've put together so far to replace https://github.com/vkorn/pyvizio/blob/master/pyvizio/protocol.py#L58-L69
I have yet to test it |
So it seems that some of the keys work for Sound Bars (listed below), but I still cannot figure out how to emulate the button to change inputs or to go to the next track or previous track even though I see those buttons on my remote. I've tried various tuples, including the options in my list above that are not included below, without success.
|
Old thread that pointed me in the right direction. Was able to modify the volume value. Still can't figure out how to properly send PUT requests for the keypress function. Any help would be appreciated. |
Regarding your question, the curl command is here: https://github.com/exiva/Vizio_SmartCast_API#send-remote-control-button-press You need to refer to the Appendix for the appropriate Codeset and Code, and the Action is "KEYPRESS" EDIT: Nevermind about the question, I was being dumb when testing this |
Leverages existing pyvizio functionality. My impression is that it also works for soundbars based on exiva/Vizio_SmartCast_API#19.
#108896) * Add play/pause functionality to vizio integration Leverages existing pyvizio functionality. My impression is that it also works for soundbars based on exiva/Vizio_SmartCast_API#19. * Set vizio assumed_state to True The Vizio API is only capable of indicating whether the device is on or off and not whether it's playing/paused/idle. Setting assumed_state to True gives us separate Play and Pause buttons versus the (useless) merged Play/Pause button we would get otherwise.
I have been experimenting with using this for the Vizio SoundBar. It seems that a lot of the same APIs exist but I cannot figure out how to get access to the full list. I don't have a way to decompile the app but if someone could post the URLs that would be incredibly helpful! (@shafeey)
The text was updated successfully, but these errors were encountered: