exiva / Vizio_SmartCast_API

API documentation for Vizio SmartCast TV's
173 stars 33 forks source link

What is the AUTH value? #39

Closed Jibun-no-Kage closed 1 year ago

Jibun-no-Kage commented 1 year ago

What is the AUTH value?

Say I want to power on TV...

curl -k -H "Content-Type: application/json" -H "AUTH: 123A456B" -X PUT -d '{"KEYLIST": [{"CODESET": 11,"CODE": 1,"ACTION":"KEYPRESS"}]}' https://myVizioTV:9000/key_command/

Is AUTH only required if TV is password protected? Or is AUTH Something else? Do I have to do the entire pairing process at all if I just what to turn the TV on and off? Is AUTH returned as part of the pairing completion?

exiva commented 1 year ago

@Jibun-no-Kage The value returned after starting to pair, and submitting the challenge request https://github.com/exiva/Vizio_SmartCast_API#response-1

Do I have to do the entire pairing process at all if I just what to turn the TV on and off?

To turn it on, no. You can do a Wake on Lan request, as long as the tv isn't in Eco mode.

Turning it off is a remote button press, which is authenticated (auth key) so yes, you need to pair.