Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pascalkrielen opened this issue Dec 24, 2022 · 20 comments
Open

Comments

@pascalkrielen
Copy link

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

@21Development
Copy link

+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.

@peter-dorn
Copy link

+1

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

@pascalkrielen
Copy link
Author

No real progress here unfortunately..

@giof94is
Copy link

giof94is commented Apr 1, 2023

+1, thanks!

@pascalkrielen
Copy link
Author

Anyone ?

@pascalkrielen
Copy link
Author

Keeping the spirit alive..

@giof94is
Copy link

Any news on that? @ollo69

@ronyn77
Copy link

ronyn77 commented Aug 15, 2023

Yes, I am waiting too for the same

@lexusburn
Copy link

+1

@ollo69
Copy link
Owner

ollo69 commented Aug 22, 2023

@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.

@21Development
Copy link

@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?

@ronyn77
Copy link

ronyn77 commented Aug 22, 2023

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 : #265

Any ideas?

@21Development
Copy link

@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

@ollo69
Copy link
Owner

ollo69 commented Aug 23, 2023

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.

@ronyn77
Copy link

ronyn77 commented Aug 24, 2023

  • 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?

@ollo69
Copy link
Owner

ollo69 commented Aug 24, 2023

Service is media_player.play_media and not media_player.media_play

@ronyn77
Copy link

ronyn77 commented Aug 25, 2023

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.

@ollo69
Copy link
Owner

ollo69 commented Aug 25, 2023

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

@ronyn77
Copy link

ronyn77 commented Aug 25, 2023

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

@pascalkrielen
Copy link
Author

Any update on the original request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants