ollo69 / ha-samsungtv-smart

📺 Home Assistant SamsungTV Smart Component with simplified SmartThings API Support configurable from User Interface.
Apache License 2.0
430 stars 57 forks source link

Cast to TV (media_player.play_media) does not work #263

Closed lexusburn closed 9 months ago

lexusburn commented 1 year ago

Describe the bug I would like to stream cast videos to a 2023 samsung tv.

I've found the best solution to get valid informations regarding content_id and content_type is by creating a automation, select play media as action and select the (switched on) tv as media player. Then it's pssible to select media via click in the media selector dialog.

I've tried different sources, because i thought that's a problem related to the source, but i can't get it working with any source. I've got no changes on the tv (is still in live tv mode) and no error in HA logs. Three different sources as examples:

service: media_player.play_media
data:
  enqueue: play
  media_content_id: media-source://camera/camera.my_eufy_camera
  media_content_type: application/vnd.apple.mpegurl
target:
  entity_id: media_player.samsung_tv
service: media_player.play_media
data:
  enqueue: play
  media_content_id: media-source://camera/camera.my_unifi_camera
  media_content_type: application/vnd.apple.mpegurl
target:
  entity_id: media_player.samsung_tv
service: media_player.play_media
data:
  enqueue: play
  media_content_id: media-source://unifiprotect/5f400f270323f503870003e9:event:64c854e102d70b03e4003377
  media_content_type: video/mp4
target:
  entity_id: media_player.samsung_tv

Expected behavior I would expect that the media will be streamed to the samsung tv.

Screenshots

Environment details:

Output of HA logs Paste the relavant output of the HA log here.

Additional context Add any other context about the problem here.

lexusburn commented 1 year ago

123.123.123.123 <-- ip of the samsung tv in this logs (not my real ip) 777.777.777.777 <-- ip of the home assistant server (not my real ip)

Here some logs from HA:

2023-08-01 16:58:28.622 INFO (MainThread) [homeassistant.components.automation.samsung_play_media] SAMSUNG: play media: Running automation actions
2023-08-01 16:58:28.622 INFO (MainThread) [homeassistant.components.automation.samsung_play_media] SAMSUNG: play media: Executing step call service
2023-08-01 16:58:28.643 DEBUG (MainThread) [custom_components.samsungtv_smart.api.upnp] 500, message='Internal Server Error', url=URL('http://123.123.123.123:9197/upnp/control/AVTransport1')
2023-08-01 16:58:28.644 DEBUG (SyncWorker_51) [custom_components.samsungtv_smart.api.samsungws] Opening url in browser http://777.777.777.777:8123/api/hls/8cc2c1fdbf6989e437286539905813edb35f03fbcb4152efe0e05af4148078d3/master_playlist.m3u8?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
.eyJpc3MiOiI5NWQzMmViYTNhZTc0NDU0OTBjMmRiMjE2NjQzZWIwYSIsInBhdGgiOiIvYXBpL2hscy84Y2MyYzFmZGJmNjk4OWU0MzcyODY1Mzk5MDU4MTNlZGIzNWYwM2ZiY2I0MTUyZWZlMGUwNWFmNDE0ODA3OGQzL21hc3Rlcl9wbGF5bGlzdC5tM3U4IiwicGFyYW1zIjpbXSwiaWF0IjoxNjkwOTAxOTA4LCJleHAiOjE2OTA5ODgzMDh9.ewDs3d-CfQiZe_xgc-pK6wPTzmur58Uim
iz3Z-FBAP4
2023-08-01 16:58:28.644 DEBUG (SyncWorker_51) [custom_components.samsungtv_smart.api.samsungws] Sending run app app_id: org.tizen.browser app_type: NATIVE_LAUNCH meta_tag: http://777.777.777.777:8123/api/hls/8cc2c1fdbf6989e437286539905813edb35f03fbcb4152efe0e05af4148078d3/master_playl
ist.m3u8?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI5NWQzMmViYTNhZTc0NDU0OTBjMmRiMjE2NjQzZWIwYSIsInBhdGgiOiIvYXBpL2hscy84Y2MyYzFmZGJmNjk4OWU0MzcyODY1Mzk5MDU4MTNlZGIzNWYwM2ZiY2I0MTUyZWZlMGUwNWFmNDE0ODA3OGQzL21hc3Rlcl9wbGF5bGlzdC5tM3U4IiwicGFyYW1zIjpbXSwiaWF0IjoxNjkwOTAxOTA4LCJleHAiOjE2OTA5ODgzMDh9.ewDs3d-CfQiZe_xgc-pK6wPTzmur58Uimiz3Z-FBAP4
2023-08-01 16:58:28.663 INFO (MainThread) [homeassistant.components.automation.samsung_play_media] SAMSUNG: play media: Executing step call service
2023-08-01 16:58:28.665 ERROR (MainThread) [homeassistant.components.automation.samsung_play_media] SAMSUNG: play media: Error executing script. Error for call_service at pos 2: camera.my_eufy_camera does not support play stream service
2023-08-01 16:58:28.667 ERROR (MainThread) [homeassistant.components.automation.samsung_play_media] Error while executing automation automation.samsung_play_media: camera.my_eufy_camera does not support play stream service

Streaming eufy camera seems not to be supported, but i think the interesting part is 500, message='Internal Server Error', url=URL('http://123.123.123.123:9197/upnp/control/AVTransport1').

Seems that this isn't possible with my 2023 samsung tv? telnet works for this port, therefore this port is open on the tv.

snailandthewhale commented 1 year ago

I have the same issue with a 2023 Frame.

johntdyer commented 1 year ago

Same error w/ 2022 frame, here are the debug logs from the attempt

2023-08-09 11:48:09.025 INFO (MainThread) [homeassistant.components.automation.pantry_light_automation] Pantry Light Automation: Executing step call service
2023-08-09 11:48:11.537 DEBUG (MainThread) [custom_components.samsungtv_smart.api.upnp] 500, message='Internal Server Error', url=URL('http://192.168.121.139:9197/upnp/control/AVTransport1')
2023-08-09 11:48:11.538 DEBUG (SyncWorker_32) [custom_components.samsungtv_smart.api.samsungws] Opening url in browser https://www.google.com
2023-08-09 11:48:11.538 DEBUG (SyncWorker_32) [custom_components.samsungtv_smart.api.samsungws] Sending run app app_id: org.tizen.browser app_type: NATIVE_LAUNCH meta_tag: https://www.google.com
2023-08-09 11:48:11.635 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'deviceId': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx', 'state': 'ONLINE', 'lastUpdatedDate': '2023-08-09T15:13:03.456Z'}
2023-08-09 11:48:11.757 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'main': {'mnfv': {'value': 'T-PTMAKUC-1430.1|ST_ENERGY'}, 'data': {'value': None}, 'di': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'supportedInputSources': {'value': '["digitalTv"]'}, 'mnsl': {'value': None}, 'dmv': {'value': 'res.1.1.0,sh.1.1.0'}, 'vid': {'value': 'VD-STV-2022'}, 'supportedPictureModes': {'value': '["Dynamic","FILMMAKER MODE","Movie","Standard"]'}, 'firmwareVersion': {'value': '3.5.0'}, 'icv': {'value': 'core.1.1.0'}, 'soundMode': {'value': 'Amplify'}, 'setupId': {'value': '101'}, 'playbackStatus': {'value': None}, 'mute': {'value': 'unmuted'}, 'supportedAmbientApps': {'value': '[]'}, 'mnId': {'value': '0AJK'}, 'mnmo': {'value': 'QN50LS03BAFXZA'}, 'volume': {'value': '42', 'unit': '%'}, 'tvChannel': {'value': ''}, 'mnmn': {'value': 'Samsung Electronics'}, 'imeAdvSupported': {'value': 'true'}, 'mnml': {'value': None}, 'tvChannelName': {'value': 'com.samsung.tv.csfs'}, 'signinPermission': {'value': None}, 'logType': {'value': '["errCode","dump"]'}, 'mndt': {'value': '2022-01-01'}, 'supportsPowerOnByOcf': {'value': 'true'}, 'mnhw': {'value': None}, 'supportedPlaybackCommands': {'value': '["play","pause","stop","fastForward","rewind"]'}, 'supportedPictureModesMap': {'value': '[{"id":"modeDynamic","name":"Dynamic"},{"id":"modeFilmmakerMode","name":"FILMMAKER MODE"},{"id":"modeMovie","name":"Movie"},{"id":"modeStandard","name":"Standard"}]'}, 'tsId': {'value': None}, 'error': {'value': None}, 'switch': {'value': 'on'}, 'dumpType': {'value': 'id'}, 'endpoint': {'value': 'NONE'}, 'mnpv': {'value': '6.5'}, 'supportedSoundModes': {'value': '["Amplify","Standard"]'}, 'st': {'value': '2023-07-19T23:40:35Z'}, 'minVersion': {'value': '1.0'}, 'powerConsumption': {'value': None}, 'pictureMode': {'value': 'Standard'}, 'supportedSoundModesMap': {'value': '[{"id":"modeAmplify","name":"Amplify"},{"id":"modeStandard","name":"Standard"}]'}, 'disabledCapabilities': {'value': '["samsungvd.ambient","samsungvd.ambientContent","powerConsumptionReport"]'}, 'supportedTrackControlCommands': {'value': None}, 'mobileCamSupported': {'value': 'true'}, 'protocolType': {'value': 'ble_ocf'}, 'n': {'value': 'Office TV'}, 'supportedInputSourcesMap': {'value': '[{"id":"dtv","name":"TV"}]'}, 'mnos': {'value': 'Tizen'}, 'pi': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'inputSource': {'value': 'dtv'}}}
2023-08-09 11:48:12.801 DEBUG (MainThread) [custom_components.samsungtv_smart.api.upnp] 500, message='Internal Server Error', url=URL('http://192.168.121.139:9197/upnp/control/AVTransport1')
2023-08-09 11:48:12.801 DEBUG (SyncWorker_18) [custom_components.samsungtv_smart.api.samsungws] Opening url in browser https://www.google.com
2023-08-09 11:48:12.801 DEBUG (SyncWorker_18) [custom_components.samsungtv_smart.api.samsungws] Sending run app app_id: org.tizen.browser app_type: NATIVE_LAUNCH meta_tag: https://www.google.com
2023-08-09 11:48:20.622 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'deviceId': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx', 'state': 'ONLINE', 'lastUpdatedDate': '2023-08-09T15:13:03.456Z'}
2023-08-09 11:48:21.589 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'main': {'mnfv': {'value': 'T-PTMAKUC-1430.1|ST_ENERGY'}, 'data': {'value': None}, 'di': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'supportedInputSources': {'value': '["digitalTv"]'}, 'mnsl': {'value': None}, 'dmv': {'value': 'res.1.1.0,sh.1.1.0'}, 'vid': {'value': 'VD-STV-2022'}, 'supportedPictureModes': {'value': '["Dynamic","FILMMAKER MODE","Movie","Standard"]'}, 'firmwareVersion': {'value': '3.5.0'}, 'icv': {'value': 'core.1.1.0'}, 'soundMode': {'value': 'Amplify'}, 'setupId': {'value': '101'}, 'playbackStatus': {'value': None}, 'mute': {'value': 'unmuted'}, 'supportedAmbientApps': {'value': '[]'}, 'mnId': {'value': '0AJK'}, 'mnmo': {'value': 'QN50LS03BAFXZA'}, 'volume': {'value': '42', 'unit': '%'}, 'tvChannel': {'value': ''}, 'mnmn': {'value': 'Samsung Electronics'}, 'imeAdvSupported': {'value': 'true'}, 'mnml': {'value': None}, 'tvChannelName': {'value': 'com.samsung.tv.csfs'}, 'signinPermission': {'value': None}, 'logType': {'value': '["errCode","dump"]'}, 'mndt': {'value': '2022-01-01'}, 'supportsPowerOnByOcf': {'value': 'true'}, 'mnhw': {'value': None}, 'supportedPlaybackCommands': {'value': '["play","pause","stop","fastForward","rewind"]'}, 'supportedPictureModesMap': {'value': '[{"id":"modeDynamic","name":"Dynamic"},{"id":"modeFilmmakerMode","name":"FILMMAKER MODE"},{"id":"modeMovie","name":"Movie"},{"id":"modeStandard","name":"Standard"}]'}, 'tsId': {'value': None}, 'error': {'value': None}, 'switch': {'value': 'on'}, 'dumpType': {'value': 'id'}, 'endpoint': {'value': 'NONE'}, 'mnpv': {'value': '6.5'}, 'supportedSoundModes': {'value': '["Amplify","Standard"]'}, 'st': {'value': '2023-07-19T23:40:35Z'}, 'minVersion': {'value': '1.0'}, 'powerConsumption': {'value': None}, 'pictureMode': {'value': 'Standard'}, 'supportedSoundModesMap': {'value': '[{"id":"modeAmplify","name":"Amplify"},{"id":"modeStandard","name":"Standard"}]'}, 'disabledCapabilities': {'value': '["samsungvd.ambient","samsungvd.ambientContent","powerConsumptionReport"]'}, 'supportedTrackControlCommands': {'value': None}, 'mobileCamSupported': {'value': 'true'}, 'protocolType': {'value': 'ble_ocf'}, 'n': {'value': 'Office TV'}, 'supportedInputSourcesMap': {'value': '[{"id":"dtv","name":"TV"}]'}, 'mnos': {'value': 'Tizen'}, 'pi': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'inputSource': {'value': 'dtv'}}}
2023-08-09 11:48:35.619 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'deviceId': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx', 'state': 'ONLINE', 'lastUpdatedDate': '2023-08-09T15:13:03.456Z'}
2023-08-09 11:48:36.905 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'main': {'mnfv': {'value': 'T-PTMAKUC-1430.1|ST_ENERGY'}, 'data': {'value': None}, 'di': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'supportedInputSources': {'value': '["digitalTv"]'}, 'mnsl': {'value': None}, 'dmv': {'value': 'res.1.1.0,sh.1.1.0'}, 'vid': {'value': 'VD-STV-2022'}, 'supportedPictureModes': {'value': '["Dynamic","FILMMAKER MODE","Movie","Standard"]'}, 'firmwareVersion': {'value': '3.5.0'}, 'icv': {'value': 'core.1.1.0'}, 'soundMode': {'value': 'Amplify'}, 'setupId': {'value': '101'}, 'playbackStatus': {'value': None}, 'mute': {'value': 'unmuted'}, 'supportedAmbientApps': {'value': '[]'}, 'mnId': {'value': '0AJK'}, 'mnmo': {'value': 'QN50LS03BAFXZA'}, 'volume': {'value': '42', 'unit': '%'}, 'tvChannel': {'value': ''}, 'mnmn': {'value': 'Samsung Electronics'}, 'imeAdvSupported': {'value': 'true'}, 'mnml': {'value': None}, 'tvChannelName': {'value': 'com.samsung.tv.csfs'}, 'signinPermission': {'value': None}, 'logType': {'value': '["errCode","dump"]'}, 'mndt': {'value': '2022-01-01'}, 'supportsPowerOnByOcf': {'value': 'true'}, 'mnhw': {'value': None}, 'supportedPlaybackCommands': {'value': '["play","pause","stop","fastForward","rewind"]'}, 'supportedPictureModesMap': {'value': '[{"id":"modeDynamic","name":"Dynamic"},{"id":"modeFilmmakerMode","name":"FILMMAKER MODE"},{"id":"modeMovie","name":"Movie"},{"id":"modeStandard","name":"Standard"}]'}, 'tsId': {'value': None}, 'error': {'value': None}, 'switch': {'value': 'on'}, 'dumpType': {'value': 'id'}, 'endpoint': {'value': 'NONE'}, 'mnpv': {'value': '6.5'}, 'supportedSoundModes': {'value': '["Amplify","Standard"]'}, 'st': {'value': '2023-07-19T23:40:35Z'}, 'minVersion': {'value': '1.0'}, 'powerConsumption': {'value': None}, 'pictureMode': {'value': 'Standard'}, 'supportedSoundModesMap': {'value': '[{"id":"modeAmplify","name":"Amplify"},{"id":"modeStandard","name":"Standard"}]'}, 'disabledCapabilities': {'value': '["samsungvd.ambient","samsungvd.ambientContent","powerConsumptionReport"]'}, 'supportedTrackControlCommands': {'value': None}, 'mobileCamSupported': {'value': 'true'}, 'protocolType': {'value': 'ble_ocf'}, 'n': {'value': 'Office TV'}, 'supportedInputSourcesMap': {'value': '[{"id":"dtv","name":"TV"}]'}, 'mnos': {'value': 'Tizen'}, 'pi': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'inputSource': {'value': 'dtv'}}}
2023-08-09 11:48:50.664 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'deviceId': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx', 'state': 'ONLINE', 'lastUpdatedDate': '2023-08-09T15:13:03.456Z'}
2023-08-09 11:48:51.927 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'main': {'mnfv': {'value': 'T-PTMAKUC-1430.1|ST_ENERGY'}, 'data': {'value': None}, 'di': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'supportedInputSources': {'value': '["digitalTv"]'}, 'mnsl': {'value': None}, 'dmv': {'value': 'res.1.1.0,sh.1.1.0'}, 'vid': {'value': 'VD-STV-2022'}, 'supportedPictureModes': {'value': '["Dynamic","FILMMAKER MODE","Movie","Standard"]'}, 'firmwareVersion': {'value': '3.5.0'}, 'icv': {'value': 'core.1.1.0'}, 'soundMode': {'value': 'Amplify'}, 'setupId': {'value': '101'}, 'playbackStatus': {'value': None}, 'mute': {'value': 'unmuted'}, 'supportedAmbientApps': {'value': '[]'}, 'mnId': {'value': '0AJK'}, 'mnmo': {'value': 'QN50LS03BAFXZA'}, 'volume': {'value': '42', 'unit': '%'}, 'tvChannel': {'value': ''}, 'mnmn': {'value': 'Samsung Electronics'}, 'imeAdvSupported': {'value': 'true'}, 'mnml': {'value': None}, 'tvChannelName': {'value': 'com.samsung.tv.csfs'}, 'signinPermission': {'value': None}, 'logType': {'value': '["errCode","dump"]'}, 'mndt': {'value': '2022-01-01'}, 'supportsPowerOnByOcf': {'value': 'true'}, 'mnhw': {'value': None}, 'supportedPlaybackCommands': {'value': '["play","pause","stop","fastForward","rewind"]'}, 'supportedPictureModesMap': {'value': '[{"id":"modeDynamic","name":"Dynamic"},{"id":"modeFilmmakerMode","name":"FILMMAKER MODE"},{"id":"modeMovie","name":"Movie"},{"id":"modeStandard","name":"Standard"}]'}, 'tsId': {'value': None}, 'error': {'value': None}, 'switch': {'value': 'on'}, 'dumpType': {'value': 'id'}, 'endpoint': {'value': 'NONE'}, 'mnpv': {'value': '6.5'}, 'supportedSoundModes': {'value': '["Amplify","Standard"]'}, 'st': {'value': '2023-07-19T23:40:35Z'}, 'minVersion': {'value': '1.0'}, 'powerConsumption': {'value': None}, 'pictureMode': {'value': 'Standard'}, 'supportedSoundModesMap': {'value': '[{"id":"modeAmplify","name":"Amplify"},{"id":"modeStandard","name":"Standard"}]'}, 'disabledCapabilities': {'value': '["samsungvd.ambient","samsungvd.ambientContent","powerConsumptionReport"]'}, 'supportedTrackControlCommands': {'value': None}, 'mobileCamSupported': {'value': 'true'}, 'protocolType': {'value': 'ble_ocf'}, 'n': {'value': 'Office TV'}, 'supportedInputSourcesMap': {'value': '[{"id":"dtv","name":"TV"}]'}, 'mnos': {'value': 'Tizen'}, 'pi': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'inputSource': {'value': 'dtv'}}}
2023-08-09 11:49:05.617 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'deviceId': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx', 'state': 'ONLINE', 'lastUpdatedDate': '2023-08-09T15:13:03.456Z'}
2023-08-09 11:49:06.855 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'main': {'mnfv': {'value': 'T-PTMAKUC-1430.1|ST_ENERGY'}, 'data': {'value': None}, 'di': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'supportedInputSources': {'value': '["digitalTv"]'}, 'mnsl': {'value': None}, 'dmv': {'value': 'res.1.1.0,sh.1.1.0'}, 'vid': {'value': 'VD-STV-2022'}, 'supportedPictureModes': {'value': '["Dynamic","FILMMAKER MODE","Movie","Standard"]'}, 'firmwareVersion': {'value': '3.5.0'}, 'icv': {'value': 'core.1.1.0'}, 'soundMode': {'value': 'Amplify'}, 'setupId': {'value': '101'}, 'playbackStatus': {'value': None}, 'mute': {'value': 'unmuted'}, 'supportedAmbientApps': {'value': '[]'}, 'mnId': {'value': '0AJK'}, 'mnmo': {'value': 'QN50LS03BAFXZA'}, 'volume': {'value': '42', 'unit': '%'}, 'tvChannel': {'value': ''}, 'mnmn': {'value': 'Samsung Electronics'}, 'imeAdvSupported': {'value': 'true'}, 'mnml': {'value': None}, 'tvChannelName': {'value': 'com.samsung.tv.csfs'}, 'signinPermission': {'value': None}, 'logType': {'value': '["errCode","dump"]'}, 'mndt': {'value': '2022-01-01'}, 'supportsPowerOnByOcf': {'value': 'true'}, 'mnhw': {'value': None}, 'supportedPlaybackCommands': {'value': '["play","pause","stop","fastForward","rewind"]'}, 'supportedPictureModesMap': {'value': '[{"id":"modeDynamic","name":"Dynamic"},{"id":"modeFilmmakerMode","name":"FILMMAKER MODE"},{"id":"modeMovie","name":"Movie"},{"id":"modeStandard","name":"Standard"}]'}, 'tsId': {'value': None}, 'error': {'value': None}, 'switch': {'value': 'on'}, 'dumpType': {'value': 'id'}, 'endpoint': {'value': 'NONE'}, 'mnpv': {'value': '6.5'}, 'supportedSoundModes': {'value': '["Amplify","Standard"]'}, 'st': {'value': '2023-07-19T23:40:35Z'}, 'minVersion': {'value': '1.0'}, 'powerConsumption': {'value': None}, 'pictureMode': {'value': 'Standard'}, 'supportedSoundModesMap': {'value': '[{"id":"modeAmplify","name":"Amplify"},{"id":"modeStandard","name":"Standard"}]'}, 'disabledCapabilities': {'value': '["samsungvd.ambient","samsungvd.ambientContent","powerConsumptionReport"]'}, 'supportedTrackControlCommands': {'value': None}, 'mobileCamSupported': {'value': 'true'}, 'protocolType': {'value': 'ble_ocf'}, 'n': {'value': 'Office TV'}, 'supportedInputSourcesMap': {'value': '[{"id":"dtv","name":"TV"}]'}, 'mnos': {'value': 'Tizen'}, 'pi': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'inputSource': {'value': 'dtv'}}}
2023-08-09 11:49:06.970 INFO (MainThread) [homeassistant.components.automation.garage_automations] Garage Automations: Running automation actions
2023-08-09 11:49:06.970 INFO (MainThread) [homeassistant.components.automation.garage_automations] Garage Automations: Skipped disabled step Driveway Actions
2023-08-09 11:49:06.971 INFO (MainThread) [homeassistant.components.automation.garage_automations] Garage Automations: Skipped disabled step Garage Door Actions
2023-08-09 11:49:10.459 DEBUG (MainThread) [custom_components.samsungtv_smart.api.upnp] 500, message='Internal Server Error', url=URL('http://192.168.121.139:9197/upnp/control/AVTransport1')
2023-08-09 11:49:10.460 DEBUG (SyncWorker_49) [custom_components.samsungtv_smart.api.samsungws] Opening url in browser https://www.google.com
2023-08-09 11:49:10.460 DEBUG (SyncWorker_49) [custom_components.samsungtv_smart.api.samsungws] Sending run app app_id: org.tizen.browser app_type: NATIVE_LAUNCH meta_tag: https://www.google.com
2023-08-09 11:49:20.632 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'deviceId': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx', 'state': 'ONLINE', 'lastUpdatedDate': '2023-08-09T15:13:03.456Z'}
2023-08-09 11:49:21.879 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'main': {'mnfv': {'value': 'T-PTMAKUC-1430.1|ST_ENERGY'}, 'data': {'value': None}, 'di': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'supportedInputSources': {'value': '["digitalTv"]'}, 'mnsl': {'value': None}, 'dmv': {'value': 'res.1.1.0,sh.1.1.0'}, 'vid': {'value': 'VD-STV-2022'}, 'supportedPictureModes': {'value': '["Dynamic","FILMMAKER MODE","Movie","Standard"]'}, 'firmwareVersion': {'value': '3.5.0'}, 'icv': {'value': 'core.1.1.0'}, 'soundMode': {'value': 'Amplify'}, 'setupId': {'value': '101'}, 'playbackStatus': {'value': None}, 'mute': {'value': 'unmuted'}, 'supportedAmbientApps': {'value': '[]'}, 'mnId': {'value': '0AJK'}, 'mnmo': {'value': 'QN50LS03BAFXZA'}, 'volume': {'value': '42', 'unit': '%'}, 'tvChannel': {'value': ''}, 'mnmn': {'value': 'Samsung Electronics'}, 'imeAdvSupported': {'value': 'true'}, 'mnml': {'value': None}, 'tvChannelName': {'value': 'com.samsung.tv.csfs'}, 'signinPermission': {'value': None}, 'logType': {'value': '["errCode","dump"]'}, 'mndt': {'value': '2022-01-01'}, 'supportsPowerOnByOcf': {'value': 'true'}, 'mnhw': {'value': None}, 'supportedPlaybackCommands': {'value': '["play","pause","stop","fastForward","rewind"]'}, 'supportedPictureModesMap': {'value': '[{"id":"modeDynamic","name":"Dynamic"},{"id":"modeFilmmakerMode","name":"FILMMAKER MODE"},{"id":"modeMovie","name":"Movie"},{"id":"modeStandard","name":"Standard"}]'}, 'tsId': {'value': None}, 'error': {'value': None}, 'switch': {'value': 'on'}, 'dumpType': {'value': 'id'}, 'endpoint': {'value': 'NONE'}, 'mnpv': {'value': '6.5'}, 'supportedSoundModes': {'value': '["Amplify","Standard"]'}, 'st': {'value': '2023-07-19T23:40:35Z'}, 'minVersion': {'value': '1.0'}, 'powerConsumption': {'value': None}, 'pictureMode': {'value': 'Standard'}, 'supportedSoundModesMap': {'value': '[{"id":"modeAmplify","name":"Amplify"},{"id":"modeStandard","name":"Standard"}]'}, 'disabledCapabilities': {'value': '["samsungvd.ambient","samsungvd.ambientContent","powerConsumptionReport"]'}, 'supportedTrackControlCommands': {'value': None}, 'mobileCamSupported': {'value': 'true'}, 'protocolType': {'value': 'ble_ocf'}, 'n': {'value': 'Office TV'}, 'supportedInputSourcesMap': {'value': '[{"id":"dtv","name":"TV"}]'}, 'mnos': {'value': 'Tizen'}, 'pi': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'inputSource': {'value': 'dtv'}}}
2023-08-09 11:49:30.595 INFO (MainThread) [homeassistant.components.automation.garage_automations] Garage Automations: Running automation actions
2023-08-09 11:49:30.597 INFO (MainThread) [homeassistant.components.automation.garage_automations] Garage Automations: Garage Lights Actions: choice 2: Running automation actions
2023-08-09 11:49:30.597 INFO (MainThread) [homeassistant.components.automation.garage_automations] Garage Automations: Garage Lights Actions: choice 2: Executing step call service
2023-08-09 11:49:31.018 INFO (MainThread) [homeassistant.components.automation.garage_automations] Garage Automations: Skipped disabled step Driveway Actions
2023-08-09 11:49:31.018 INFO (MainThread) [homeassistant.components.automation.garage_automations] Garage Automations: Skipped disabled step Garage Door Actions
2023-08-09 11:49:35.631 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'deviceId': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx', 'state': 'ONLINE', 'lastUpdatedDate': '2023-08-09T15:13:03.456Z'}
2023-08-09 11:49:36.850 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'main': {'mnfv': {'value': 'T-PTMAKUC-1430.1|ST_ENERGY'}, 'data': {'value': None}, 'di': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'supportedInputSources': {'value': '["digitalTv"]'}, 'mnsl': {'value': None}, 'dmv': {'value': 'res.1.1.0,sh.1.1.0'}, 'vid': {'value': 'VD-STV-2022'}, 'supportedPictureModes': {'value': '["Dynamic","FILMMAKER MODE","Movie","Standard"]'}, 'firmwareVersion': {'value': '3.5.0'}, 'icv': {'value': 'core.1.1.0'}, 'soundMode': {'value': 'Amplify'}, 'setupId': {'value': '101'}, 'playbackStatus': {'value': None}, 'mute': {'value': 'unmuted'}, 'supportedAmbientApps': {'value': '[]'}, 'mnId': {'value': '0AJK'}, 'mnmo': {'value': 'QN50LS03BAFXZA'}, 'volume': {'value': '42', 'unit': '%'}, 'tvChannel': {'value': ''}, 'mnmn': {'value': 'Samsung Electronics'}, 'imeAdvSupported': {'value': 'true'}, 'mnml': {'value': None}, 'tvChannelName': {'value': 'com.samsung.tv.csfs'}, 'signinPermission': {'value': None}, 'logType': {'value': '["errCode","dump"]'}, 'mndt': {'value': '2022-01-01'}, 'supportsPowerOnByOcf': {'value': 'true'}, 'mnhw': {'value': None}, 'supportedPlaybackCommands': {'value': '["play","pause","stop","fastForward","rewind"]'}, 'supportedPictureModesMap': {'value': '[{"id":"modeDynamic","name":"Dynamic"},{"id":"modeFilmmakerMode","name":"FILMMAKER MODE"},{"id":"modeMovie","name":"Movie"},{"id":"modeStandard","name":"Standard"}]'}, 'tsId': {'value': None}, 'error': {'value': None}, 'switch': {'value': 'on'}, 'dumpType': {'value': 'id'}, 'endpoint': {'value': 'NONE'}, 'mnpv': {'value': '6.5'}, 'supportedSoundModes': {'value': '["Amplify","Standard"]'}, 'st': {'value': '2023-07-19T23:40:35Z'}, 'minVersion': {'value': '1.0'}, 'powerConsumption': {'value': None}, 'pictureMode': {'value': 'Standard'}, 'supportedSoundModesMap': {'value': '[{"id":"modeAmplify","name":"Amplify"},{"id":"modeStandard","name":"Standard"}]'}, 'disabledCapabilities': {'value': '["samsungvd.ambient","samsungvd.ambientContent","powerConsumptionReport"]'}, 'supportedTrackControlCommands': {'value': None}, 'mobileCamSupported': {'value': 'true'}, 'protocolType': {'value': 'ble_ocf'}, 'n': {'value': 'Office TV'}, 'supportedInputSourcesMap': {'value': '[{"id":"dtv","name":"TV"}]'}, 'mnos': {'value': 'Tizen'}, 'pi': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'inputSource': {'value': 'dtv'}}}
2023-08-09 11:49:50.658 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'deviceId': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx', 'state': 'ONLINE', 'lastUpdatedDate': '2023-08-09T15:13:03.456Z'}
2023-08-09 11:49:51.958 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'main': {'mnfv': {'value': 'T-PTMAKUC-1430.1|ST_ENERGY'}, 'data': {'value': None}, 'di': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'supportedInputSources': {'value': '["digitalTv"]'}, 'mnsl': {'value': None}, 'dmv': {'value': 'res.1.1.0,sh.1.1.0'}, 'vid': {'value': 'VD-STV-2022'}, 'supportedPictureModes': {'value': '["Dynamic","FILMMAKER MODE","Movie","Standard"]'}, 'firmwareVersion': {'value': '3.5.0'}, 'icv': {'value': 'core.1.1.0'}, 'soundMode': {'value': 'Amplify'}, 'setupId': {'value': '101'}, 'playbackStatus': {'value': None}, 'mute': {'value': 'unmuted'}, 'supportedAmbientApps': {'value': '[]'}, 'mnId': {'value': '0AJK'}, 'mnmo': {'value': 'QN50LS03BAFXZA'}, 'volume': {'value': '42', 'unit': '%'}, 'tvChannel': {'value': ''}, 'mnmn': {'value': 'Samsung Electronics'}, 'imeAdvSupported': {'value': 'true'}, 'mnml': {'value': None}, 'tvChannelName': {'value': 'com.samsung.tv.csfs'}, 'signinPermission': {'value': None}, 'logType': {'value': '["errCode","dump"]'}, 'mndt': {'value': '2022-01-01'}, 'supportsPowerOnByOcf': {'value': 'true'}, 'mnhw': {'value': None}, 'supportedPlaybackCommands': {'value': '["play","pause","stop","fastForward","rewind"]'}, 'supportedPictureModesMap': {'value': '[{"id":"modeDynamic","name":"Dynamic"},{"id":"modeFilmmakerMode","name":"FILMMAKER MODE"},{"id":"modeMovie","name":"Movie"},{"id":"modeStandard","name":"Standard"}]'}, 'tsId': {'value': None}, 'error': {'value': None}, 'switch': {'value': 'on'}, 'dumpType': {'value': 'id'}, 'endpoint': {'value': 'NONE'}, 'mnpv': {'value': '6.5'}, 'supportedSoundModes': {'value': '["Amplify","Standard"]'}, 'st': {'value': '2023-07-19T23:40:35Z'}, 'minVersion': {'value': '1.0'}, 'powerConsumption': {'value': None}, 'pictureMode': {'value': 'Standard'}, 'supportedSoundModesMap': {'value': '[{"id":"modeAmplify","name":"Amplify"},{"id":"modeStandard","name":"Standard"}]'}, 'disabledCapabilities': {'value': '["samsungvd.ambient","samsungvd.ambientContent","powerConsumptionReport"]'}, 'supportedTrackControlCommands': {'value': None}, 'mobileCamSupported': {'value': 'true'}, 'protocolType': {'value': 'ble_ocf'}, 'n': {'value': 'Office TV'}, 'supportedInputSourcesMap': {'value': '[{"id":"dtv","name":"TV"}]'}, 'mnos': {'value': 'Tizen'}, 'pi': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'inputSource': {'value': 'dtv'}}}
2023-08-09 11:49:52.223 DEBUG (MainThread) [custom_components.samsungtv_smart.api.upnp]
2023-08-09 11:49:54.844 INFO (MainThread) [homeassistant.components.automation.basement_clean_on_lack_of_occupancy] Basement clear on lack of occupancy: Running automation actions
2023-08-09 11:49:54.847 INFO (MainThread) [homeassistant.components.automation.basement_clean_on_lack_of_occupancy] Basement clear on lack of occupancy: If at step 2: Running automation actions
2023-08-09 11:49:54.848 INFO (MainThread) [homeassistant.components.automation.basement_clean_on_lack_of_occupancy] Basement clear on lack of occupancy: If at step 2: Parallel action at step 1: parallel 1: Running automation actions
2023-08-09 11:49:54.848 INFO (MainThread) [homeassistant.components.automation.basement_clean_on_lack_of_occupancy] Basement clear on lack of occupancy: If at step 2: Parallel action at step 1: parallel 1: Executing step call service
2023-08-09 11:49:56.890 INFO (MainThread) [homeassistant.components.automation.advanced_custom_motion_sensor] Advanced Custom Motion Sensor: Restarting
2023-08-09 11:49:56.896 INFO (MainThread) [homeassistant.components.automation.advanced_custom_motion_sensor] Advanced Custom Motion Sensor: Running automation actions
2023-08-09 11:49:56.898 INFO (MainThread) [homeassistant.components.automation.advanced_custom_motion_sensor] Advanced Custom Motion Sensor: Choose at step 1: choice 1: Running automation actions
2023-08-09 11:49:56.898 INFO (MainThread) [homeassistant.components.automation.advanced_custom_motion_sensor] Advanced Custom Motion Sensor: Choose at step 1: choice 1: Test condition time: True
2023-08-09 11:49:56.898 INFO (MainThread) [homeassistant.components.automation.advanced_custom_motion_sensor] Advanced Custom Motion Sensor: Choose at step 1: choice 1: Executing step call service
2023-08-09 11:50:00.242 INFO (MainThread) [homeassistant.components.automation.pantry_light_automation] Pantry Light Automation: Running automation actions
2023-08-09 11:50:00.242 INFO (MainThread) [homeassistant.components.automation.pantry_light_automation] Pantry Light Automation: Executing step call service
2023-08-09 11:50:00.737 INFO (MainThread) [homeassistant.components.automation.pantry_light_automation] Pantry Light Automation: Executing step delay 0:00:18
2023-08-09 11:50:05.683 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'deviceId': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx', 'state': 'ONLINE', 'lastUpdatedDate': '2023-08-09T15:13:03.456Z'}
2023-08-09 11:50:06.903 DEBUG (MainThread) [custom_components.samsungtv_smart.api.smartthings] {'main': {'mnfv': {'value': 'T-PTMAKUC-1430.1|ST_ENERGY'}, 'data': {'value': None}, 'di': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'supportedInputSources': {'value': '["digitalTv"]'}, 'mnsl': {'value': None}, 'dmv': {'value': 'res.1.1.0,sh.1.1.0'}, 'vid': {'value': 'VD-STV-2022'}, 'supportedPictureModes': {'value': '["Dynamic","FILMMAKER MODE","Movie","Standard"]'}, 'firmwareVersion': {'value': '3.5.0'}, 'icv': {'value': 'core.1.1.0'}, 'soundMode': {'value': 'Amplify'}, 'setupId': {'value': '101'}, 'playbackStatus': {'value': None}, 'mute': {'value': 'unmuted'}, 'supportedAmbientApps': {'value': '[]'}, 'mnId': {'value': '0AJK'}, 'mnmo': {'value': 'QN50LS03BAFXZA'}, 'volume': {'value': '42', 'unit': '%'}, 'tvChannel': {'value': ''}, 'mnmn': {'value': 'Samsung Electronics'}, 'imeAdvSupported': {'value': 'true'}, 'mnml': {'value': None}, 'tvChannelName': {'value': 'com.samsung.tv.csfs'}, 'signinPermission': {'value': None}, 'logType': {'value': '["errCode","dump"]'}, 'mndt': {'value': '2022-01-01'}, 'supportsPowerOnByOcf': {'value': 'true'}, 'mnhw': {'value': None}, 'supportedPlaybackCommands': {'value': '["play","pause","stop","fastForward","rewind"]'}, 'supportedPictureModesMap': {'value': '[{"id":"modeDynamic","name":"Dynamic"},{"id":"modeFilmmakerMode","name":"FILMMAKER MODE"},{"id":"modeMovie","name":"Movie"},{"id":"modeStandard","name":"Standard"}]'}, 'tsId': {'value': None}, 'error': {'value': None}, 'switch': {'value': 'on'}, 'dumpType': {'value': 'id'}, 'endpoint': {'value': 'NONE'}, 'mnpv': {'value': '6.5'}, 'supportedSoundModes': {'value': '["Amplify","Standard"]'}, 'st': {'value': '2023-07-19T23:40:35Z'}, 'minVersion': {'value': '1.0'}, 'powerConsumption': {'value': None}, 'pictureMode': {'value': 'Standard'}, 'supportedSoundModesMap': {'value': '[{"id":"modeAmplify","name":"Amplify"},{"id":"modeStandard","name":"Standard"}]'}, 'disabledCapabilities': {'value': '["samsungvd.ambient","samsungvd.ambientContent","powerConsumptionReport"]'}, 'supportedTrackControlCommands': {'value': None}, 'mobileCamSupported': {'value': 'true'}, 'protocolType': {'value': 'ble_ocf'}, 'n': {'value': 'Office TV'}, 'supportedInputSourcesMap': {'value': '[{"id":"dtv","name":"TV"}]'}, 'mnos': {'value': 'Tizen'}, 'pi': {'value': '568132d2-d8a4-9ebc-c76f-xxxxxxxxxxxxxx'}, 'inputSource': {'value': 'dtv'}}}
2023-08-09 11:50:07.104 DEBUG (MainThread) [custom_components.samsungtv_smart.api.upnp]
2023-08-09 11:50:18.738 INFO (MainThread) [homeassistant.components.automation.pantry_light_automation] Pantry Light Automation: Executing step call service
LucasTor commented 11 months ago

Same issue with my 2023 TV

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 9 months ago

This issue was closed because it has been stalled for 7 days with no activity.