core icon indicating copy to clipboard operation
core copied to clipboard

Philips TV no actions work

Open zucram opened this issue 2 years ago • 8 comments

The problem

Can't seem to switch source or turn screen state on/off using the integration.

sample log: `Logger: haphilipsjs Source: components/philips_js/media_player.py:146 First occurred: 09:28:44 (3 occurrences) Last logged: 09:28:50

Post failed: {'intent': {'extras': {'uri': 'content://android.media.tv/channel'}, 'action': 'org.droidtv.playtv.SELECTURI', 'component': {'packageName': 'org.droidtv.playtv', 'className': 'org.droidtv.playtv.PlayTvActivity'}}} ->

Status page

Bad Request

The request could not be understood by the server due to malformed syntax

You can get technical details here.
Please continue your visit at our home page.

Post failed: {'intent': {'extras': {'uri': 'content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW6'}, 'action': 'org.droidtv.playtv.SELECTURI', 'component': {'packageName': 'org.droidtv.playtv', 'className': 'org.droidtv.playtv.PlayTvActivity'}}} -> Status page

Bad Request

The request could not be understood by the server due to malformed syntax

You can get technical details here.
Please continue your visit at our home page.

Post failed: {'intent': {'extras': {'uri': 'content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW5'}, 'action': 'org.droidtv.playtv.SELECTURI', 'component': {'packageName': 'org.droidtv.playtv', 'className': 'org.droidtv.playtv.PlayTvActivity'}}} -> Status page

Bad Request

The request could not be understood by the server due to malformed syntax

You can get technical details here.
Please continue your visit at our home page.

`

What version of Home Assistant Core has the issue?

Home Assistant 2023.1.7 Frontend 20230110.0 - latest

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Philips TV

Link to integration documentation on our website

https://www.home-assistant.io/integrations/philips_js/

Diagnostics information

config_entry-philips_js-f5429ad63443a23cb8cd6dffd2e8d9de.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

zucram avatar Jan 31 '23 08:01 zucram

Hey there @elupus, mind taking a look at this issue as it has been labeled with an integration (philips_js) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of philips_js can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign philips_js Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


philips_js documentation philips_js source (message by IssueLinks)

home-assistant[bot] avatar Jan 31 '23 08:01 home-assistant[bot]

Swittching sources is know to be mostly not possible on philips tvs. So this looks like one model were should remove the option.

If you are reverse engineering inclined. It may be possible to extract the xtv apk from the TV and decompile it. Maybe you can find a way to support changing channels on this model.

elupus avatar Jan 31 '23 16:01 elupus

Thanks for your reply. Actually the Input switching isn’t as huge of a problem as the screen state which doesn’t seem to be working either. Is there any way to get that working? I frequently turn off the display (but not the actual tv) so being able to automate that and not reach for the remote each time would be amazing.

zucram avatar Jan 31 '23 18:01 zucram

The TV does not seem to report any screenstate. So it likely wont work on that tv. Not sure you have latest firmware, so might be worth updating if possible.

elupus avatar Jan 31 '23 18:01 elupus

Ah that’s a shame. Tried updating firmware but the TV is reporting that there’s no new version.

zucram avatar Jan 31 '23 18:01 zucram

You could have a look here: https://www.p4c.philips.com/cgi-bin/cpindex.pl?ctn=49PUT6401/12&hlt=Link_Software&mid=Link_Software&scy=DE&slg=DEU

I dont think you are running the firmware from 2021, but i could be wrong.

elupus avatar Jan 31 '23 19:01 elupus

I verified it, i am running the latest firmware. So i guess i'm out of luck =(

zucram avatar Feb 01 '23 08:02 zucram

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.