mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-12 14:08:59 +00:00

* Added Example with turn_on_action: It took me 2 hours to make it work. It deserves an example * now with correct identation
1.6 KiB
1.6 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 | Philips TV | Instructions on how to add Philips TVs to Home Assistant. | 2016-11-01 13:00 | true | false | true | true | philips.png | Media Player | Local Polling | 0.34 |
The philips_js
platform allows you to control Philips TVs which expose the jointSPACE API. Instructions on how to activate the API and if your model is supported can be found here.
To add your TV to your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
media_player:
- platform: philips_js
host: 192.168.1.99
Configuration variables:
- host (Required): IP address of TV.
- name (Optional): The name you would like to give to the Philips TV.
- turn_on_action (Optional): A script that will be executed to turn on the TV (can be used with wol).
- api_version (Optional): The JointSpace API version of your Philips TV, defaults to
1
. This is an experimental option and not all the functionalities are guaranteed to work with API versions different from1
and5
.
When using api_version: 5 changing sources switches tv channels. Additionally this allows setting the volume level.
# Example configuration.yaml with turn_on_action
media_player:
- platform: philips_js
host: 192.168.1.99
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: aa:bb:cc:dd:ee:ff