Home Assistant Community Add-on: Spotify Connect

Which version of the add-on are you using?

0.8.2 which I believe is the latest version. I tried to unintsall and reinstall still get the same error.

@rybackisback are you using HA on a NUC?
Have the same error.

@large Yes HA on Ubuntu Docker on a NUC. I have it working now after playing around with it a little. Not sure what exactly fixed it. I did install the pulse audio interface. I also noticed when I have audio working locally on the nuc it wouldnā€™t work with Spotify connect. It seems like it is either or. Anyways I wasnā€™t too concerned with having local audio.

Found the easiest way to play my music where I want it played is to host it myself on a Nextcloud drive and use the NC built-in player app. View and cast it from Google Chrome to any network connected device. Just works.
I thought the HA media browser would evolve to do this but it still only plays a single track and seems to be getting no more development.

Ive installed the plug in it seems to be working fine it shows that it plays music but im not getting any output from my raspberry pi 4, im using the 3,5mm jack.

i took a look at the logs and on debug mode it shows:
[2021-08-23T08:00:42Z TRACE librespot_playback::player] == Starting sink ==
[2021-08-23T08:00:42Z ERROR librespot_playback::player] Could not start audio: No such entity
[2021-08-23T08:00:42Z ERROR librespot_playback::player] Could not write audio: Not connected to PulseAudio

I had to disable the Spotify Connect completly because it made other players corrupt.
Got Spotify playing through the Squeezelitte plugin using Squeezebox

I just created an issue on the Github, since v0.10.0 right after ā€œSpotify Connectingā€ audio always starts at maximum volume.

1 Like

Hi, I have an issue, the connect to home assistant option appears in my phone but right now is not doing anything, do you have it working? Is it just me?

Ok, sorry, I was using the old component, I have updated to the new repository and component, now it works but without any audio output. I will check it with more care this weekend.

Question, can you link this spotify addon to a specific media player in HA?
the problem i have is, i have a denon recever, with 2 extra zonesā€¦ but spotify connect recognizes only the whole device as oneā€¦

So when i want to play spotify on another zoneā€¦ i first need to turn on the main zone + zone xā€¦ , then start spotify and then turn off main zone

if maybe this add-on i could link to a specific media player , its not needed at all, and i can play all output to a zone

Hi there,

I know that in 2019 it was not possible, but I wanted to know is something changed about Bluetooth speaker through HAOS on Raspberry PI 4B? I have quite old device without Bluetooth connection but I can buy Bluetooth dongle ā†’ mini jack and wonder if I could integrate this with Home Assistant. In theory I could use HA minijack ā†’ minijack of sound system, but these are quite far away each other and it would be hard to hide the wires :wink:

I have Volumio Installed on a separate Pi Connected to Wifi.
When Playing Spotify from the spotify App it all works well. But I was wondering if it were possible to stream from within HA to a separate DLNA device. That way HA could act as a centralized ocation for starting music. Like the sonos integration the way it is now.

If this is possible I havenā€™t figured it out;-)

1 Like

I had another post but I deleted it. I think a cool feature for this plugin would be to make Home Assistant an actual audio device so it can be exported to Google or Alexa. Then you can add it to a speaker group in google and use the LEDfx Add-On to synchronize LEDs/lights to the music from any speaker group HA is grouped with.

Would that functionality make sense here or is there another add-on/integration that already does that?

Yep,try Logitech Media Server.
Pat

Hello!

I just downloaded and configured the Add-on. I can see in the logs that the song from spotify is received but there is no output. I am using a USB speaker that I have tested with the PI and selected it as an output but nothing.
Is the addon still working?

Thank you!

Yes, itā€™s like that for 2 months now. Hope it will be fixed.

Still nothing on a potential fix. Has this addon been abandoned?

I didnā€™t use the addon for a while, and now I wanted to play some music on my home assistant device. Unfortunately the volume of spotify is extremely low. If I play for example a radio stream using Modipy, it sounds on normal volume level.
Do you have any idea how can I set volume on Spotify Connect to the right level? Can this issue be solved on Librespot Mixer or Pulseaudio somehow?

For those, who struggle with the same issue: I managed to solve it by increasing the input sink volume in Pulseaudio in hassio_audio container using the following commad:

pactl set-sink-input-volume INPUT VOLUME [VOLUME ā€¦]

For further information read GitHub - home-assistant/plugin-audio: Pulseaudio implementation for Home Assistant and pactl: Control a running PulseAudio sound server | pulseaudio-utils Commands | Man Pages | ManKier