Spotcast has moved to Mincka/spotcast
This v4 build is abandoned and no longer works with Spotify's current authentication. This release only adds this migration notice, so there is no need to install it. Switch to the maintained repository instead.
Migration guide: https://github.com/Mincka/spotcast#coming-from-the-original-fondbergspotcast
Home Assistant custom component to start Spotify playback on an idle chromecast device or a Spotify Connect device.
This component is not meant to be a full Spotify chromecast media_player but only serves to start the playback. Controlling the chromecast device and the Spotify playback after the initial start is done in their respective components. Because starting playback using the API requires more powerful token the username and password used for browser login is used.
Used by Spotify Card.
Spotcast is compatible with any version since 2021.12.0, but requires 2024.11.0 to run v4 or newer
Note that since v3.5.2 you must also have the official Home Assistant Spotify Integration installed and configured for this custom component to work. This is because it provides the correct device list which has the correct scopes in its token.
Add the following to your config
spotcast:
sp_dc: !secret sp_dc
sp_key: !secret sp_keyFor full configuration documentation and information on how to obtain the correct sp_dc and sp_key values, see README