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

Ability to show and set outputs state #25

Closed
therobster121 opened this issue Dec 14, 2023 · 7 comments · Fixed by #26
Closed

Ability to show and set outputs state #25

therobster121 opened this issue Dec 14, 2023 · 7 comments · Fixed by #26
Assignees

Comments

@therobster121
Copy link

Is your feature request related to a problem? Please describe.

When I listen to music on my eversolo I like to switch the output to USB so it is fed into my DAC.
after I switch back to XLR which is used to listen to TV (input is then optical).

There doesn't appear to be an entity/attribute that allows be to view, set and display output state.

At the moment I am doing this with a rest call:
http:///ZidooMusicControl/v2/setOutInputList?tag=USB

For TV I switch back to XLR
http:///ZidooMusicControl/v2/setOutInputList?tag=XLR

Describe the solution you'd like

I would like an an entity / attribute that can show and set outputs (tag). Similar to inputs for source.
The attribute may already exist. If so I can't find it.

Describe alternatives you've considered

At the moment I am doing this with a rest call:
http:///ZidooMusicControl/v2/setOutInputList?tag=USB

For TV I switch back to XLR
http:///ZidooMusicControl/v2/setOutInputList?tag=XLR

problem with this approach is the state is not reflected in the mediaplayer or other HA entity.

Additional context

I'm using a combination of inputs and outputs to control input from internal player and TV (via optical)
when using internal player and listening to my on music I like to switch output to DAC.

Having the ability to control both inputs and outputs would mean I can setup all scenario's as 1 button automations.

@therobster121
Copy link
Author

Perhaps this could be added to mediaplayer "select_sound_mode"? appears to be the only option for managing outputs in mediaplayer?
otherwise could be managed similar VUmeter

@hchris1
Copy link
Owner

hchris1 commented Dec 14, 2023

Hi @therobster121! Thank you for the request. I will integrate this. I can't tell you exactly when but I'll try and do it as soon as I find some time.

@therobster121
Copy link
Author

therobster121 commented Dec 15, 2023 via email

@hchris1 hchris1 self-assigned this Dec 15, 2023
@hchris1 hchris1 linked a pull request Dec 15, 2023 that will close this issue
@hchris1
Copy link
Owner

hchris1 commented Dec 15, 2023

Sorry, didn't want to close the issue straight away. It was automatically done because of the pull request.

@hchris1 hchris1 reopened this Dec 15, 2023
@hchris1
Copy link
Owner

hchris1 commented Dec 15, 2023

@therobster121 Check out the new update! There is an output selector available. I didn't use select_sound_mode because it seemed like it's not as easy to operate from the UI.

Let me know if it works for you!

@therobster121
Copy link
Author

therobster121 commented Dec 16, 2023 via email

@hchris1
Copy link
Owner

hchris1 commented Dec 16, 2023

@therobster121 Nice! The integration could need some refactoring at some places but well... I'll work on that when I have some more time.

In case you like the integration and you want to help me out: https://www.buymeacoffee.com/hchris1

Cheers
Chris

@hchris1 hchris1 closed this as completed Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants