Vizio_SmartCast_API
Vizio_SmartCast_API copied to clipboard
Changing input to a source no longer functions
Very detailed information also posted here:
https://github.com/home-assistant/core/issues/83689
IN general, changing input to a physical input (HDMI-1 ... HDMI-#, COMP, TV or CAST) no longer works after a Vizio update to later model TVs. Changing input to "apps" like Netflix, HBOMax, etc. still functions.
Test to show this:
curl -k -H "Content-Type: application/json" -H "AUTH: xxxxxxxxx" -X GET https://192.168.2.20:7345/menu_native/dynamic/tv_settings/devices/current_input
{"STATUS":{"RESULT":"SUCCESS","DETAIL":"Success"},"URI":"/menu_native/dynamic/tv_settings/devices/current_input","PARAMETERS":{"HASHONLY":"FALSE","FLAT":"TRUE","HELPTEXT":"FALSE"},"ITEMS":[{"CNAME":"current_input","TYPE":"T_STRING_V1","NAME":"Current Input","VALUE":"HDMI-1","ENABLED":"FALSE","HIDDEN":"TRUE","HASHVAL":2129379411}],"HASHLIST":[4012391352,3366813733]}
curl -k -H "Content-Type: application/json" -H "AUTH: xxxxxxxx" -X PUT -d "{\"REQUEST\": \"MODIFY\",\"VALUE\": \"CAST\",\"HASHVAL\": 2129379411}" https://192.168.2.20:7345/menu_native/dynamic/tv_settings/devices/current_input
{"STATUS":{"RESULT":"FAILURE","DETAIL":"Failure"},"URI":"/menu_native/dynamic/tv_settings/devices/current_input","PARAMETERS":{"REQUEST":"MODIFY","VALUE":"CAST","HASHVAL":2129379411}}
They all result in a nothing message that is just "Failure" with no information. As you can see, I called this to switch the input to CAST from the current input Hashval 2129379411 (HDMI-1). This applies to switching anything that is a physical input or CAST, not to "apps" which seems to function normally.
I will note that this worked in the past up until my Vizio's all got an update. I do have one older model TV that was not updated and it works on this TV. The whole GUI is different in the later models so I am unsure what information to provide, but here are some details:
Not working: Model V505-J09 Firmware 1.520.24.2-2 Updated December 14,2022
Working: Model M65-D0 Version 11.0.120.1-1 Cast Version 1.50.243780 Don't know where last update is, but checking updates says the TV is up to date.