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.7k stars 30.82k forks source link

Samsun TV asks for reconfiguring again #77070

Closed dimitripb closed 1 year ago

dimitripb commented 2 years ago

The problem

Since last week my Samsung TV is asking daily for reconfiguring again. This problem was solved some releases ago and now it's back

What version of Home Assistant Core has the issue?

2022.8.6

What was the last working version of Home Assistant Core?

2022.7.x ?

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Samsung Smart TV

Link to integration documentation on our website

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

Diagnostics information

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.8.6", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.5", "docker": true, "arch": "aarch64", "timezone": "Europe/Amsterdam", "os_name": "Linux", "os_version": "5.15.55", "supervisor": "2022.08.3", "host_os": "Home Assistant OS 8.4", "docker_version": "20.10.14", "chassis": "embedded", "run_as_root": true }, "custom_components": { "hacs": { "version": "1.26.2", "requirements": [ "aiogithubapi>=22.2.4" ] }, "volkswagencarnet": { "version": "v4.4.58", "requirements": [ "pytz", "volkswagencarnet==4.4.53" ] }, "smartthinq_sensors": { "version": "0.23.9", "requirements": [ "pycountry>=20.7.3", "xmltodict>=0.12.0", "chardet>=4.0.0" ] } }, "integration_manifest": { "domain": "samsungtv", "name": "Samsung Smart TV", "documentation": "https://www.home-assistant.io/integrations/samsungtv", "requirements": [ "getmac==0.8.2", "samsungctl[websocket]==0.7.1", "samsungtvws[async,encrypted]==2.5.0", "wakeonlan==2.1.0", "async-upnp-client==0.31.2" ], "ssdp": [ { "st": "urn:samsung.com:device:RemoteControlReceiver:1" }, { "st": "urn:samsung.com:service:MainTVAgent2:1" }, { "manufacturer": "Samsung", "st": "urn:schemas-upnp-org:service:RenderingControl:1" }, { "manufacturer": "Samsung Electronics", "st": "urn:schemas-upnp-org:service:RenderingControl:1" } ], "zeroconf": [ { "type": "_airplay._tcp.local.", "properties": { "manufacturer": "samsung" } } ], "dependencies": [ "ssdp" ], "dhcp": [ { "registered_devices": true }, { "hostname": "tizen" }, { "macaddress": "4844F7" }, { "macaddress": "606BBD" }, { "macaddress": "641CB0" }, { "macaddress": "8CC8CD" }, { "macaddress": "8CEA48" }, { "macaddress": "F47B5E" } ], "codeowners": [ "@chemelli74", "@epenet" ], "config_flow": true, "iot_class": "local_push", "loggers": [ "samsungctl", "samsungtvws" ], "is_built_in": true }, "data": { "entry": { "entry_id": "5435329903fbe48d52b0a4f84a9453fc", "version": 2, "domain": "samsungtv", "title": "Samsung 7 Series (49) (UE49KS7000)", "data": { "host": "192.168.0.32", "mac": "e4:7d:bd:53:09:0a", "manufacturer": "Samsung", "method": "websocket", "model": "UE49KS7000", "name": "Samsung 7 Series (49)", "port": 8002, "token": null, "ssdp_rendering_control_location": "http://192.168.0.32:9197/dmr" }, "options": {}, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "dhcp", "unique_id": "927ae2e5-edda-4677-ab44-51734abb5049", "disabled_by": null }, "device_info": { "id": "uuid:927ae2e5-edda-4677-ab44-51734abb5049", "name": "[TV] Samsung 7 Series (49)", "version": "2.1.0", "device": { "type": "Samsung SmartTV", "duid": "uuid:927ae2e5-edda-4677-ab44-51734abb5049", "model": "16_JAZZM_UHD", "modelName": "UE49KS7000", "description": "Samsung DTV RCR", "networkType": "wired", "ssid": "", "ip": "192.168.0.32", "firmwareVersion": "Unknown", "name": "[TV] Samsung 7 Series (49)", "id": "uuid:927ae2e5-edda-4677-ab44-51734abb5049", "udn": "uuid:927ae2e5-edda-4677-ab44-51734abb5049", "resolution": "3840x2160", "countryCode": "NL", "msfVersion": "2.1.0", "smartHubAgreement": "true", "VoiceSupport": "true", "GamePadSupport": "true", "wifiMac": "e4:7d:bd:53:09:0a", "developerMode": "0", "developerIP": "", "OS": "Tizen" }, "type": "Samsung SmartTV", "uri": "https://192.168.0.32:8002/api/v2/", "remote": "1.0", "isSupport": "{\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"true\",\"DMP_available\":\"true\",\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"EDEN_available\":\"true\"}" } } }

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2022-08-20 17:20:18.935 ERROR (MainThread) [homeassistant.components.media_player] Platform samsungtv does not generate unique IDs. ID 927ae2e5-edda-4677-ab44-51734abb5049 already exists - ignoring media_player.samsung_7_series_49

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

Hey there @chemelli74, @epenet, mind taking a look at this issue as it has been labeled with an integration (samsungtv) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


samsungtv documentation samsungtv source (message by IssueLinks)

AndreasWhite commented 2 years ago

Same problem.

Home Assistant 2022.8.6

Samsung UE40NU7170

dimitripb commented 2 years ago

In my case this problem seems to be gone. I think it was a one time problem after installation of 2022.8.x. After removing and adding my TV again the problem did not occur anymore. @AndreasWhite : do you have still this problem?

AndreasWhite commented 2 years ago

In my case this problem seems to be gone. I think it was a one time problem after installation of 2022.8.x. After removing and adding my TV again the problem did not occur anymore. @AndreasWhite : do you have still this problem?

Yes, the problem persists

epenet commented 2 years ago

You should probably make sure that you have the correct settings enabled on the TV. I think one of them is to "ask everytime" or "ask once" in the device manager.

apbarratt commented 1 year ago

I have been experiencing this problem for about a week now though it hasn't been a problem before. If I turn on the Tv manually and then run the config, I am not prompted for anything like a PIN, it just says it's been successful, but the problem reappears shortly after turning off the TV. I'll have a quick look for these possible "ask everytime" prompts as I did fairly recently do a factory reset on the TV. The same TV is refusing to play Netflix lately and I'm at a loss for why, no other streaming services are affected, just Netflix reaches "25%" buffering and then does nothing more. I doubt that's related though, but the reset would make sense if I've changed some setting that might be causing this. I'll feedback if I find such a setting...

dyvyak commented 1 year ago

As soon as i turn off my Samsung 7 Series (65) (UE65NU7172) HA is shows notification: Integration requires reconfiguration

TRusselo commented 1 year ago

Please reconfigure... several times per day here is the diag file if it helps

config_entry-samsungtv-a26f173dc6ca723ddb3b5428132303c0.json.txt

calamarain commented 1 year ago

You should probably make sure that you have the correct settings enabled on the TV. I think one of them is to "ask everytime" or "ask once" in the device manager.

This solves this problem for me.

epenet commented 1 year ago

I opened a doc PR: https://github.com/home-assistant/home-assistant.io/pull/25837

issue-triage-workflows[bot] commented 1 year ago

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.

apbarratt commented 1 year ago

Forgive me for the rather irritating response after the ticket is closed, however for anyone else having Samsung TV issues like this, I did manage to solve this problem with a factory reset of my Samsung TV and just setting up everything from scratch. At the same time, my TV simply refused to play things on Netflix and this turned out to be a caching issue. Frustratingly a factory reset (and indeed any user method) was impossible to solve the issue from this point of view, but I found that a remote help feature exists on the TV. I requested help on the Sunday night and received a phone call on Monday in which a very friendly call centre worker was able to then take remote control of my TV and reset the cache from her end. She seemed to share my frustration that it was not something available in the user preferences. I don't know if they've fixed this in later models. For good measure, she also set up my DNS settings to point at google's DNS servers (8.8.8.8 I think?). I don't think it was necessary in my case but I figured it couldn't hurt and it sounds like it's something that has helped other folk in the past. Anyway, the point is that I haven't experienced this reconfiguring issue since those issues were resolved. I'm afraid I can't quite remember if the factory reset alone resolved the home assistant troubles, but I suspect it did, but if not, do try the remote assistant feature ask ask the nice folk on the line when they call to assist you in clearing your cache :)