Device name: "Pano's Echo Dot" (used in Spotcast call)
What I’ve tried:
Verified that Spotcast works by manually calling the service from Developer Tools → Services
Echo Dot is visible and connectable via the official Spotify app
Fired the play_spotify_on_echo_dot event in Developer Tools → Events
Restarted HA and cleared browser/app cache
Triple-checked sp_dc and sp_key are correct and not expired
I’ve seen this 'serverTime' error before in a few GitHub issues, but no clear resolution. Everything seems correctly configured, yet playback fails silently, and no music plays on the Echo Dot.
Any ideas or known fixes?
Happy to provide additional logs or try debugging steps. Thank you!
@panzeg@Ohyeah218
I believe you have to utilize SpotCcast v6 to correct this, as Spotify discontinued the ability to utilize the Spotify Web Player Cookie Credentials using the sp_dc and sp_key values a few weeks ago. I don’t believe HACS has been updated yet with the v6 release, which is probably why you are having issues if installing SpotCast from HACS. There is also a youtube video on how to upgrade to SpotCast v6 if it helps.
Other things you might consider
Check out the SpotifyPlus Integration; it can do everything that the HA Spotify integration can do, supports Spotify Connect enabled devices (Bose, Sonos, Chromecast, Amazon Alexa, Denon, JBL, and more), and provides 95+ custom services that can be used in HA automations and scripts. Spotcast not required.
There is also a SpotifyPlus Card user-interface that allows you to control the player, manage your Spotify favorites, as well as search the Spotify catalog. You have to install the SpotifyPlus integration first though, and get it configured before you can use the SpotifyPlus Card.
@DIY-techie
Yes, I am the author of SpotifyPlus. The biggest benefit (IMO) are the 95+ custom services that expose almost every endpoint of the Spotify Web API to HA automations and script.
The next big draw is the ability to awaken Chromecast devices, as well as Sonos devices.
At the end of the day you can replace both HA Spotify and Spotcast integrations with the SpotifyPlus integration, and have more functionality with the available custom services.
It really comes down to what you want to be able to do with Spotify in your HA environment.
Hi,
have. you been able to do awakening of Google devices? or what is the workaround to have a script that instantly reproduces Spotify music and cast without having it to be currently running on mobile or other device
If you want to continue using SpotCast, you have to utilize SpotCast v6 to correct this, as Spotify discontinued the ability to utilize the Spotify Web Player Cookie Credentials using the sp_dc and sp_key values in late May. I don’t believe HACS has been updated yet with the v6 release, which is probably why you are having issues if installing SpotCast from HACS. There is also a youtube video on how to upgrade to SpotCast v6 if it helps.
Other things you might consider
Check out the SpotifyPlus Integration; it can do everything that the HA Spotify integration can do, supports Spotify Connect enabled devices (Bose, Sonos, Chromecast, Amazon Alexa, Denon, JBL, and more), and provides 95+ custom services that can be used in HA automations and scripts. Spotcast not required.
There is also a SpotifyPlus Card user-interface that allows you to control the player, manage your Spotify favorites, as well as search the Spotify catalog. You have to install the SpotifyPlus integration first though, and get it configured before you can use the SpotifyPlus Card.