philfreo / homebridge-vizio

A Homebridge plugin to control your Vizio Smartcast display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

homebridge-vizio

A Homebridge plugin for controlling your Vizio Smartcast display using HomeKit or Siri. What can I do with it?

Getting Started

You'll need to install Homebridge first:

sudo npm install -g homebridge

Then, install homebridge-vizio:

npm install homebridge-vizio

Setting Up

To configure homebridge-vizio, you'll need to know the LAN IP address or hostname of your display. You can find this in the Smartcast app, or on the display's menu. Note: it's reccomended that you use the display's hostname, as it isn't likely to change like it's IP address will. The default hostname appears to be viziocasttv.local.

You'll need to pair your display with Homebridge so your display will accept commands to control it. homebridge-vizio comes with a helpful setup script that walks you through the process. To use it, use:

node setup.js

You'll be asked for the IP address of your display, then for the PIN code that the display shows onscreen. Then, you'll be shown an "access token"; copy the token, you'll need it in a moment.

Configuring Homebridge

Homebridge uses a JSON file to determine what accessories are exposed to HomeKit. Add the following entry to yours:

"accessories": [
    {
        "accessory": "VizioDisplay",
        "name": "Whatever Name You Want",
        "token": "YOUR ACCESS TOKEN",
        "address": "YOUR DISPLAY'S IP ADDRESS"
    }
]

Controlling Your Display

Currently, homebridge-vizio only supports turning your display on and off. As Apple adds more service capabilities and accessory types to HomeKit, homebridge-vizio can grow to support more functionality.

How it Works

homebridge-vizio is based on vizio-smart-cast by Heath Paddock. Many thanks to him for his excellent work.

About

A Homebridge plugin to control your Vizio Smartcast display

License:MIT License


Languages

Language:JavaScript 100.0%