2.7 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, featured, ha_release, ha_iot_class
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | featured | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|---|---|
page | Vizio SmartCast TV | Instructions on how to integrate Vizio SmartCast TV into Home Assistant. | 2017-07-10 19:00 | true | false | true | true | vizio-smartcast.png | Media Player | false | 0.49 | Local Polling |
The vizio
component will allow you to control SmartCast compatible TVs (2016+ models).
Pairing
Before adding your TV to Home Assistant you'll need to pair it manually. To do so follow these steps:
Install the command-line tool using pip
(or you can choose to download it manually):
$ pip3 install git+https://github.com/vkorn/pyvizio.git@master
or
$ pip3 install -I .
Make sure that your TV is on before continuing.
If you don't know IP address of your TV run following command:
$ pyvizio --ip=0 --auth=0 discover
Enter the following command to initiate pairing:
$ pyvizio --ip={ip} pair
Initiation will show you two different values:
Value | Description |
---|---|
Challenge type | Usually it should be "1" . If not, use the additional parameter --ch_type=your_type in the next step |
Challenge token | Token required to finalize pairing in the next step |
Finally, at this point a PIN code should be displayed at the top of your TV. With all these values, you can now finish pairing:
$ pyvizio --ip={ip} pair-finish --token={challenge_token} --pin={tv_pin}
You will need the authentication token returned by this command to configure Home Assistant.
Configuration
To add your Vizio TV to your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
media_player:
- platform: vizio
host: IP_ADDRESS
access_token: AUTH_TOKEN
{% configuration %}
host:
description: IP address of your TV.
required: true
type: string
access_token:
description: Authentication token you received in the last step of the pairing process.
required: true
type: string
suppress_warning:
description: Set to true
to disable self-signed certificate warnings.
required: false
default: false
type: string
{% endconfiguration %}
Notes and limitations
Turning TV on
If the Power Mode
of your TV is set to Eco Mode
, turning the device ON won't work.
Changing tracks
Changing tracks works like channels switching. If you have source other than regular TV it might end do nothing.
Sources
Source list shows all external devices connected to the TV through HDMI plus list of internal devices (TV mode, Chrome Cast, etc.).