home-assistant.io/source/_components/philips_js.markdown
Franck Nijhof c464056402
Making our website faster, cleaner and prettier (#9853)
* 🔥 Removes octopress.js

* 🔥 Removes use of root_url var

* 🔥 Removes Octopress generator reference from feed

* 🔥 Removes delicious support

* 🔥 Removes support for Pinboard

* 🔥 Removes support for Disqus

* 🔥 Removes support for Google Plus

* ↩️ Migrate custom after_footer to default template

* ↩️ Migrate custom footer to default template

* ↩️ Migrate custom header to default template

* 🔥 Removes unused template files

* 🚀 Places time to read directly in post template

* 🚀 Removes unneeded capture from archive_post.html template

* 🔥 🚀 Removes unused, but heaving sorting call in component page

* 🚀 Merged javascripts into a single file

* 🔥 Removes more uses of root_url

* 🚀 Removal of unneeded captures from head

* 🔥 🚀 Removal of expensive liquid HTML compressor

* 🔥 Removes unneeded templates

* 🚀 Replaces kramdown with GitHub's CommonMark 🚀

* 💄 Adds Prism code syntax highlighting

*  Adds support for redirect in Netlify

* ↩️ 🔥 Let Netlify handle all developer doc redirects

* ✏️ Fixes typo in redirects file: Netify -> Netlify

* 🔥 Removes unused .themes folder

* 🔥 Removes unused aside.html template

* 🔥 Removes Disqus config leftover

* 🔥 Removes rouge highlighter config

* 🔥 Removes Octopress 🎉

* 💄 Adjust code block font size and adds soft wraps

* 💄 Adds styling for inline code blocks

* 💄 Improve styling of note/warning/info boxes + div support

* 🔨 Rewrites all note/warning/info boxes
2019-07-15 22:17:54 +02:00

1.7 KiB

title description logo ha_category ha_iot_class ha_release redirect_from
Philips TV Instructions on how to add Philips TVs to Home Assistant. philips.png
Media Player
Local Polling 0.34
/components/media_player.philips_js/

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 %} host: description: IP address of TV. required: true default: 127.0.0.1 (localhost). type: string name: description: The name you would like to give to the Philips TV. required: false default: Philips TV type: string turn_on_action: description: A script that will be executed to turn on the TV (can be used with wol). required: false type: list api_version: description: The JointSpace API version of your Philips TV. This is an experimental option and not all the functionalities are guaranteed to work with API versions different from 1 and 5. required: false default: 1 type: integer {% endconfiguration %}

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