bestlibre / hassio-addons

173 stars 110 forks source link

Changing local audio output #105

Open jussbba opened 5 years ago

jussbba commented 5 years ago

Hello,

Does anyone know how to change the local audio output? At the moment the audio is coming out of HDMI but I would like to use 3.5mm aux.

Thank you!

lampenschakelen commented 5 years ago

Hi @jussbba

You can change the output in addon Mopidy page. But i did the test but it's not changing from HDMI output to the 3.5mm Headphone connection. I think it's an bug. audio-output-hassio-modipy

jussbba commented 5 years ago

Hello,

Thank you for the information. I only have snapcast client addon installed and mopidy server is running on another PI.

I was wondering if it is possible through snapcast client but maybe mopidy or vlc is required.

lampenschakelen commented 5 years ago

Hello jussbba,

You can control it with MPD https://docs.mopidy.com/en/latest/ext/mpd/

Or with the web addon https://docs.mopidy.com/en/latest/ext/web/

If you are running mopidy server on standalone raspberry pi. You can change the audio easily.

Check the link below: https://www.raspberrypi.org/documentation/configuration/audio-config.md

But we have to find example to get it to work.

You can also check my post : How to build a spotify or radio stream ✓ Alarmclock wakup? With hassio / modipy get here the tips . I hope people are willing to help us. And get our home automation sound system to work https://github.com/bestlibre/hassio-addons/issues/106

jussbba commented 5 years ago

Thank you!

I have 4 raspberry Pi’s for multiroom audio (spotify). One has mopidy + snapcast server + snapcast client and the rest are running only snapcast clients. And I can control all of them through Home Assistant. (Volume, playlists etc.)

I just need to figure out how to change the input in my Home Assistant Pi to aux. Right now it is playing through hdmi. Maybe through ssh.

lampenschakelen commented 5 years ago

Ok

Thanks a lot for you’re response.

I hope you can help me out with your setup! I like to do build a similar setup to wake up!

It must be possible to change the HDMI to 3,5mm six via SSH! Did you saw my link?

Op za 2 mrt. 2019 om 23:28 schreef jussbba notifications@github.com

Thank you!

I have 4 raspberry Pi’s for multiroom audio (spotiy). One has mopidy + snapcast server + snapcast client and the rest are running only snapcast clients. And I can control all of them through Home Assistant. (Volume, playlists etc.)

I just need to figure out how to change the input in my Home Assistant Pi to aux. Right now it is playing through hdmi. Maybe through ssh.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bestlibre/hassio-addons/issues/105#issuecomment-468966573, or mute the thread https://github.com/notifications/unsubscribe-auth/AZU7H3no19jKTCQD9W2pS9OkYaxKHFReks5vSvsrgaJpZM4bY9oh .

lampenschakelen commented 5 years ago

HI @jussbba can you share you're config file? I like to set a alarm in Hassio to wake up with Spotfiy and after a period of time play a radio stream to hear the latest news. I hope you can help me out.

MakkeLeon commented 4 years ago

HI @jussbba can you share you're config file? I cant get any output on my raspberry pi 4. i tried very many things but nothing seems to work so I am very curious how you do that. I am using Hassio 0.106.1

jussbba commented 4 years ago

HI @jussbba can you share you're config file? I cant get any output on my raspberry pi 4. i tried very many things but nothing seems to work so I am very curious how you do that. I am using Hassio 0.106.1

Hello, I am no longer using this setup. I am running LMS (logitech media server) and picoreplayers on spare raspberry pis. I suggest you to check it out.