ha-samsungtv-smart icon indicating copy to clipboard operation
ha-samsungtv-smart copied to clipboard

Can we have a "sound_output" just like the "sound_mode" option ?

Open pascalkrielen opened this issue 2 years ago • 20 comments

Is your feature request related to a problem? Please describe. No, I would just like to be able to select the Sound Output from the integration.

Describe the solution you'd like Currently there is a list for "Sound Mode" where you can select items like "Adaptive Sound". In the TV there is also an option called "Sound Output" where for example a choice can be made for "TV", "Soundbar", "Bluetooth", etc. I would like this list to be available from within the integration.

Describe alternatives you've considered Picking up the remote control to switch the "Sound Output".

Additional context

20221224_151326

pascalkrielen avatar Dec 24 '22 14:12 pascalkrielen

+1

This is the exact functionality I’m looking for too, in order to use my surround sound system, I need to change the “Sound Output” from “TV Speaker” to “Receiver(Optical)”

I’ve been looking for a KEY_CODE to either change the Sound Output or open the menu so I could chain keys but can’t find either so currently unable to automate this task and would really like to find a solution.

21Development avatar Dec 28 '22 10:12 21Development

+1

Look for the same functionality to read out and switch the sound output.

peter-dorn avatar Jan 08 '23 09:01 peter-dorn

No real progress here unfortunately..

pascalkrielen avatar Feb 18 '23 19:02 pascalkrielen

+1, thanks!

giof94is avatar Apr 01 '23 18:04 giof94is

Anyone ?

pascalkrielen avatar May 03 '23 07:05 pascalkrielen

Keeping the spirit alive..

pascalkrielen avatar Jun 04 '23 18:06 pascalkrielen

Any news on that? @ollo69

giof94is avatar Jul 15 '23 18:07 giof94is

Yes, I am waiting too for the same

ronyn77 avatar Aug 15 '23 14:08 ronyn77

+1

lexusburn avatar Aug 22 '23 18:08 lexusburn

@all,

as I know there are no smatthings command for this, so it is not possible to implement this feature. If someone have different information, I will be happy to implement this.

You could always use chain commands to manage this.

ollo69 avatar Aug 22 '23 18:08 ollo69

@ollo69 any ideas on who / where / what we could request from Samsung to allow you to implement?

I’ve previously tried using;

KEY_HOME+1000+KEY_MENU+KEY_DOWN+KEY_RIGHT+KEY_ENTER+KEY_UP+KEY_DOWN+KEY_ENTER+KEY_HOME

But it’s not very reliable / too many key presss - anyone know a shorter route to change the setting?

21Development avatar Aug 22 '23 19:08 21Development

KEY_HOME+1000+KEY_MENU+KEY_DOWN+KEY_RIGHT+KEY_ENTER+KEY_UP+KEY_DOWN+KEY_ENTER+KEY_HOME

But it’s not very reliable / too many key presss - anyone know a shorter route to change the setting?

May I ask how you achieved that? In my case, the keyboard shortcut doesn't seem to have any effect.

I have also posted it as issue : https://github.com/ollo69/ha-samsungtv-smart/issues/265

Any ideas?

ronyn77 avatar Aug 22 '23 19:08 ronyn77

@ronyn77 this is the action part of the automation I was using to test:

action:

  • service: media_player.play_media data: media_content_type: send_key media_content_id: >- KEY_HOME+1000+KEY_MENU+KEY_DOWN+KEY_RIGHT+KEY_ENTER+KEY_UP+KEY_DOWN+KEY_ENTER+KEY_HOME target: entity_id: media_player.samsung_s95b

21Development avatar Aug 22 '23 19:08 21Development

any ideas on who / where / what we could request from Samsung to allow you to implement?

Honestly no, no idea. Samsung should add a capability to SmartThings to control this feature, not sure how to ask for this and what does it means. May be not exist just because is not possible from remote.

ollo69 avatar Aug 23 '23 21:08 ollo69

  • media_content_type: send_key media_content_id: >- KEY_HOME+1000+KEY_MENU+KEY_DOWN+KEY_RIGHT+KEY_ENTER+KEY_UP+KEY_DOWN+KEY_ENTER+KEY_HOME

I tried your code in the developer tools, but nothing happened. I also attempted other key patterns as I found in the examples. While the command is executed, nothing is changing on the display. Could you explain the purpose of including ">-" before the pattern? Snag_4ce55d

I am doing something wrong?

ronyn77 avatar Aug 24 '23 17:08 ronyn77

Service is media_player.play_media and not media_player.media_play

ollo69 avatar Aug 24 '23 20:08 ollo69

Service is media_player.play_media and not media_player.media_play Unfortunately, it doesn't seem to be working. Any ideas on how to debug and determine the reason? Snag_d3d19

It displays an unknown error when I execute the service.

ronyn77 avatar Aug 25 '23 16:08 ronyn77

You are also inverting media_content_type and media_content_id. May be you could have a look to read me before continue?

ollo69 avatar Aug 25 '23 16:08 ollo69

You are also inverting media_content_type and media_content_id. May be you could have a look to read me before continue?

Every next post I like to invert something new....I am joking....I apologize, you're absolutely right. However, after a week of continuous work while all your colleagues are on vacation and you have to cover for them the whole time... I hope you can understand my situation. Anyway, it's currently only working partially. If the media player entity of S95C indicates that it's on, the function works. Otherwise, even if the TV is on, it doesn't work. Unfortunately, as you can see in the attached picture, the TV is turned on (as evident in SmartThings), but the media player S95C shows as off. Snag_13201e

ronyn77 avatar Aug 25 '23 19:08 ronyn77

Any update on the original request?

pascalkrielen avatar Dec 23 '23 10:12 pascalkrielen