Hi. I’m trying to setup an automation to play Spotify playlist on a couple of echo dots.
In Spotify to play on both speakers I select device “Everywhere” and Spotify starts playing on both speakers. I get the id of “everywhere” from the Spotify developer console and use it with spotcast, but it throws an error
Stopped because an error was encountered at February 25, 2023 at 17:21:13 (runtime: 1.38 seconds)
http status: 404, code:-1 - https://api.spotify.com/v1/me/player/play?device_id=a0b5b313-9f2d-4546-a6ba-c5a75daadf11_amzn_2: Device not found, reason: None
What can be the problem? This is the configuration
service: spotcast.start
data:
limit: 20
force_playback: false
ignore_fully_played: false
uri: spotify:playlist:1aSnikLJXwq7vMVjKebcEf?si=0252ff8c7a2049a4
random_song: false
repeat: "off"
shuffle: false
offset: 0
spotify_device_id: a0b5b313-9f2d-4546-a6ba-c5a75daadf11_amzn_2
enabled: true
Edit: I figured something out, I think. I tried putting the id of my samsung smart tv and if the app was recently opend on the tv, and I run the automation it works, but if the app was closed, same error. So I figured that maybe when spotify is not active on the echo dot spotcast can’t find it. Is there a solution to this?