Add support for v6 features to philips js integration (#16628)

Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
This commit is contained in:
Joakim Plate 2021-02-26 18:35:06 +01:00 committed by Franck Nijhof
parent bde0a5d118
commit 46964f1d9b
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -11,10 +11,31 @@ ha_domain: philips_js
ha_config_flow: true ha_config_flow: true
--- ---
The `philips_js` platform allows you to control Philips TVs which expose the [jointSPACE](http://jointspace.sourceforge.net/) JSON-API. Instructions on how to activate the API and if your model is supported can be found [here](http://jointspace.sourceforge.net/download.html). Note that not all listed, jointSPACE-enabled devices will have JSON-interface running on port 1925. This is true at least for some models before year 2011. The `philips_js` platform allows you to control Philips TVs which expose the [jointSPACE](http://jointspace.sourceforge.net/) JSON-API.
To enable the integration go to **Configuration** -> **Integrations** Instructions on how to activate the API and if your model is supported can be found [here](http://jointspace.sourceforge.net/download.html). Note that not all listed, jointSPACE-enabled devices will have JSON-interface running on port 1925. This is true at least for some models before year 2011.
{% include integrations/config_flow.md %}
### Features
| Feature | 1 | 5 | 6 (Android) | 6 (Saphi) |
| ------------------ | ---------------- | --- | ------------------ | ---------------- |
| Power On | WOL / IR Blaster | ? | Yes (if always on) | WOL / IR Blaster |
| Volume Detect | Yes | ? | Yes (not over CEC) | ? |
| Volume Up/Down | Yes | ? | Yes | No |
| Volume Set | Yes | ? | Yes | ? |
| Source Select | Yes | ? | Yes | No |
| Source Detect | Yes | ? | No | No |
| Channel Select | Yes | ? | Yes | ? |
| Channel Detect | Yes | ? | Yes | ? |
| Channel Favorites | No | ? | Yes | ? |
| Application Select | No | ? | Yes | No |
| Application Detect | No | ? | Yes | No |
| Browse URL | No | No | No | No |
| Send Key | No | No | No | No |
| Ambilight Control | No | No | No | No |
### Turn on device ### Turn on device
The Philips TV does not support turning on via the API. You can either turn it on via IR blaster to or on som models WOL. To trigger this command from the entities, the integration exposes a `device trigger` that can be setup to execute when the `media_player` is asked to turn on. The Philips TV does not always support turning on via the API. You can either turn it on via IR blaster or on som models WOL. To trigger this command from the entities, the integration exposes a `device trigger` that can be setup to execute when the `media_player` is asked to turn on.