home-assistant.github.io/source/_components/media_player.webostv.markdown
Olav Alexander Mjelde dd7e1a4d6a Update media_player.webostv.markdown (#2467)
Added Netflix (confirmed working on 2016 LG Oled).
2017-04-22 14:06:00 +02:00

1.9 KiB

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
        - netflix