Does Spotcast 5 no longer have an option to resume playback where it stopped last time? With the previous version you could use spotcast.start without providing what to play and it would resume playback from the previous session. Is there an alternative for this in Spotcast 5?
Hi @TheFes, no its still possible, its under the spotcast.transfer_playback service now. It can even rebuild most of the context based playback even when Spotify stop providing them, which was not possible under the V4 version.
In the case of a contextless playback, it defaults currently to liked songs, but I am working on an option setting to provide a custom spotcast uri to customize the process.
Thanks, that indeed works great.
Iām trying to add a second account now, but after entering the sp_dc and sp_key i get
public_private_accounts_mismatch

You are probably adding the second account from a browser already logged in the first one. Make sure to open a private browser session to force a connection to Spotify and not use the currently active user.
The error you are receiving means the public (oauth based credentials) and private (cookie based) are from 2 different account, because of this, spotcast wonāt proceed.
Error message are cryptic right now, I havenāt gone through simplifying them for the user yet. I planned that part for January.
Edit: typos
That worked, thanks a lot!
Hello there,
I was using V4.
Now I decided to uninstall Spotcast v4. I donāt have credentials on the application credentials tab and removed the ones from the secret.yaml file as well.
And I restarted HA.
Will try to reinstall SpotCast v4. Once installed from HACS, shoudl you do the integration in the UI? Or jsut the integration ont he configuration.yaml file like the github mentions?
THnaks!
Hi @mmarques,
currently V4 is only configurable from configuration.yaml. The UI setup is part of the V5 beta. The beta is technically ready for production release, the only part missing is Spotify Card. Iām waiting on its developer to create a compatible version with the V5.
If you prefer to wait for the official release, you can still install Spotcast V4, the integration will be imported to configuration entry on your first reboot. Otherwise, if you want to try it, you can directly install it in HACS using the install a different version option. The builds for V5 are marked with a pre-release flag.
Hello, I installed the beta version 24 of Spotcast and I would like to know why my card is not working.
Here is the code:
type: custom:mini-media-player
icon: mdi:spotify
group: true
info: scroll
entity: media_player.spotify_tonytassery
hide:
volume: false
power: false
shuffle: false
controls: false
runtime: false
shortcuts:
columns: 4
buttons:
- type: divider
- name: Ambiance
type: service
id: spotcast.player_media
action: spotcast.player_media
data:
media_player:
entity_id: media_player.cuisine_echo_show
uri: spotify:playlist:7oHEFDKocgdnE6Ynm3UmOH?si=2XAAyUXrTIGjryEElvHO3A
- name: BƩbou
type: service
id: spotcast.start
data:
entity_id: media_player.sejour
uri: spotify:playlist:3fDsVXutZz2g4oAu7DB8oo
- type: divider
- icon: phu:echo-dot-gen-4
name: Salle stƩreo
type: service
id: spotcast.start
data:
entity_id: media_player.sejour
- icon: phu:echo-show-8-gen-2
name: Cuisine
type: service
id: spotcast.player_media
action: spotcast.player_media
data:
media_player:
entity_id: media_player.cuisine_echo_show
- icon: phu:echo-dot-4-group
name: Groupe
type: service
id: spotcast.start
data:
entity_id: media_player.tous_le_monde
- icon: phu:echo-dot-gen-4
name: Chambre
type: service
id: spotcast.start
data:
entity_id: media_player.echo_dot_chambre
card_mod:
style: |
:host {
--card-mod-icon-color: rgb(24, 216, 96);
--mini-media-player-button-color: rgba(139,148,158,0.25);
--mini-media-player-accent-color: rgb(24, 216, 96);
}
ha-card {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 16px; /* Espacement entre les groupes */
}
.shortcuts {
border-radius: 80px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 16px; /* Espace entre les boutons */
card_mod:
}
Hi @tonytassery
spotcast.player_mediaandspotcast.startare not valid services, you probably mentspotcast.play_media.media_player.cuision_echo_showis not a spotcast managed media player. Currently, the only media player spotcast can use are Google Cast Speaker and Registered Spotify Player. Make sure you only use devices available in the target select when using the UI if you are not sure. Echo devices should be registered as a Spotify connect devices if they are properly setup for your account.
I would suggest your test in developperās tools before tryig in a card, that will make it much easier for you to debug.
Do you have a card that works with Spotcast v5? If so, can you send it to me
Thanks
Thanks guys. Got it working after uninstalling and removing all from everywhere. Restarting HA. reinstalling everything. now working.
Thanks!
Thank you for a great add-on!
Would you happen to know if thereās a way to integrate it into something like the Sonos card? Or, is it possible to somehow start a Spotcast only through the media browser?
Thank you.
Is it possible to start a playlist on a homepod? I know it is from chromecast, but I have been desperately trying to find a way.
Thanks
Itās still in development Iām currently waiting on the developer so we can synchronize launch to production
Media browser is working, bur for Chromecast devices only at the moment.
I do not have any Sonos device, so someone else would need to contribute for anything Sonos related.
Home pod are not compatible at the moment. I do not own any apple product so I would need someone to contribute to the project.
je peux contribuer au projet , jāai des alexa echo si ta besoin
did you figure it out?
@NeilsOnWheels, @Mcbain, the HA Media player does not implement Spotify Connect, so it wouldnāt be possible. Spotcast doesnāt handle the stream, it just wakes and force playback on devices that are able to manage the feed.
Instead of using the HA media player, an Android tablet has access to the Spotify app. You can simply install the app and ensure it can run in background. The device will be available as an active device on the tablet. You only need to make sure no power management stops the app when inactive.
Another solution in this case would be to use Music Assistant, which manages the media stream feed.
Does anyone know if itās possible to lower or increase the volume via this integration? I have this playing music (at the start of a zwave button press), but Iād like to add a button on the remove that lowers the volume by 1 and increases by 1. or does anyone know which integration i need to accomplish that?