home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.99k stars 31.03k forks source link

Integration stopped working after TV update #128920

Open riddlenl opened 1 month ago

riddlenl commented 1 month ago

The problem

I have an issue with my Philips 55OLED707/12 - 55 inch - 4K OLED - 2022. After an update, port 1925 is just showing a white page. Port 1926 is working on https, but I can't seem to just add the host and check "6" as API version, it doesn't want to connect. I used this integration before without issues.

Anything I can do or do we need to wait for an update of the integration?

What version of Home Assistant Core has the issue?

core-2024.10.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

philips_js

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 month ago

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` Renames 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. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


philips_js documentation philips_js source (message by IssueLinks)

elupus commented 1 month ago

Turn on debug logs. Restart the tv. Full restart with power cable out.

riddlenl commented 1 month ago

Turn on debug logs. Restart the tv. Full restart with power cable out.

Yeah, I that restart a couple of times already.

Do you mean debug logs in HA or on the TV?

In HA logs I see this coming back when trying to add the device:

Logger: homeassistant.components.philips_js Source: components/philips_js/config_flow.py:170 integration: philips_js (documentation, issues) First occurred: October 21, 2024 at 18:50:51 (5 occurrences) Last logged: 11:27:04

System data is empty

elupus commented 1 month ago

You need to turn on debug logs in ha. And post that log. It should try the https port.

Also if you can post the system info on the https port.

https://host:1926/6/system

riddlenl commented 1 month ago

On https://192.168.0.25:1926/system I get this:

{"notifyChange":"http","menulanguage":"English","name":"Woonkamer TV","country":"Netherlands","serialnumber_encrypted":"xR5ZsokgC+CT7FrYxwP+3MyzC7NyZLtBDCSlzEM\/y6E=\n","softwareversion_encrypted":"N12N+\/n36MqxG44C5Tb3+XdwBowgMdEhb7E8jB9Uet4hmwfa4vB5jLcj80Xnf5E1\n","model_encrypted":"wZQsM0Leb904wxem7wZaKXZHn6ZC++eh3uLHSidXAvE=\n","deviceid_encrypted":"ca9H18bDRkpCsDiaRzdoQDrKOoRQKJiK6+rx7gbTxko=\n","nettvversion":"10.0.0","epgsource":"no_epg","api_version":{"Major":6,"Minor":1,"Patch":0},"featuring":{"jsonfeatures":{"editfavorites":["TVChannels","SatChannels"],"recordings":["List","Schedule","Manage"],"ambilight":["LoungeLight","Hue","Ambilight","HueStreaming"],"menuitems":["Setup_Menu"],"textentry":["not_available"],"applications":["TV_Apps","TV_Games","TV_Settings"],"pointer":["not_available"],"inputkey":["key"],"activities":["intent"],"channels":["preset_string"],"mappings":["server_mapping"],"aurora":["available"]},"systemfeatures":{"tvtype":"consumer","content":["dmr","pvr"],"tvsearch":"intent","pairing_type":"digest_auth_pairing","secured_transport":"true","companion_screen":"true"}},"os_type":"MSAF_2019_P"}

I'm not sure how to enable debug logging for a service without having it enabled for a device..

-- Edit -- After trying it again right now, I do get the 'Enter the PIN displayed on your TV' but there's no PIN on the TV

Drakot commented 1 week ago

I'm having the same issue. It was working before, and now it does not. I can access the json through the ip on the browser, but i think theres a problem with the certificate because i have to trust the page first then it shows the json.

elupus commented 1 week ago

Still need debug logs.

Drakot commented 19 hours ago

Still need debug logs.

Registrador: homeassistant.components.philips_js Fuente: components/philips_js/config_flow.py:170 integración: philips_js (documentación, problemas) Ocurrió por primera vez: 13:13:54 (2 ocurrencias) Última vez registrado: 13:13:58

[Errno -2] Name does not resolve

2024-11-26 12:13:58.162 ERROR (MainThread) [homeassistant.components.philips_js] [Errno -2] Name does not resolve

dima-punkboy commented 15 hours ago

Same here.

ShellCode33 commented 10 hours ago
$ grep -E '(\[http|\[haphilipsjs|\[homeassistant.components.philips_js)' ~/downloads/home-assistant_2024-11-26T21-10-26.019Z.log
024-11-26 22:07:12.593 DEBUG (MainThread) [httpcore.connection] connect_tcp.started host='192.168.1.13' port=1926 local_address=None timeout=5.0 socket_options=None
2024-11-26 22:07:17.594 DEBUG (MainThread) [httpcore.connection] connect_tcp.failed exception=ConnectTimeout(TimeoutError())
2024-11-26 22:07:17.594 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2024-11-26 22:07:17.594 DEBUG (MainThread) [homeassistant.components.philips_js.coordinator] Finished fetching philips_js data in 5.002 seconds (success: True)
2024-11-26 22:07:47.594 DEBUG (MainThread) [httpcore.connection] connect_tcp.started host='192.168.1.13' port=1926 local_address=None timeout=5.0 socket_options=None
2024-11-26 22:07:52.597 DEBUG (MainThread) [httpcore.connection] connect_tcp.failed exception=ConnectTimeout(TimeoutError())
2024-11-26 22:07:52.597 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2024-11-26 22:07:52.597 DEBUG (MainThread) [homeassistant.components.philips_js.coordinator] Finished fetching philips_js data in 5.004 seconds (success: True)
2024-11-26 22:08:22.594 DEBUG (MainThread) [httpcore.connection] connect_tcp.started host='192.168.1.13' port=1926 local_address=None timeout=5.0 socket_options=None
2024-11-26 22:08:27.595 DEBUG (MainThread) [httpcore.connection] connect_tcp.failed exception=ConnectTimeout(TimeoutError())
2024-11-26 22:08:27.595 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2024-11-26 22:08:27.596 DEBUG (MainThread) [homeassistant.components.philips_js.coordinator] Finished fetching philips_js data in 5.002 seconds (success: True)
2024-11-26 22:08:57.593 DEBUG (MainThread) [httpcore.connection] connect_tcp.started host='192.168.1.13' port=1926 local_address=None timeout=5.0 socket_options=None
2024-11-26 22:09:02.595 DEBUG (MainThread) [httpcore.connection] connect_tcp.failed exception=ConnectTimeout(TimeoutError())
2024-11-26 22:09:02.595 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2024-11-26 22:09:02.595 DEBUG (MainThread) [homeassistant.components.philips_js.coordinator] Finished fetching philips_js data in 5.002 seconds (success: True)
2024-11-26 22:09:32.594 DEBUG (MainThread) [httpcore.connection] connect_tcp.started host='192.168.1.13' port=1926 local_address=None timeout=5.0 socket_options=None
2024-11-26 22:09:37.596 DEBUG (MainThread) [httpcore.connection] connect_tcp.failed exception=ConnectTimeout(TimeoutError())
2024-11-26 22:09:37.596 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2024-11-26 22:09:37.596 DEBUG (MainThread) [homeassistant.components.philips_js.coordinator] Finished fetching philips_js data in 5.003 seconds (success: True)
2024-11-26 22:10:07.593 DEBUG (MainThread) [httpcore.connection] connect_tcp.started host='192.168.1.13' port=1926 local_address=None timeout=5.0 socket_options=None
2024-11-26 22:10:12.595 DEBUG (MainThread) [httpcore.connection] connect_tcp.failed exception=ConnectTimeout(TimeoutError())
2024-11-26 22:10:12.595 DEBUG (MainThread) [haphilipsjs] TV not available: ConnectionFailure(ConnectTimeout(''))
2024-11-26 22:10:12.595 DEBUG (MainThread) [homeassistant.components.philips_js.coordinator] Finished fetching philips_js data in 5.003 seconds (success: True)

192.168.1.13 is not the IP of my TV, it's the IP of my PC, wtf ?

I guess that explains why I've been getting inbound traffic denial notifications lately:

image