I’ve found this on a dutch site, https://eltechs.com/product/exagear-desktop/ From what I understand it enables you to run almost any linux app on a Pi.
Not to beat a dead horse - more than I have already done - but it is simply not true that the spotify component sees what spotify sees in terms of devices. It sees some of the devices and for a limited period of time. This makes the component useless in effect, and nobody seems interested in hearing about it.
@JoramH Here you go.
I would recommend to try and play around with something like mobidy as an alternative. It seems a bit more complicated, but as far as I have understood it acts more like a dedicated player - nullefying the whole spotify connect debuggel. I will give it a try in the near future myself
Haven’t have time to try it myself yet.
Thanks @GigabitGuy for your input, I guess I’ll have to try Mopidy. Seems like a fun quiet sunday project.
I don’t want to dredge up an old thread but I doubt it’s possible to fix this without having some sort of hook into the Chromecast (a local phone/tablet) reason being is that they are competing standards! (Connect and cast) cast is built as a “2nd screen” whereas connect is more of a streaming client…
…that being said, I have just set up the Spotify component and will investigate (2 casts vs. 1 dot, I need the casts to work!)
Hi,
I can see only my Echo’s as available SOURCE, although I have chromecast audio, chromecast and Google Home.
WHat to do to make those appear in SOURCE?
I have added the following script:
spotifyweeklyshuffle:
alias: 'Spotify Playlist Mix der Woche zufällig abspielen'
sequence:
- service: media_player.shuffle_set
data:
entity_id: media_player.spotify
shuffle: 'true'
- service: media_player.play_media
data_template:
entity_id: media_player.wohnung
media_content_id: 'spotify:user:spotify:playlist:37i9dQZEVXcKMHncdFiqQ5'
media_content_type: 'playlist'
but the only thing I can hear on my Google Home Mini is a short “bling” sound and then nothing happens. If I change the media_content_id to a mp4 stream and media_content_type to audio/mp4 it works as it should.
What is the problem with a Spotify playlist here?
Hey guys,
Am I correct in understanding that seeing a Chromecast Audio from the Spotify Connect component is difficult?
I am/was thinking of buying one.
You mean it works with general music, or will it play the playlist?
It works also with Spotify as long as you are or have played something to a speaker recently.
After some time it seems that the possible sources are not visible anymore.
I don’t know how to find out about the alias numbers.
@chimpy Don’t buy a chromecast if you want to use it with HA and the Spotify Component.
I must stress that this is not having to do with Chromecast being bad on the Spotify App, they are great. This is however an issue with the HA Spotify component forgetting (especialy) chromecasts rather quick (even when they are clearly visible in the Spotify App.
@Peleke It some time since I did this, and due to the above mentions issues I dont use it myself, but take a look at this, it should work (if your chromecast is remembered by the component) Spotify Playlist Player
Thanks, I think the problem for me is about the bad memory of chromecast players…
Guessing there’s still no way around this? I’ve managed to get it working on my Google Home but only when I am already playing spotify to the device.
Asking Google Home to play a Spotify playlist on a Chromecast Audio works consistently for me, whether or not I’ve recently been playing on that particular Chromecast audio device (I have several).
But yeah, doesn’t work for me via Home Assistant’s Spotify component, even if I hardcode player names.
I wonder if the recently-announced Hass.io cloud functionality would allow for first-class Spotify player status finally? (My understanding it that Hassio’s limited ability to cast Spotify to Chromecasts is because it’s not really a player in its own right, so much as it controls existing players like your phone or computer. Or at least if it is a standalone player, it can’t see its own list of chromecast devices, only those discovered recently by your phone)
I figured out a way to accomplish casting Spotify Playlists to Chromecast Audio’s through Home Assistant. I use a writeup on Mopidy and Icecast2, can be found here: https://www.vittoriomonaco.de/home-automation-part-7.html and a Spotify Playlist Player frontend here: Spotify Playlist Player
You can use my adaptation here:
https://github.com/robwolff3/homeassistant-config/blob/master/packages/audiocontrol.yaml
From my testing so far it works pretty well.
Mopidy, Iris, and Icecast look like an awesome combination. I’m gonna try this out and add Mopidy UI as a side panel to Home Assistant.
can you share this code? Thanks
how do you play from mopidy/icecast to chromecast in the panel_iframe?
Sorry, didn’t get that far with my implementation so I can’t tell you how to do it. What I would do is add the Mopidy web interface as an iFrame in Home Assistant, browse through Mopidy and select a song to play, then send the Icecast stream (which is a streaming mp3) currently playing to a Chromecast.
I am not sure how to do this part