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
69.84k stars 28.95k forks source link

Samsung Smart TV integration cannot select source #84912

Open Gollam opened 1 year ago

Gollam commented 1 year ago

The problem

The integration communicates perfectly, there are 10-15 sources which can be chosen from. If I select any of them, the TV instantly switches to that source. The only issue is that if I select the source named "TV", it won't do anything. There are no debug logs at all. Please note that "TV" is the first one in the source selection list. Can it be some null indexing problem?

What version of Home Assistant Core has the issue?

core-2022.12.8

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

samsungtv

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

There are no error logs at all, and debug logs do not tell anything useful. I checked the integration code, there are absolutely no logging when sending this command to the TV. Maybe that is something which could be improved.

Additional information

No response

home-assistant[bot] commented 1 year 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!

Code owner commands Code owners of `samsungtv` 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 samsungtv` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


samsungtv documentation samsungtv source (message by IssueLinks)

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.

Gollam commented 1 year ago

still an issue

kwithus commented 1 year ago

Same here, not yet resolved

andesis02 commented 1 year ago

Still not working

TeHashX commented 1 year ago

Same issue here if I select TV input but after select ing HDMI will switch to TV (HDMI or any unused source)

issue-triage-workflows[bot] commented 9 months 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.

Gollam commented 9 months ago

Still occurs

WillNawate commented 9 months ago

Same problem here. "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.9.3", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "aarch64", "timezone": "America/Sao_Paulo", "os_name": "Linux", "os_version": "6.1.21-v8", "supervisor": "2023.09.2", "host_os": "Home Assistant OS 10.5", "docker_version": "23.0.6", "chassis": "embedded", "run_as_root": true }

"integration_manifest": { "domain": "samsungtv", "name": "Samsung Smart TV", "codeowners": [ "@chemelli74", "@epenet" ], "config_flow": true, "dependencies": [ "ssdp" ], ... "documentation": "https://www.home-assistant.io/integrations/samsungtv", "integration_type": "device", "iot_class": "local_push", "loggers": [ "samsungctl", "samsungtvws" ], "requirements": [ "getmac==0.8.2", "samsungctl[websocket]==0.7.1", "samsungtvws[async,encrypted]==2.6.0", "wakeonlan==2.1.0", "async-upnp-client==0.35.0" ], "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*" } } ], "is_built_in": true }

"data": { "entry": { "entry_id": "b09cf77ff47b5439ee13ef8ea7697b97", "version": 2, "domain": "samsungtv", "title": "WNO-TV (UN50RU7100GXZD)", "data": { "host": "192.168.28.xx", "mac": "00:7c:xx:ab:c8:xx", "manufacturer": "Samsung", "method": "websocket", "model": "UN50RU7100GXZD", "name": "WNO-TV", "port": 8002, "ssdp_rendering_control_location": "http://192.168.28.xx:9197/dmr", "ssdp_main_tv_agent_location": null, "token": "**REDACTED**" }, "options": {}, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "6789b17c-d543-4279-b8b2-xxxxxxxxxxxx", "disabled_by": null }, "device_info": { "device": { "FrameTVSupport": "false", "GamePadSupport": "true", "ImeSyncedSupport": "true", "Language": "pt_BR", "OS": "Tizen", "PowerState": "standby", "TokenAuthSupport": "true", "VoiceSupport": "false", "WallScreenRatio": "0", "WallService": "false", "countryCode": "BR", "description": "Samsung DTV RCR", "developerIP": "0.0.0.0", "developerMode": "0", "duid": "uuid:6789b17c-d543-4279-b8b2-xxxxxxxxxxxxx", "firmwareVersion": "Unknown", "id": "uuid:6789b17c-d543-4279-b8b2-xxxxxxxxxxxx", "ip": "192.168.28.xx", "model": "19_MUSEL_UHD_BASIC", "modelName": "UN50RU7100GXZD", "name": "[TV] WNO-TV", "networkType": "wireless", "resolution": "3840x2160", "smartHubAgreement": "true", "ssid": "xx:7c:xx:13:xx:bb", "type": "Samsung SmartTV", "udn": "uuid:6789b17c-d543-4279-b8b2-xxxxxxxxxxxxx", "wifiMac": "00:7C:xx:AB:C8:xx" }, "id": "uuid:6789b17c-d543-4279-b8b2-xxxxxxxxxxxxx", "isSupport": "{\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"DMP_available\":\"true\",\"EDEN_available\":\"true\",\"FrameTVSupport\":\"false\",\"ImeSyncedSupport\":\"true\",\"TokenAuthSupport\":\"true\",\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"false\"}\n", "name": "[TV] WNO-TV", "remote": "1.0", "type": "Samsung SmartTV", "uri": "https://192.168.28.xx:8002/api/v2/", "version": "2.0.25" } }

Pavone89 commented 7 months ago

Same problem on my new Samsung 2023 QE65S95CATXZT. I bough a Samsung serie 7 in 2018, no problem, integration works fine, I can view and select every source and apps. In my new tv 2023 no applications show inside source list, I can select only “tv or hdmi”

Someone has the solutions ?

veeroohre commented 6 months ago

Same +1

ncodee commented 6 months ago

At this point, would it be better to switch to the hacs integration?

chemelli74 commented 6 months ago

At this point, would it be better to switch to the hacs integration?

As far as I know, there is no info coming from the TV about current selected source; if confirmed there is no reliable way to know the current source.

ncodee commented 6 months ago

At this point, would it be better to switch to the hacs integration?

As far as I know, there is no info coming from the TV about current selected source; if confirmed there is no reliable way to know the current source.

The hacs integration is able pull channel info through SmartThings, which has been working well for me so far. Maybe the developer (@ollo69) can work with you guys with the HA implementation?

ollo69 commented 6 months ago

The hacs integration is able pull channel info through SmartThings, which has been working well for me so far. Maybe the developer (@ollo69) can work with you guys with the HA implementation?

I think that this option was already discussed in the past. The solution in custom integration use both local (web socket) and cloud (SmartThings) API and this hybrid solution is not allowed in native integration, correct me if I'm wrong.

issue-triage-workflows[bot] commented 3 months 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.

Gollam commented 3 months ago

Instead of marking it stale over and over again, someone could have a look

issue-triage-workflows[bot] commented 6 days 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.