Philips Android TV component

I’m afraid not! Although I like the positioning possibilities! I’m finding hue+ ambilight a bit limiting

Check out the favorites option in the GitHub Readme

Thank you, I’ve done that and still seem to have every option on the source select…any ideas why?

  - platform: philips_android_tv
    name: TV
    host: 192.168.0.108
    mac: D8:13:99:zz:yy:xx
    username: !secret philips_user
    password: !secret philips_password
    favorite_channels_only: true
1 Like

I get this warning all the time. Does someone know how to avoid this?

custom_components/philips_android_tv/media_player.py (WARNING) - message first occurred at 12:04 and shows up 1768 times
Favorites not supported for this TV
1 Like

So my 55POS9002 supports Alexa and is able to switch to HDMI sources. Can I use this somehow to make HA to switch to HDMI sources?

2 Likes

Also interessted in this

1 Like

I also have a 9002. It seems like for being able to connect it to alexa, the alexa app should appear on the tv. I did not find this. TV is up to date.
Could you confirm there should be an app on the tv and maybe explain how to find it?

1 Like

it’s just a normal app in the apps section on my tv. maybe it’s not available in your country? I’m from germany.

1 Like

You are probably right, I’m in Austria. Can’t see any alexa related app on the TV.
Did it just appear on your screen or did you have to install it?

Edit: The app appeared after several restarts.

1 Like

This is now possible with https://www.home-assistant.io/integrations/androidtv/ . I installed the ADB hassio addon (https://github.com/hassio-addons/addon-adb) and know i can sent a command to have my TV switched to HDMI or back to TV

  - service: androidtv.adb_command
    data:
      entity_id: media_player.philips_android_tv
      command: "input keyevent KEYCODE_F1"
  - service: androidtv.adb_command
    data:
      entity_id: media_player.philips_android_tv
      command: "input keyevent KEYCODE_TV
2 Likes

I’m having a lot of issues with my TV’s jointspace API being unreachable or a while, then sometimes it comes back. Does this happen to anyone ? The [ip]:1926 api just refuses connection, and it makes anything on Home Assistant from Ambilight switch to media player unusable.

My TV Model is the 2019 OLED804

1 Like

Hi all,

I’m trying to pair my TV (58PUS7304/12 with Android TV), but the script throws an exception every time i launch it. Ports 1925, 1926 are closed on my TV. Any idea on how to open those ports, or check what port should I use?

Thank you!

UPDATE: There was an update pending. I applied it and now those ports are open. Connection works, but it is intermitent. Any idea on how to get a more stable connection?

2 Likes

Sorry, I think this only shows favorite channels and not the other channels.

But it will always show all the apps, currently there is no way of having favorite apps.

I will think about adding an option to filter them.
Tracked in issue: https://github.com/nstrelow/ha_philips_android_tv/issues/26

Currently no way to turn this off. Maybe I’ll change the logging of this one to debug.

Tracked: https://github.com/nstrelow/ha_philips_android_tv/issues/27

1 Like

The jointspace API or however it is called cannot do this.

Basically this addon could do everything the Philips app does. And the philips app does not support changing HDMI sources which sucks IMHO.

Refer to the Android TV ADB guide which @EnsconcE mentioned: Philips Android TV component

EDIT: I cannot reply more so:
Uhhhhhhh cool Alexa is supported? I wonder if my model will also support it.
Will definitely see if a new addon or so can be build to use that. :smiley:

Cannot do anything to improve the connection I think, the API is not super responsive.
This component can be made to work better though.

I will be back to my Philips Android TV in April sometime, so until then I can only comment a bit here and there and program things without testing them.

yeah you can natively turn on and off the tv, change volume, change channels & sources, turn ambilight on and off, etc.

Hello everyone.
Been using the component for well somewhat near a year now. And i love it.

But i’ve been willing to make the following (if even possible).

I want to make my 2 year old daughter (yeah i know… dont mention) a custonm lovelace view for on her tablet with pictures (buttons) to press which will play the related playlist in the youtube app on my tv.

Anyone have any suggestions? Would be greatly appreciated :slight_smile:
Thanks in advance.

I’m using something like this but haven’t figured out how to use it with playlists:

script:
  alias: youtube
  sequence:
  - data:
      entity_id: media_player.55pos9002
      media_content_id: https://youtu.be/shortlink
      media_content_type: video
    service: media_extractor.play_media

The media player entity is the chromecast on my Android TV.

Thanks for sharing!
I’ve found a way that also works.
Using Joaoapps Join to send notifications to the tv (installed join apk i put on a external hdd). on the TV and set it up like i did on all my other devices.
Seems my Philips TV (49PUS6561) automatically opens the youtube links in the youtube app. Also working with playlists,

Now onto next problem… Making a button to be able to skip to next video in playlist… (going to try and find possibl options… ADB, Broadlink IR, not sure yet).

Somebody has found a new (?) way to power on the TV via a chromecast command, which works for me instantly and even if the TV is in deep sleep. Works much better than the WoL approach, the details are here: https://github.com/eslavnov/pylips/issues/52#issuecomment-568311342 and https://github.com/eslavnov/pylips/issues/52#issuecomment-569831450

@nstrelow, maybe you can implement this in your component?