Philips Android TV component

No. It simply doesn’t have the API.
I’m using the Android TV integration now, which is fine, since I don’t watch regular TV. I just can’t control the Ambilight.

Can you change the input source from Home Assistant?

According to the documentation this should be possible.

Haven’t tested it though.

Hi, so I have the remote control - thank you

I just wanted to map the KODI app to the button, but I’m trying and I have no idea how, when youtube netflix works, kodi has to be started as well, it can be started directly in Philips TV integration in HA - what should be in ContentID

thanks a lot for the advice

solved - org.xbmc.kodi.Splash-org.xbmc.kodi

After long time searching and one time on excident succeding but not saving the button but deleting the button on excident.
I had some succes with starting apps in home assistant on the philips android tv

  1. add the philips tv integration to home assistant
  2. download the diagnostics of the Philips TV (config_entry-philips_js-…json.txt
    a. make a button and set to information
    b. save the button
    c. click the button
    d. click the 3 dots in the right upper corner
    e. click device info
    f. download the diagnotic info
  3. read the required app name (start from the bottom of the file to save time)
  4. Use the info to complete the settings of the required button.

example for Plex

show_name: true
show_icon: true
type: button
icon: mdi:plex
entity: [NAME OF YOUR TV]
name: Plex
show_state: false
hold_action:
  action: none
tap_action:
  action: call-service
  service: media_player.play_media
  data:
    media_content_id: com.plexapp.plex.activities.SplashActivity-com.plexapp.android
    media_content_type: app
  target:
    device_id: [ID OF YOUR TV]

Info out my file:

  • Youtube “id”: “com.google.android.apps.youtube.tv.activity.ShellActivity-com.google.android.youtube.tv”,“type”: “app”
  • PokemonTV “id”: “com.pokemontv.ui.activities.SplashActivity-com.pokemontv”,“type”: “app”
  • Videoland “id”: “nl.rtl.videoland.ui.splash.SplashActivity-nl.rtl.videoland”,“type”: “app”
  • Amazon “id”: “com.amazon.ignition.IgnitionActivity-com.amazon.amazonvideo.livingroom”,“type”: “app”
  • Netflix “id”: “com.netflix.ninja.MainActivity-com.netflix.ninja”,“type”: “app”
  • Disney+ “id”: “com.bamtechmedia.dominguez.main.MainActivity-com.disney.disneyplus”,“type”: “app”
  • HboMAx “id”: “com.hbo.max.HboMaxActivity-com.hbo.hbonow”,“type”: “app”
  • Plex “id”: “com.plexapp.plex.activities.SplashActivity-com.plexapp.android”,“type”: “app”
  • Spotify “id”: “com.spotify.tv.android.SpotifyTVActivity-com.spotify.tv.android”,“type”: “app”
  • Kijk “id”: “com.talpa.kijk.MainActivity-com.talpa.kijk”,“type”: “app”
  • Valve “id”: “com.valvesoftware.steamlink.SteamShellActivity-com.valvesoftware.steamlink”,“type”: “game”
  • Viaplay “id”: “com.viaplay.android.features.home.HomeActivity-com.viaplay.android”,“type”: “app”
  • Pathethuis “id”: “nl.pathe.thuis.LaunchActivity-nl.pathe.thuis”,“type”: “app”
  • PlayerTV “id”: “pl.redlabs.redcdn.portal.tv.activities.TvActivity_-pl.tvn.player.tv”,“type”: “app”
  • Tunein “id”: “tunein.ui.leanback.ui.activities.TvHomeActivity-tunein.player”,“type”: “app”

Original format of the youtube information

        "com.google.android.apps.youtube.tv.activity.ShellActivity-com.google.android.youtube.tv": {
          "label": "YouTube",
          "intent": {
            "component": {
              "packageName": "com.google.android.youtube.tv",
              "className": "com.google.android.apps.youtube.tv.activity.ShellActivity"
            },
            "action": "android.intent.action.MAIN"
          },
          "order": 0,
          "id": "com.google.android.apps.youtube.tv.activity.ShellActivity-com.google.android.youtube.tv",
          "type": "app"
        },

you need only the last two info lines of this section. the ID and the Type

Hi all,

After reading a lot in this channel, my hope is zero to none. But with the thought of ’ it never hurts to ask’, here it goes:

Is there anyone who has a Philips oled tv (TPM191E (Android TV)/65OLED805/12) and got it working in HA? I am afraid that there is no API available in this TV, hence striking out. I sincerely hope I overlooked something :smile:

The android TV integration is working, but I want to control my ambilight.

I have a TPM191E_R / 65OLED804/12 (presumably the generation before yours) and it works OK with the HA Core component.

65OLED806/12 here and working perfectly fine!

1 Like

Out of the box or did you had to enable something?

I just remembered I did have an issue with mine initially. I tried to connect to the api endpoint using postman and it was just giving unsuccessful status codes. I can’t specifically remember which ones (5xx or 4xx).

Performing a factory reset on the TV fixed it.

Out of the box. I’ve connected my TV over ethernet as wifi sometimes lost connection to HA.

Are you also able to visit http://IP_ADDRESS_OF_TV:1925/system? And which platform is your TV? I’m not sure if every 805 is build on TPM191E.

I bought my TV in NL if that makes a difference.

Thanks this was so helpful! If the app e.g. Netflix has multiple user profiles associated with it e.g. me and my spouse, is there a way to also select the desired profile using the media player service?

Hello, is this integration still being developed?
I have a Philips TV (55PML9507/12) from 2022, it still uses the “V6 API” but with “https” via port: 1926. Is there a way to use my TV with the Philips TV integration or does it need to be updated?

2 Likes

Same for 55OLED807/857.
http://IP:1925/system is a blank page, while https on port 1926 lists full support over V6.

1 Like

Hi, have anybody managed to install jointspace on newer TVs?
I would be pleased if someone could send me extracted xtv.apk file to experiment. Thanks in advance.

No point, apk is just a part of a much bigger picture. They have removed lots of files needed from other folders that are root protected, so unless you can root your tv, no chance of porting it.

Hello everybody,

I’m trying to get my 58PUS9005 to work. After reading the sparsely official documentation and not knowing how the heck i should continue from that, i started digging through Github, jointspace and this post, but did not succeed. Yet. I downloaded the python file and tried to - not run it - just install the requirements, but jesus… until now i have ran into a number of various errors: first i didn’t have permission to install some of the requirements, so i had to set execution permissions in powershell, then the requirements complained that i needed to have Microsoft Visual C++ 14.0 or greater installed? But even after doing that i get this error:

error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pycrypto

So now i don’t know what to do. Can anyone help?

Hi all,

I was wondering if there was a way to change the picture mode on my philips 935 oled via and automation.

So for exampled if I start an output with a console it switches to game mode and film mode for my Nvidia Shield etc.

Any input would be appreciated.

I’ve go 55PUS8007/12 => from what i can (cannot) see there isn’t any API access to it? It’s 2023 model and I cannot belive that it’s missing this funcionality.