#Play Spotify on specific device - android phone?

1 messages · Page 1 of 1 (latest)

haughty fulcrum
#

I am trying to make it so that when I tap my phone to an NFC tag, it will play my workout playlist on my phone. But it keeps playing the playlist on my Echo instead. I think it can't find my phone sometimes?

patent wigeon
haughty fulcrum
#
data:
  source: Kiwi's S21 Ultra
target:
  entity_id: media_player.spotifyplus_kiwibox```

```action: media_player.play_media
target:
  entity_id: media_player.spotify_kiwibox
data:
  media_content_id: spotify:playlist:xxx
  media_content_type: spotify://playlist
metadata:
  title: My Playlist
  thumbnail: >-
    https://image-cdn-ak.spotifycdn.com/image/xxx
  media_class: playlist
  children_media_class: track
  navigateIds:
    - {}
    - media_content_type: spotify://current_user_playlists
      media_content_id: current_user_playlists```
#

think i blocked it wrong ;[

#

oh there we go

patent wigeon
#

ah so its just a spotify integration your sending "play" to. i guess it picks a "default". have you tried setting it all up through music assistant? you might be able to get better control that way?

haughty fulcrum
#

hmm, not sure what music assistant is yet. literally just isntalled HA like 2 hours ago and have been trying to get this to work with spotify

#

i feel like its because my phone disappears from spotify's device list after some time

#

because it works when i have it playing on my phone and test it back it forth

patent wigeon
#

music assistant is an addon which handles all music stuff very nicely

patent wigeon
haughty fulcrum
#

ah i just found music assistant and tried installing the integration but it said "failed to connect"

patent wigeon
#

there is the "addon" and the "integration"
the integration connects to the addon

#

how do you have home assistant installed?

haughty fulcrum
#

i have home assistant yellow box

patent wigeon
#

cool, so your using haos

#

setting -> addons

#

then add-on store

#

and music assistant server should be an option to install

haughty fulcrum
#

ok i see it

patent wigeon
#

once its installed it should pop up to add on the integration page

haughty fulcrum
#

ok cool

patent wigeon
#

this graphic gives you an idea of what it does 🙂

haughty fulcrum
#

oof my head is spinning haha

patent wigeon
#

you should be able to add spotify as a "source"

#

music assistant is a large tool with a lot of options

haughty fulcrum
#

ok will play with it a bit

#

thx

patent wigeon
#

i havent done it but you can use "spotify connect" to connect any media player you can integrate within home assistant back to spotify as a media target. so if you have something thats not spotify compatable but it is HA compatable then HA will make it spotify compatable

#

they also have their own discord
https://discord.gg/uHqqXNtn
if you have specific questions they may know more.
basically, Music Assistant is the way to do music stuff from HA these days

#

welcome to the addictive hobby that is home assistant btw 🙂

haughty fulcrum
#

hehe thanks