Update philips_js.markdown

I've used the information from:
https://github.com/eslavnov/pylips/blob/master/docs/Home.md

to update the endpoints for the api version check.
This commit is contained in:
Stamatios Chrysinas 2025-03-09 23:50:54 +01:00 committed by GitHub
parent ddffd09c58
commit dc6ec5cefc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,15 @@ ha_integration_type: integration
The `philips_js` platform allows you to control Philips TVs which expose the [jointSPACE](http://jointspace.sourceforge.net/) JSON-API.
If your TV responds to `http://IP_ADDRESS_OF_TV:1925/system` then this integration can be used. In the response, you should also be able to see the version of the API the TV uses (`"api_version":{"Major":6...`).
**Differences between Android TVs and non-Android TVs**
1) Android TVs use `https://`, non-Android TV use `http://`
2) Android TVs primarily use port 1926, non-Android TV use port 1925 only
For non-Android TV check if your TV responds to `http://IP_ADDRESS_OF_TV:1925/system`.
For Android TV check if your TV responds to `https://IP_ADDRESS_OF_TV:1926/system`.
If you get a response then this integration can be used. In the response, you should also be able to see the version of the API the TV uses (`"api_version":{"Major":6...`).
For older TVs follow instructions on how to activate the API and if your model is supported [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.
Also, note that version 6 of the API needs to be authenticated by a PIN code displayed on your TV.