home-assistant.io/source/_components/media_player.webostv.markdown
Philipp Schmitt faff9c90a0 webostv: Add documentation for the filename config (#1951)
* notify.webostv and media_player.webostv: Add documentation for the filename configuration

* Remove line breaks
2017-02-06 08:10:21 +01:00

1.9 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_iot_class, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_iot_class ha_release
page LG webOS Smart TV Instructions how to integrate a LG webOS Smart TV within Home Assistant. 2016-04-18 23:24 true false true true webos.png Media Player Local Polling 0.18

The webostv platform allows you to control a LG webOS Smart TV.

When the TV is first connected, you will need to accept Home Assistant on the TV to allow communication.

To add a TV to your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
media_player:
  - platform: webostv

Configuration variables:

  • host (Optional): The IP of the LG webOS Smart TV, e.g. 192.168.0.10.
  • mac (Optional): The MAC address of the TV, e.g. C8:08:E9:99:99:1A.
  • name (Optional): The name you would like to give to the LG webOS Smart TV.
  • filename (Optional): The filename where the pairing key with the TV should be stored. This path is relative to Home Assistant's config directory. It defaults to webostv.conf.
  • customize array (Optional): List of options to customize.
    • *sources array (Optional): List of hardware inputs.

If you do not specify host:, all LG webOS Smart TVs within your network will be auto-discovered if they use the default name setting of [LG] webOS TV. Home Assistant is able to turn on a LG webOS Smart TV if you specify its MAC address with mac:. Some models require the Mobile TV On setting and/or a wired network connection to use Wake-on-LAN.

A full configuration example will look like the sample below:

# Example configuration.yaml entry
media_player:
  - platform: webostv
    host: 192.168.0.10
    mac: C8:08:E9:99:99:1A
    name: Living Room TV
    filename: webostv.conf
    customize:
      sources:
        - livetv
        - youtube
        - makotv