mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
parent
fa2f2b6941
commit
2b9396a494
35
source/_components/media_player.webostv.markdown
Normal file
35
source/_components/media_player.webostv.markdown
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "LG WebOS TV"
|
||||||
|
description: "Instructions how to integrate a LG WebOS TV within Home Assistant."
|
||||||
|
date: 2016-04-18 23:24
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
logo: webostv.png
|
||||||
|
ha_category: Media Player
|
||||||
|
ha_iot_class: "Local Poll"
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
|
||||||
|
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 and follow the configurator instructions:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry
|
||||||
|
media_player:
|
||||||
|
platform: webostv
|
||||||
|
host: 192.168.0.10
|
||||||
|
name: Living Room TV
|
||||||
|
```
|
||||||
|
|
||||||
|
Configuration variables:
|
||||||
|
|
||||||
|
- **host** *Optional*: The IP of the LG WebOS Smart TV, e.g. 192.168.0.10
|
||||||
|
- **name** *Optional*: The name you would like to give to the LG WebOS Smart TV.
|
||||||
|
|
||||||
|
If you do not provide a host name, all LG WebOS Smart TV's within your network will be auto-discovered if your TV network name is set to `[LG] webOS TV`
|
49
source/_components/notify.webostv.markdown
Normal file
49
source/_components/notify.webostv.markdown
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "LG WebOS TV"
|
||||||
|
description: "Instructions how to integrate a LG WebOS TV within Home Assistant."
|
||||||
|
date: 2016-04-18 23:24
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
logo: webostv.png
|
||||||
|
ha_category: Notifications
|
||||||
|
ha_iot_class: "Local Poll"
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
|
||||||
|
The `webostv` platform allows you to send notifications to 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 and follow the configurator instructions:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry
|
||||||
|
notify:
|
||||||
|
platform: webostv
|
||||||
|
host: 192.168.0.112
|
||||||
|
name: livingroom_tv
|
||||||
|
```
|
||||||
|
|
||||||
|
Configuration variables:
|
||||||
|
|
||||||
|
- **host** *Required*: The IP of the LG WebOS Smart TV, e.g. 192.168.0.10
|
||||||
|
- **name** *Required*: The name you would like to give to the LG WebOS Smart TV.
|
||||||
|
|
||||||
|
A possible automation could be:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry
|
||||||
|
automation:
|
||||||
|
- alias: Open a window
|
||||||
|
trigger:
|
||||||
|
platform: numeric_state
|
||||||
|
entity_id: sensor.netatmo_livingroom_co2
|
||||||
|
above: 999
|
||||||
|
action:
|
||||||
|
service: notify.livingroom_tv
|
||||||
|
data:
|
||||||
|
message: "You should open a window! (Livingroom Co2: {{ states.sensor.netatmo_livingroom_co2.state }}ppm)"
|
||||||
|
```
|
BIN
source/images/supported_brands/webos.png
Normal file
BIN
source/images/supported_brands/webos.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Loading…
x
Reference in New Issue
Block a user