diff --git a/atom.xml b/atom.xml index c441cabe84..049830e7f9 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
The vizio
component will allow you to control SmartCast compatible TVs (2016+ models).
Before adding TV to Home Assistant you’ll need to pair it manually, to do so follow these steps:
-Install the command-line tool using pip (you can choose to download it manually):
+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
$ pip3 install -I .
Make sure that your TV is on, as sometimes it won’t show PIN code if it wasn’t on during pairing initialization. -If you don’t know IP address of your TV run following command:
+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
Initiate pairing:
+Enter the following command to initiate pairing:
$ pyvizio --ip={ip} pair
"1"
, if it’s not the case for you, use additional parameter --ch_type=your_type
in the next step"1"
. If not, use the additional parameter --ch_type=your_type
in the next stepFinally, at this point PIN code should be displayed at the top of your TV. With all these values, you can now finish pairing:
+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 authentication token returned by this command to configure Home Assistant.
+You will need the authentication token returned by this command to configure Home Assistant.
To add your Vizio TV to your installation, add following to your configuration.yaml
file:
To add your Vizio TV to your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
media_player:
- platform: vizio
@@ -127,18 +127,19 @@ If you don’t know IP address of your TV run following command:
Configuration variables:
- host (Required): IP address of your TV.
- - access_token (Required): Authentication token you’ve received in last step of the pairing process.
+ - access_token (Required): Authentication token you received in the last step of the pairing process.
Notes and limitations
Turning TV on
-If you do have Power Mode
of your TV configured to be Eco Mode
, turning device ON won’t work.
+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.).
-Vizio SmartCast service is accessible through HTTPS with self-signed certificate. It means that if you have low LOGLEVEL in your Home Assistant configuration, you’ll see a lot of warnings like this InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised.
-As an option, you could proxy all calls for example through NGINX.
+Vizio SmartCast service is accessible through HTTPS with self-signed certificate. If you have low LOGLEVEL in your Home Assistant configuration, you’ll see a lot of warnings like this:
+InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised.
+You can adjust the log level for media_player
components with the logger component, or if you need to keep a low log level for media_player
you could proxy calls to your TV through an NGINX reverse proxy.
In Home Assistant, we trigger actions based on intents produced by Snips using the intent_script
component. For instance, the following block handles ActivateLightColors
intents (included in the Snips IoT intent bundle) to change light colors:
snips:
- intents:
- ActivateLightColor:
- action:
- - service: light.turn_on
- data_template:
- entity_id: light.{{ objectLocation | replace(" ","_") }}
- color_name: {{ objectColor }}
+
+intent_script:
+ ActivateLightColor:
+ action:
+ - service: light.turn_on
+ data_template:
+ entity_id: light.{{ objectLocation | replace(" ","_") }}
+ color_name: {{ objectColor }}