It has been discovered and i can turn it on and off but i want to know what i need to do in order to create scripts/automations or whatever i need to do to setup buttons on my home assistant dashboard to directly select apps like netflix and use navigation keys up down left right etc.
Of the 1.2% of user using this integration perhaps nobody has tried what you want to accomplish. Perhaps if you showed us what you tried that filed along with any errors others could assist, you need to understand your system anyway and not just copy a solution from others. Like the pinned thread says, This is not a HelpDesk.
I just brought a Broadlink RM4 in the end and stuck it to the back of the TV with the ir blaster facing down. Apart from the direct APP selection everything else worked prefectly. I just used the above code for selecting apps directly.
I looked into pyvizio briefly back when i was looking to do this and couldnt find alot of info on getting it set up. Im pretty new to home assistant as a package and couldnt find any real guide on how pyzivio gets set up. if you could provide alittle info that would be amazing.
I still plan on using the broadlinks as i have 1 on every tv as it gives temp and humidity for the room too which is a nice touch on the dashboard but to have a better integration for the tv would be ideal.
This is what the above code does. All modern Vizio TVs implement a REST API which you can post a JSON payload to it. If you read through the Vizio API docs on Github ( _SmartCast_API), everything is described there.
Then using that AUTH code, I can send commands to the TV just like a remote control but via REST and your home network. As you can see above, it allows you to control Volume, Mute, Cycle input (like pushing the INPUT button), using the D-PAD up/down/left/right and OK buttons, display the Settings or go Back. Everything you need.
I send to it the IP, Port, AUTH code, codeset and code shown in the table above and you have a remote on your screen. I will note that the pyvizio documentation lags behind the Javascript version referenced on that page. I had to read through both to get all of the key commands (codeset and code), especially those for the D-PAD. But you have them above.
90f70e40cf