This SPOTIFY Player Works Perfectly On Your Dashboard! Even with a FREE Spotify account!

Поділитися
Вставка
  • Опубліковано 30 лип 2024
  • This video explains how to set up this AMAZING Spotify media player on your dashboard in Home Assistant. If you combine this player with the radio player that I showed in last week's video, you can create one media player that plays your favorite Radio stations and Spotify playlists on your smart speakers in your home like this! And you don't even need to have a Spotify Premium account for this!
    ⭐ You can download the code that I created for this video at: ko-fi.com/s/e8727a2e35 ⭐
    Links referred to in this video:
    * Spotify Developer's Page: developer.spotify.com
    * Spotify: open.spotify.com
    * Redirect URI: my.home-assistant.io/redirect...
    * Mini media player Manual: github.com/kalkih/mini-media-...
    * This AWESOME Music Player Looks AMAZING On Your Dashboard: • This AWESOME Music Pla...
    * How to install HACS: • Install HACS in Home A...
    Blog version: www.smarthomejunkie.net/this-...
    See also this video:
    * Switch Smart Speakers in your Media Player NOW: • Boost Your Home Assist...
    ⭐⭐⭐
    * Join this channel to get access to perks: 📺 / smarthomejunkie
    * Please consider becoming my patron 🏅 at / smarthomejunkie
    * Or please support me by buying me a ☕ at ko-fi.com/smarthomejunkie/
    ⭐⭐⭐
    My Devices: github.com/smarthomejunkie/My...
    Instagram: / smarthomejunkie
    Twitter: / smarth0mejunkie
    Facebook: / smarthomejunkie
    TikTok: / smarthomejunkie
    Discord: / discord
    Music by:
    * 2TECH-AUDIO: 2tech-audio.bandcamp.com/
    00:00:00 Introduction
    00:02:06 Install the Spotify Integration in Home Assistant
    00:04:07 Install Spotcast
    00:07:40 Test if Spotify works in Home Assistant
    00:10:03 Install the Mini Media Player
    00:11:12 Configure the Mini Media Player
    00:14:28 Add Spotify Playlists to the Mini Media Player
    00:18:36 Show a list of Playlists instead of Buttons
    00:19:56 Combine the Spotify player with the Radio player
    #homeassistant #spotify #mediaplayer #spotifyplayer #spotifyplaylist #tutorial #smarthome #homeautomation
  • Навчання та стиль

КОМЕНТАРІ • 272

  • @SmartHomeJunkie
    @SmartHomeJunkie  Рік тому +5

    If you get an invalid url message when setting up Spotify, please make sure that you've set the my homeassistant url correctly. See also my.home-assistant.io
    The Spotify Mini Media Player seems to give some issues for some people in the last couple of days. Adding these lines to your configuration.yaml and rebooting HA after that seems to fix the issue (for now):
    frontend:
    javascript_version: latest
    What do you think about this AWESOME SPOTIFY media player? Let me know in the comments 👇

    • @boyocska
      @boyocska Рік тому

      Cool, I really like the method. I have a free Spotify service. Do you know of a way to do this?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@boyocska Uhm, this video explains exactly how to do this. 🤷🏼

    • @boyocska
      @boyocska Рік тому +1

      @@SmartHomeJunkie Okay, I thought it only worked with a premium account, I didn't even try it with a free account. Thanks for your work.

    • @patrickchan0307
      @patrickchan0307 Рік тому

      😊

    • @patrickchan0307
      @patrickchan0307 Рік тому

      😊😊

  • @timbray00
    @timbray00 Рік тому +1

    Awesome addition, thanks Ed. Great content as always

  • @mediacousticsmultimedia7359
    @mediacousticsmultimedia7359 Рік тому +1

    Awesome, Ed, thanks a lot for this video ! I am sure, the community will profit from watching it.

  • @sevagjb
    @sevagjb Рік тому +3

    I could not resist the temptation in this video, i add this to my dashboard and it works like a charm and is so beautiful thanks Ed

  • @AndrewTaylor-te5lg
    @AndrewTaylor-te5lg Рік тому +1

    Fantastic Video. I'm very new to HA. I'm finding your videos very informative and well put together

  • @abwino
    @abwino 10 місяців тому +1

    Thanks very much for this video - so helpful!!

  • @dalle5
    @dalle5 Рік тому +2

    Great hearing you are helping others with mental disorders through music. I am actually doing this integration because I want to start a morning routine with meditation music from a spotify playlist for my 7 year old son who has severe ADHD. Thank you!

  • @aalabasy2004
    @aalabasy2004 10 місяців тому +1

    Great video, working 100 percent. I managed to put the radio card with Spotify together. lovely job. Anyway to add a line of 2px to separate the radio buttons from Spotify buttons? Thank you anyway

  • @ChrisBogle
    @ChrisBogle Рік тому +1

    Awesome tutorial. Will have to try it!

  • @peters8858
    @peters8858 Рік тому +2

    Hi Ed - Excellent video again. One thing I’m trying to see that might be supported somewhere is being able to see the playlist on the device that’s being played and skip to a particular track in that list. I am unable to see any examples of this natively in Home Assistant, but I have seen something like it in Music Assistant or even using NodeRed to read the players and select a track from the music queue. Could the HA community come together here to make something like this within mini media player, so you could completely do away with apps like Sonos which allows viewing the queue on selected players or groups? I’ve had a first attempt at doing something in NodeRed but it might be good to see if the functionality of some of the media players could extended to use the NodeRed capabilities to view player queues from products like Sonos..

  • @davidfrancken2276
    @davidfrancken2276 Рік тому +1

    Thanks Ed for time after time nice and good explanation! what could now be a nice addition, is from this mini media player also selecting our different speakers on which the media is played, or a group of speakers.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      This is not possible unfortunately.

    • @christian1603
      @christian1603 Рік тому +1

      You can do this : create a dropdown helper with your speakers and create a conditional card per speaker with the mini-media-card in it (configured for that speaker). So if you have 3 speakers, you have 3 conditional cards. Only one mini-card will be displayed, depending of the chosen speaker.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@christian1603 That's clever :)

    • @christian1603
      @christian1603 Рік тому +1

      @@SmartHomeJunkie I have my moments 😉

  • @robkircherjr
    @robkircherjr Рік тому +1

    I've been looking for a solution like this for a while. Now I have to adapt this to my house which is split into rooms and zones. Also I wish Mini Media player conformed to the mushroom card theme.

  • @dieterpete93
    @dieterpete93 Рік тому

    Awesome tutorial, thank you so much! Could you make another video on how to integrate several Spotify accounts in spotcast? That would be great!

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      I'd have to dive into this. Not even sure if it's possible or not.

  • @cipri29
    @cipri29 Рік тому +1

    Excellent video

  • @newsbet24
    @newsbet24 2 місяці тому +2

    Great tutorial...clear and simple, like all the ones you do. I'm focusing on implementing Spotify in HA. I would like to ask you if it is possible to build a more complex dashboard, for example creating links (room icons) to manage the smart speakers for each room of the house. Thanks a lot 👍

    • @SmartHomeJunkie
      @SmartHomeJunkie  2 місяці тому

      Sure, see this playlist: ua-cam.com/play/PLKuGrHcHLKMhB2zzV_ncMxclkJQOJFAKe.html&si=x8QOX1Es3WqPxzjl

    • @mobiletech9200
      @mobiletech9200 2 місяці тому

      Thanks for the answer. I will give it a look .

  • @DOSIRL
    @DOSIRL Рік тому +1

    Thanks Ed. I've combined the one Mini Media Player for both Radio and Spotify using your method.
    Spotify is a little buggy, often requiring multiple button presses before working correctly, or even having to play a radio station first before playing a Spotify playlist. I don't know why, but it does refer to Spotify not retrieving the Entity ID (something to that effect).
    Thank you for all your videos as they are my go to videos for Home Assistant Tutorials now.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      Thank you. If you experience issues with Spotify, please follow the instructions in the pinned comment! This might fix this issue for you.

    • @DOSIRL
      @DOSIRL Рік тому +1

      @@SmartHomeJunkie thanks Ed. I'll take a look when back at my desk tomorrow 👍🏻

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      @@DOSIRL It seems to fix that issue for me. (For now)

    • @DOSIRL
      @DOSIRL Рік тому +1

      @@SmartHomeJunkie Hey Ed, I dropped that into the configuration.yaml and rebooted. It still gives me the error message regarding not being able to find the entity id, but a second press gets it to start. Thanks again.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@DOSIRL Great that you got it to work. I do not experience the same thing here, so I'm still a bit puzzled about what might cause this behavior.

  •  19 днів тому

    This is awsome!!! Thanx from germany!

    •  19 днів тому

      And, with echo, this is no problem at all ;-)

  • @wowareolys
    @wowareolys 7 місяців тому +1

    Thanks for the nice tutorial!
    After some fiddling got it working with Amazon Echo Dots. All you gotta do is make sure you connect Alexa app from Spotify and it worked.
    For my Google Nest mini I had to first connect to it via the Spotify app. Now they all work just fine 😊
    Just in case anyone else has some trouble setting it up.
    Now I just need to get two things working: either have a input_select for playlists or create a popup (with bubble card popup) to select a playlist and second: create a text input field where you can type what you want to listen to…(no idea how that could work 😅)

    • @SmartHomeJunkie
      @SmartHomeJunkie  7 місяців тому

      I'm glad the tutorial was helpful for you! It's always great to hear when someone is able to successfully set things up. And thank you for the addition. This will certainly help others!

    • @jeibar
      @jeibar 22 дні тому

      I can not get music to play on my amazon echo, I can't see any entity ID available as media player within developer tool when I try to call the spot cast service.

  • @charlesromney
    @charlesromney Рік тому +1

    I was able to send music to my alexa devices and my yamaha musiccast speakers too. Thanks.

    • @jeibar
      @jeibar 22 дні тому

      may I ask you how did you do it ? I get an error when I call the service " media player not found " I can't see any entities id available within developer tools when I try to call the service , I have 7 echo devices and none is showing up as media player

  • @stamatispsarras
    @stamatispsarras Рік тому +2

    Hey awesome video as always! I managed to replicate what you have but I am wondering if there is a way to switch between the different speakers, I have in the house within one card? i.e. pick a target speaker group and then select the playlists?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      Unfortunately, this is not possible at the moment within the mini media player. I create a player for each Speaker, because we want to play different music in different rooms.

  • @christian1603
    @christian1603 Рік тому +1

    Thanks for your video, it made me rework my media a bit...very happy with the result.
    One question though: is there a possibility to change the buttons to mushroom? On the one hand, I would like to change the behavior from “tap_action” to “hold_action”, to avoid unintentional change of radio channel. On the other hand, I would like the pressed button to remain "lit", so that you can continue to see what you have chosen.

  • @KielerInKanada
    @KielerInKanada Рік тому +1

    Thank you for posting this. I am a few months into HA and learning YAML having come from an Insteon ISY994i environment. I have found your videos to be the best on UA-cam for my learning style.
    I was able to get the spotcast service (v3.6.30) to finally install correctly by removing the country reference in the YAML file. I had specified "country: CA" thinking that it required the correct country code. As others have noted I have it working on my Amazon Echo devices including my Alexa enabled Bose Smart Speaker. One thing I am trying to figure out is how I can highlight the playlist button once it is selected. There are so many options with the mini player hopefully there is something there that can be used. Thank you again.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Thank you for your kind words. 🙏🏻

    • @federicosuffredini6849
      @federicosuffredini6849 Рік тому

      Hi Mike, how did you get echo show to work as a media player? I get this error when I launch the playlist: "invocation of spotcast/start service failed. Could not find device with name media_player.echo_show"

    • @KielerInKanada
      @KielerInKanada Рік тому

      @@federicosuffredini6849 You need to first ensure the "Alexa Media player" integration installed correctly. Once this is installed each of your echo device should show as devices.
      Each Echo device has various entities which you can test in the "Developer Tools", specifically the service called "Notifications: Send a notification via alexa_media_[echo device name].
      Using "Developer Tools" use the service I just mentioned to send a "Message" to the device. If this doesn't work than you have a problem with the "Alexa Media Player" integration and need to focus your research on this.
      If the integration works using the developer tool keep in mind that SPOTCAST uses your entity name whereas Spotify may use a different name. I used the Spotify App and Alexa voice command to determine the device names Spotify uses and then used the matching name to fill in "device_name: " which was completely different than the entity name that SPOTCAST uses .
      Hope that helps...

    • @federicosuffredini6849
      @federicosuffredini6849 Рік тому +1

      @@KielerInKanada Thanks for the tips, I tested the notification service and it works correctly so the integration is ok, I don't understand how to locate the device name that spotify uses by Alexa voice command

    • @federicosuffredini6849
      @federicosuffredini6849 Рік тому +2

      @@KielerInKanada Problem solved 🙂in effect, in the device name on the playlist line, I had written the name of the entity and not that of the device. a thousand thanks

  • @MrNetworkG
    @MrNetworkG Рік тому +1

    Thank you for the helpful videos! Everything is pretty clear. I have Dwains dashboard, is there an option for visual code editor? how to add custom code to the card?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      I don’t think you can do that. Dwains dashboard is meant for people that want a simple solution to get a dashboard up and running. It’s not very suitable for people that like to tinker.

  • @pedrofernandez6391
    @pedrofernandez6391 Рік тому

    Hi, great tutoriasl!!! I made my player with the radio buttons and the spotify playlist in a list, but I want to remove the radio buttons with another list for the radio stations. How can I do it??? Thanks

  • @clausthorhauge4541
    @clausthorhauge4541 Рік тому +1

    Thanks for this great video. I just have one question: Do you know if this works with UA-cam Music too?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      I don't think so. Spotcast is for Spotify only. Haven't tried setting it up with UA-cam music.

  • @chrisjansen1092
    @chrisjansen1092 27 днів тому

    Thnx Ed!! Het is gelukt, maar ik moest voor de background de code in de editor toevoegen. Bij de card kreeg in niet de optie om een background toe te voegen....Geen idee wat ik verkeerd heb gedaan, maar op deze manier werkte het ook prima.

  • @rubennagtegaal1059
    @rubennagtegaal1059 Рік тому +1

    Wat een top video's maak je! heb de radio inmiddels werkend, alleen krijg ik spotify niet aan de praat. na het het account linken krijg ik error venster in has.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Thx. No idea what is going on in your set up. What's the error? (I respond in English so that everyone can participate).

  • @richardch3513
    @richardch3513 Рік тому +1

    Ed, thats a brillant video.. thanks
    Which chromecast would you recommend to build a similar setup?
    A basic Google Chromecast ? Or a chromecast with TV?
    I mean can I follow your instructions on Both?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      You can follow the instruction for every casting device that is supported by Home Assistant. I use the Chromecast audio which is not being made anymore, but it also works for Google Speakers for example. I have this running on my Google Nest Hub and on a Google Nest Mini as well.

    • @richardch3513
      @richardch3513 Рік тому +1

      @@SmartHomeJunkie thanks

  • @bat3332
    @bat3332 Рік тому +4

    Now we have two use case covered thank you. Please do one how to play songs from your local drive then it will be a complete circle thank you

    • @kennethtoddruiz
      @kennethtoddruiz Рік тому

      I have sunk a lot of hours into this one, at least playing from a Pi's aux out. VLC player solution is best I've found, but still seems semi-broken, cant figure out playlists/shuffle. No docs. Something better?

    • @dozog
      @dozog Рік тому +1

      Or from a NAS... I have been looking for that for ages.

  • @cyberfly8452
    @cyberfly8452 8 місяців тому

    Thanks for your videos. Is it possible to play spotify content on a bluetooth sound bar ? How to ? Thx

  • @ericdejager2277
    @ericdejager2277 Рік тому +1

    Hi Ed, Everything works fine so far. Only on one speaker.
    When i select a speakergroep the artwork and playbutton doesnt work anymore.
    When i change it back to 1 speaker it works. Can you help me or give advise how to work over more than one speaker in the house
    EDIT: it was a tricky one. The entity name and the devicename must be the same.
    Now everything works fine. Thanks for the great video

  • @Arytmica
    @Arytmica Рік тому

    Gr8 video!
    Please help me out how to change the height of the player. I want it to fill the whole view. Using the "panel/1 card" doen't work.

  • @Aukekersten
    @Aukekersten Рік тому

    Dear Ed, You make fantastic videos. Thank you very much for this!
    I have combined your spotify and radio script so that I can display it on my dashboard.
    If everything works and is visible and I press done at the top right, the player disappears. any idea what that could be?
    Thanks in advance for your response.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Thanks! I have no idea really. Haven't seen this before.

  • @keveenvigie1439
    @keveenvigie1439 Рік тому +1

    Great video. Is the same approach possible with deezer?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      I don't know. I think there is no Deezer cast option.

  • @jeansacre
    @jeansacre 5 місяців тому

    Great video , got everything setup , just one question , I have 120 albums and 85 playlists in Spotify , in Home Assistant in de Cast media folder only 48 playlists and 48 albums appear

  • @rlm41
    @rlm41 5 місяців тому

    Thanks for this!
    It works great though there's a few things I need help with:
    1. The cover image does not change, I'm stuck with the radio background image.
    2. My font text on the radio player is black, I'm not sure how to change it (I'd like white)?
    3. I've added the cover images for the buttons which work but don't fit properly. Your images seem to fit across most of the button.

  • @gregrigby2112
    @gregrigby2112 Рік тому +4

    Can confirm that Alexa devices work and also gives the ability to cast to full groups of speakers which is handy

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      That's awesome!

    • @Totophe92130
      @Totophe92130 Рік тому

      can you please give more details how did you succeed ?

    • @gregrigby2112
      @gregrigby2112 Рік тому +1

      @@Totophe92130 In regards to making it work with Alexa? I just used media_player.everywhere (everywhere is the name i gave for the Alexa group of devices for my house)
      type: custom:mini-media-player
      entity: media_player.everywhere
      artwork: cover
      source: full
      sound_mode: full
      info: scroll
      name: Everywhere
      shortcuts:
      columns: 1
      buttons:
      - name: Relax
      type: service
      id: spotcast.start
      data:
      device_name: Everywhere
      uri: spotify:playlist:XXXXXXXXXXXXXXXXXXX
      random_song: true
      shuffle: true

    • @Totophe92130
      @Totophe92130 Рік тому +1

      @@gregrigby2112 thank I try same configuration (I guess) but no music. I have this error message in my log
      File "/config/custom_components/spotcast/spotcast_controller.py", line 62, in __init__
      self.castDevice = self.getChromecastDevice(device_name)
      File "/config/custom_components/spotcast/spotcast_controller.py", line 88, in getChromecastDevice
      raise HomeAssistantError(
      homeassistant.exceptions.HomeAssistantError: Could not find device with name Partout
      It seems, spotcast is looking for a chromecast device

  • @videosfromniek
    @videosfromniek Рік тому +1

    the most common mistake is the - between the home and assistant

  • @theattorney6072
    @theattorney6072 Рік тому

    Thanks, Can we Sync Philips hue lights with Spotify installed on the dashboard ?

  • @miketargaryen1210
    @miketargaryen1210 Рік тому

    Hello, thanks for the video however I cant get the cover art to display regardless of what option I check in the card config options, please can you help?

  • @nadavtamam6555
    @nadavtamam6555 Рік тому

    Hello my friend
    Thank you so much for this video - I think that a good next step would to create a single widget that can not only choose "channel" but the player.
    BTW - I went step by step on your guide, but it won't take in the artwork - can it because I case the music to a nest hub (7" screen)?

    • @nadavtamam6555
      @nadavtamam6555 Рік тому +1

      Never mind - I found the problem - it was on the entity designation

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      Check my video of today to learn how to select speakers.

  • @teeworasak520
    @teeworasak520 Рік тому +1

    ขอบคุณครับ / Thanks you

  • @truckerallikatuk
    @truckerallikatuk Рік тому

    Is there a low cost smart speaker you can recommend that has no microphone?

  • @perviuf
    @perviuf Рік тому +1

    Great video
    Can i change the font in the name and how?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      You can only change the font weight using this line in your card configuration:
      mini-media-player-name-font-weight: 400
      Or any other value.

  • @MinhChu-t1g
    @MinhChu-t1g 18 днів тому

    Thankyou

  • @garyosler4818
    @garyosler4818 Рік тому +1

    Hi sorry if this has been asked already but is it possible to get this to work with Amazon echo? I have tried the config from one of the other comments but just can’t get it to work, any help or config examples greatly appreciated

  • @Classicxii
    @Classicxii Рік тому

    Can you help me? I have everything setup but whenever i call it in it takes like a half of minute for it to actually start playing music

  • @matapan08
    @matapan08 Місяць тому

    Hello, I was able to add a Mini Player card pointing to an Amazon Echo device. The player works but the only transport button which is displayed is the Play button, which does not toggle from Play to Pause. Are there additional configuration steps to add other functions like pause, next track and previous track?
    Also, is there a way to select an Airplay device as a Spotify speaker? The phone app allows one to do this. It would be great to be able to do this in HA.

  • @walberg61
    @walberg61 Рік тому

    On 3.48 there is fill in secret and client. But when i start HA after removing cookies i only get inlog for Spotify

  • @Badg0r
    @Badg0r Рік тому +1

    Ik zie ook verschillende integraties in Hacs voor Plex, waaronder de laatst toegevoegde films en of complete lijsten. Is het een idee om hier een video over te maken, zodat jouw kijkers een unieke Home Cinema ervaring krijgen?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      I have those installed as well, but I think they are not for a wide audience.

  • @mrfixers6775
    @mrfixers6775 Рік тому +1

    is it possible to change the colour of the writing in the boxes and also change colour of box when selected so yo know which one is playing many thanks for an excellent tutorial

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Not sure. You might want tocheck the manual of the mini media player for that.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      There's actually a section in the manual that explains what variables you can use in your theme to change colors and such of the media player!

  • @usmangojra
    @usmangojra Рік тому +1

    Thanks, very nice video. Is there any way that Spotify integration can pull all playlist from a account instead of adding manully through URLS

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Not work this player. Might be possible with Music Assistant

    • @christian1603
      @christian1603 Рік тому +1

      The custom:spotify-card does that.

  • @ClausArdal
    @ClausArdal Рік тому

    Thanks for making yet another great video :) This one is giving me some challenges though.
    I am only getting to 9:53 in the video. When I try to call the service then I get this error: "Failed to call service spotcast.start. Unknown error"
    I tried to repeat the process several times. But I am still getting the same error. Have you seen this error before?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      That's unfortunate. I haven't seen it before. Maybe uninstall Spotcast, reboot HA and reinstall Spotcast might help. Also do not forget to clear the browser cache.

    • @ClausArdal
      @ClausArdal Рік тому +1

      I think I found the problem. I had already set up Spotify a while ago. And apparently there was a problem with that. So I deleted it and reconfigured it and then everything worked :) Thanks for a great tutorial

  • @koenseptember4100
    @koenseptember4100 Рік тому

    Kan service spotcast/start niet aanroepen. list index out of range Wat nu?

  • @GaetanoFormisano
    @GaetanoFormisano 6 місяців тому

    Any way to add a speaker switch into the mediaplayer addon (switching on the various amazon echos i've at home)?

  • @grykaserwis
    @grykaserwis Рік тому

    Hi, any idea why I getting this info when trying to run the script?
    Unknown media source

  • @user-it9pf2dn6f
    @user-it9pf2dn6f Рік тому

    Awesome tutorial. Works perfect with my Yamaha amplifier and Google speakers. It doesnt work with my Sonos speakers.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      Thank you! I believe there is an explanation about how to work with Sonos in the manual of Mini Media Player.

    • @user-it9pf2dn6f
      @user-it9pf2dn6f Рік тому +1

      @@SmartHomeJunkie Thank you, found something in the spotcast/sonos ID. will try that.

  • @mauricevandesande2500
    @mauricevandesande2500 Рік тому

    Is it possible to make 1 player for multiple accounts in the family? Or do you have to make different players for each account?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      You can create one player for multiple accounts. See the documentation of spotcast how to do that.

  • @Lett3rs
    @Lett3rs Рік тому +2

    Would it be possible to add "Liked Songs"? in the url it has "collection/tracks" and would you be able to have 2 differnt spotify account to play there own playlist?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      I don't know about liked songs. You can use multiple accounts by defining them in Spotcast. See the Spotcast documentation for that.

  • @larryscaringelli1464
    @larryscaringelli1464 Місяць тому

    I know this is a little late, but is there a sopecific size you need for the background jpg and is there a way to use this to play the playlist to multiple speakers or to add a dropdown or button to select a speaker?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Місяць тому

      Switch Smart Speakers in your Media Player NOW! - Short
      ua-cam.com/users/shortsiefYgP334Y4?feature=share

  • @humbertomendes9942
    @humbertomendes9942 Рік тому +1

    Thank you so much, it works perfectly with Alexa echos.

    • @robertharrison3726
      @robertharrison3726 Рік тому

      Can you tell more specifics? All I keep getting is an Alexa announcement that says something about having to use notify...

    • @humbertomendes9942
      @humbertomendes9942 Рік тому

      @@robertharrison3726 I can play Spotify in any Echo or in all Echos in HA I have all my echos, created a group in Alexa and now I can play and control each one individually as I wish.

    • @robertharrison3726
      @robertharrison3726 Рік тому +1

      @@humbertomendes9942 OK, played around with it and can get Spotify playing. Now to see if I can get the radio from his other video to work... Thanks for your reply.

    • @JoaoPedro-ge3yp
      @JoaoPedro-ge3yp 10 місяців тому

      I tried multiple times, never successful, can you explain your steps on how to do it? I used the name and the entity_id, and I always get device not found, but the device exists and works

    • @alinconstantingoga
      @alinconstantingoga 10 місяців тому

      I have the same problem! i don't know what's the problem @@JoaoPedro-ge3yp

  • @Rodgauer-ho5ko
    @Rodgauer-ho5ko Рік тому

    Thank you for your video, however, the mini media player keeps giving me the following the error code when I hit the Spotify button: spotcast/start. extra keys not allowed @ data ['URL'] Any thoughts?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      There must be an error in your YAML code somewhere.

  • @andreaswittnebert4390
    @andreaswittnebert4390 6 місяців тому

    Hello, I can't find these buttons with me!!! Enqueue and Play now and clear queue!!!! Help me pleace.

  • @gabimal
    @gabimal 11 місяців тому

    Hi Ed, I cannot find Spotcast in HACS, any advice please? No, it's not about filtering, it's just....missing. If I try to manually add the repository it sais: "Repository 'fondberg/spotcast' exists in the store." but it doesn't show up at all when I search it.

    • @SmartHomeJunkie
      @SmartHomeJunkie  11 місяців тому

      Maybe you are searching in the wrong category? you should be able to find it in Integrations when you press the plus.

  • @dmwaeschle
    @dmwaeschle 5 днів тому

    I just was trying your video tutorial. I followed all your steps but when I got to the point of going to Developer Tools/Services to see about calling the service spot cast and try to play the playlist. Under services my system does not find spot cast. Clearly the Home Assistant version is older in your video and I don't know if things changed that much but the Home Assistant I am using is Core 2024.7.3 and my OS is 12.4. Any idea why I wouldn't be able to "call service spot cast?" I was following this video so I could work off one of your other video doing the "Smart Speaker Switching" If you could provide any troubleshooting ideas on way I can not pull up spot cast under services. I would really appreciate it.

    • @SmartHomeJunkie
      @SmartHomeJunkie  5 днів тому

      Did you install spot cast with hacs? And did you reboot Home Assistant after that?

  • @cdps82
    @cdps82 7 місяців тому

    This would have made a good sense if it has an option to be controlled with voice. Ideally via Google home speakers

    • @SmartHomeJunkie
      @SmartHomeJunkie  7 місяців тому

      Ah, the power of technology! It would be amazing to have voice control options, wouldn't it? Oh wait.... Did you check my latest video already?

    • @cdps82
      @cdps82 7 місяців тому

      @@SmartHomeJunkie I just did watch your last video. It is interesting, I have seen a couple of other videos about this solution. But.. The major eco voice assistant systems already exist, such as Google Home and Alexa, so on. In my case, I have many Google speakers/smart displays all around my house, but I can't use them to command HA since Google's Dialogflow has been sunsetted not a long time ago. I believe I am not the only one who doesn't feel like getting an extra voice assistant (another box) though.. Many discussions have been opened up regarding this topic, unfortunately with no clear result or solution. I have my own NAS, full of my 30 year old audio collection. I could use Plex + HA + Plex Assistant, a very elegant and sophisticated solution for playing your own local music on any cast smart speaker/display controlled by Google Assistant. Basically it has worked exactly like Voice controlled Spotify, the only difference was that you've played your own local music collection.This is no longer possible since the sunset of Dialogflow and IFTT Google Assistant version 2, that has stopped supporting the conversation phrases. To give you an idea of what I am looking for, here is an example of my command "OK Google, ask Plex to play U2 on the Living room display"

  • @daleholden
    @daleholden Рік тому +1

    Sorry to ask can this be achieved with Apple Music or have they got it locked down?

  • @RaniKorkise
    @RaniKorkise Рік тому +1

    Am I doing something wrong or is there no ability to control the song scroll? I mean click on its progress to forward a few mins etc

  • @MarcoSpelde
    @MarcoSpelde Рік тому +1

    WHy does your HACS still looks like this? After an HACS update a while ago mine is shown as a long list.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Not sure. I created this tutorial on a fresh install of HA and HACS. 🤷🏼

  • @eisbardiy4880
    @eisbardiy4880 Рік тому

    I gutes this will noch work if you have an AppleTV and Sonos speakers ?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      This works on all devices that you can cast audio to. See the documentation of mini media player how to carry to Sonoff speakers.

  • @vidsbymoach
    @vidsbymoach Рік тому

    Hi Ed! I guess, it's me and not Home Assistant but how can I play on a HA device (e.g. Tablet, Mobile Phone) songs, playlists from Spotify? I can control it (I can see e.g. Webplayer Firefox in HA if there is Spotify open) but I can't play songs directly on my Tablet. Is there a way? Thx and Best regards, Chris

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      I don't think so. You can send the audio to a Smart speaker.

  • @ElvisM1979
    @ElvisM1979 Рік тому

    I do not have sp_key under cookies. I have premium Spotify account. What to do?

  • @migio75
    @migio75 5 місяців тому

    Could i use a webOs Tv LG like media player?

  • @andrewgoldsworthy1121
    @andrewgoldsworthy1121 10 місяців тому

    Any idea why the cover art and song wont update with out pressing the toggle icon

    • @colinprowse7010
      @colinprowse7010 10 місяців тому

      I have a similar "issue". Also, it seems to take up to 20 seconds to transition from idle view to cover art, and to update cover art when song changes. Other than that it works ok, thanks Ed !

  • @sleepessence7566
    @sleepessence7566 Рік тому

    I would think the majority of people have Alexa devices like me. I would be very useful if you could explain how to get them working

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      I'm not sure if the majority of people own an Alexa. In my region, that is not the case. I don't have an Alexa. Someone says in the comments that it is working on an Echo as well.

  • @faithfe1290
    @faithfe1290 Рік тому

    I didn’t work
    Message don’t thing device
    I try in my receiver denon and receiver arcam and Apple TV

  • @walberg61
    @walberg61 Рік тому +2

    Nope, At the new developer, you must add now directly your app name, website and redirect urls (and some other stuff). So now i dit the redirect url from you (a very long) and i got the invalid url but now i can not edit the app anymore.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      I'd have to check this. It still works at my end. I use this player every day.

  • @ruanjansen7527
    @ruanjansen7527 Рік тому

    When setting the device can you specify more devices?
    Like a Alexa and Google Home

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      You can group devices, but only for Sonos I believe.

    • @ruanjansen7527
      @ruanjansen7527 Рік тому +1

      Great thank you. Thanks for the great video

  • @leecurcio6132
    @leecurcio6132 11 місяців тому

    I tried all the steps, and I can't find the connection to the device. Is it because I am trying to set it up with Sonos speakers?

    • @SmartHomeJunkie
      @SmartHomeJunkie  11 місяців тому

      I don't know how it works with Sonos speakers. I use Google speakers.

  • @javi9777
    @javi9777 Рік тому

    help pls, i have this error when credentials: INVALID_CLIENT: Invalid redirect URI

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Can it be that your home assistant url is not homeassistant.local?

  • @19077FB
    @19077FB Рік тому

    How do I add a playlist for to the scene

  • @CosminFrinculescu
    @CosminFrinculescu Рік тому

    HI, Ed. Do you know if this player would work with Sonos skeakers?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Yes, they should. There's a special section about those speakers in the manual of the player.

    • @CosminFrinculescu
      @CosminFrinculescu Рік тому

      The mini media player works with my Sonos, but the spotcast call service doesn't work. Maybe spotcast is not compatible with Sonos.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@CosminFrinculescu I'm not sure. I do not have a Sonos myself.

  • @marcosalvini7452
    @marcosalvini7452 Рік тому

    I get this error when reboot after spotcast "sp_dc" and "sp_key "configuration: "Integration error: spotcast - Requirements for spotcast not found: ['spotify_token==1.0.0']" why?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      I guess you missed a step in the tutorial. 🤷🏼

    • @marcosalvini7452
      @marcosalvini7452 Рік тому +1

      @@SmartHomeJunkie No, I haven't. It was an error in the spotcast integration setup.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      @@marcosalvini7452 Ah okay. Glad that you found the cause of this!

  • @taranagnew436
    @taranagnew436 Рік тому

    can you use "now playing" instead of the Uri?

  • @godziotte
    @godziotte Рік тому

    I have done the setup .. service spotcast works but I get an error message when clicking on the button favorites. --> media_player/play_media required key not provided @data['media_content_type'].. any ideas ?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Seems that you forgot to set the media type to music.

    • @godziotte
      @godziotte Рік тому

      @Smart Home Junkie Sorry I don't see where I'm supposed to configure it?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@godziotteThis message seems to indicate that you haven't set a media type, but you shouldn't need to using the mini media player. Not sure why you get that.

  • @cyanide_4c159
    @cyanide_4c159 Рік тому +3

    Hi, i tried but after installing the Spotify integration it will not open the website, i only get 'invalid_client: invalid redirect URI

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      Did you set the my homeassistant url correctly?
      See also my.home-assistant.io

    • @cyanide_4c159
      @cyanide_4c159 Рік тому

      @@SmartHomeJunkie i also tried with my ip and the steps on the repository page but no luck. I wanted to try with a new 'secret' etc but i cannot edit the settings, it goes straight to the popup to open the site, where can i edit this now?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@cyanide_4c159 You should be able to edit the url through the link I put in the reply above.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Maybe clearing your cookies might help. 🤷🏼

    • @stamatispsarras
      @stamatispsarras Рік тому +1

      solved but not sure how.. I think I was trying to setup the "my" integration that the redirect link needs, as I couldn't see it in my configuration...then restarted but I had older urls that I was trying out for some time...Oh I also updated the url on the "my home assistant" to look at my external url from duck.dns

  • @videosfromniek
    @videosfromniek Рік тому +2

    Tell the users where they can find the device name : Device Name
    The friendly name of the chromecast or spotify connect device. First checks spotify device list for name (not used together with entity_id and spotify_device_id).

    • @goska3869
      @goska3869 Рік тому +1

      i have same problem. how to fix it?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      You can find the device name if you go to the developer tools and open the States tab. Then click on Set State and enter the name of your media player. The device Name is the Friendly name of the media player that you will see in the attributes list.

  • @christian1603
    @christian1603 Рік тому

    Heb je tip gevolgd en "javascript_version: latest" toegevoegd, maar helaas.
    Zelfs wanneer ik gewoon via het menu naar Media ga en kies voor Spotify, dan zie ik daar mooi de speellijsten...maar bij afspelen krijg ik een draaimolen en dus geen geluid meer 😔

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Probably different issue on your side 🤷🏼

    • @christian1603
      @christian1603 Рік тому +1

      @@SmartHomeJunkie Found it ! Seems sp_dc and sp_key of the spotcast integration were not valid anymore... ?

  • @walberg61
    @walberg61 Рік тому

    the well known invalid url.... so i exit HA remove cookies (i must do it aboud 6 times???) then i started HA again, login. but when adding Spotify it does not show the settings form but goes directly to invalid url

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Is your my home assistant url set to your correct local url?

    • @walberg61
      @walberg61 Рік тому

      @@SmartHomeJunkie yes as the local url but i have tried also the duckdns url

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@walberg61 Hmmm, that is strange. I believe I had this issue with the my home assistant address because my local url is not the standard homeassistant.local:8123 url.

  • @MaxwellMonson
    @MaxwellMonson Рік тому

    When trying to restart after adding the sp_dc and sp_key into secrets yaml file I get an error and it says Secret sp_dc not defined. Any thoughts?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      The only thing that I can think of is that something went wrong when you saved the secrets.yaml file or the formatting of your secrets.yaml file is not correct.

    • @MaxwellMonson
      @MaxwellMonson Рік тому +1

      @@SmartHomeJunkie Thanks! I ended up getting it to work by adding the keys within the configuration file and bypassing the secrets file. Still working to get it moved over to the secrets file once I can diagnosis problem but for now it is working.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@MaxwellMonson Maybe this helps: www.home-assistant.io/docs/configuration/secrets/

  • @SVRockChalk
    @SVRockChalk Рік тому

    i get failed call service, could not generate token?

  •  Рік тому +1

    getting issue: extra keys not allowed @ data[URL] any idea where is problem

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Probably wrong indentation in Yaml.

    • @gregrigby2112
      @gregrigby2112 Рік тому +1

      check that it's device_name and not device_id in YAML that was one error i got as I was just writing it out and not copying properly :)

    • @mchhazel
      @mchhazel Рік тому +1

      Check that your text for "URL" it should be "uri"

  • @TobiasKarlsson-co5zs
    @TobiasKarlsson-co5zs 11 місяців тому +1

    I have been running this for a year but now it just stopped. I tried to do all steps again from the start but i cant call service. "Timeout when waiting for status response from spotify app" Someone else had this problem?

    • @21hopperk4
      @21hopperk4 11 місяців тому +1

      I have the same problem

    • @SmartHomeJunkie
      @SmartHomeJunkie  11 місяців тому +1

      Might be a temporary thing at Spotify. There was a temporary issue like that two months ago or so.

    • @adamg3402
      @adamg3402 11 місяців тому

      Te same for me :(. Does it start to work for you or issue still remain open?

    • @SmartHomeJunkie
      @SmartHomeJunkie  11 місяців тому +1

      @@adamg3402 It's not working yet on my side. You can follow this issue on the Spotcast Github page to see what the status is. This happened before and started working after a while. I noticed that if you start Spotify using the Spotify app, the player still responds.

  • @wapphigh5250
    @wapphigh5250 Рік тому

    Is there anyway to call spotify as a media source (like this) within HA but without using HACS and Mini Media player? I have a spotify premium account. I don't necessarily want all the bells and whistles like this awesome dashboard spotify player. Just something simpler. I don't want things for free either. Nor do I want to install hacs (and tick all those 4 boxes) which might in any way risk all my other essential HA code. Why isn't Mini Media player available as an official app? If not, how long is this coming? In the meantime whilst I wait for it;s "official release" direct within HA, so I don't have to keep going to the spotify app all the time to start playing things like playlists and casting it to connect players using their app first (outside HA) to "play something" , how do I simply add spotify as a home assistant mediasource? Thanks!

    • @wapphigh5250
      @wapphigh5250 Рік тому

      Don;t get me wrong Ed.. I think what you have done is awesome...just would rather be a beta than an alpha (if you know what I mean) ...not prepared to launch full frontal into the HACS world right now (and screw up all the countless hrs to get to this point) that's all 😃

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому +1

      @@wapphigh5250 The Spotify integration documentation may give you a hint on how to do this. But I think it's more difficult to set it up like that. Even Music Assistant needs HACS. I don't think it will ever be an official integration though and HACS is not so bad. The risk is very minimal and you can uninstall all HACS integration again if you feel that it breaks things.

    • @wapphigh5250
      @wapphigh5250 Рік тому

      @@SmartHomeJunkie Sure. I'm staggered then why this is not integrated in HAOS already.. given Spotify's huge following.. any idea why? Is it a license issue or something?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@wapphigh5250 There is a Spotify integration in Home Assistant, just not such a nice player. I think I heard from the HA guys themselves that HA probably isn't going to integrate Music Assistant into it natively because it's too far away from what HA is about.

  • @TobiasKarlsson-co5zs
    @TobiasKarlsson-co5zs Рік тому +1

    This worked for me like 3-4 days. Today it suddenly stopped work. Ive done no changes... Says its failing to call service spotcast/start. Timeout when waiting for status response from spotify app. Suggestions?

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      No idea tbh. I didn't come across this error before.

    • @TobiasKarlsson-co5zs
      @TobiasKarlsson-co5zs Рік тому

      @@SmartHomeJunkie to bad. really likes this player. would hate to uninstall it

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@TobiasKarlsson-co5zs Did you try to restart Home Assistant or the host even?

    • @TobiasKarlsson-co5zs
      @TobiasKarlsson-co5zs Рік тому

      @@SmartHomeJunkie yes ofc

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@TobiasKarlsson-co5zs Okay, just checking. No offense. Strange that is not working. Today, one of my parlays didn't work either. I started a radio station first and then switched to the Spotify playlist and it started again after that. I thought it was a strange hickup, but maybe it's the same issue now I think of it.

  • @achterhoeksemcn
    @achterhoeksemcn 3 місяці тому

    Weer een topvideo. Alleen ik heb dus alles werkend gekregen, alleen de Mini Media Player laat niet alles zien zoals in jouw video. Zoals bijvoorbeeld een achtergrond toevoegen, ook handmatig in YAML geen achtergrond. En alles is exact gedaan en werkend gekregen zoals beschreven in de video. Ditzelfde probleem doemt ook op met de radio zenders, alles werkt op de achtergrond volgends jouw tutorial. Maar ook hier geen achtergrond, of plaatjes van de zenders in de buttons. Heb alles al geprobeerd, zoals de integratie verwijderen en herinstalleren. cache wissen. Niks werkt. HELP.

    • @SmartHomeJunkie
      @SmartHomeJunkie  3 місяці тому

      Tja... Dan heb je toch iets anders gedaan...

  • @thomasparrish7403
    @thomasparrish7403 10 місяців тому

    I’m using a Mac and and I don’t have have f12

    • @SmartHomeJunkie
      @SmartHomeJunkie  10 місяців тому

      Use a PC!!! Nah, just kidding. Right click with your mouse in Chrome and select inspect. That will do the same.

  • @pjuhl2313
    @pjuhl2313 Рік тому

    I just upgraded to 2023.3.1 and the spotcast integration no longer works.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      Just tested it here and it still works at my side.

    • @pjuhl2313
      @pjuhl2313 Рік тому +1

      @@SmartHomeJunkie I ended up hashtaging spotcast out of my config, uninstalled, restarted HA, reinstalled and unhashtagged and its working now.

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      @@pjuhl2313 Owww, that sounds like a painful process. Thanks for sharing!

  • @walberg61
    @walberg61 Рік тому

    Client id and user id are not the same!

    • @SmartHomeJunkie
      @SmartHomeJunkie  Рік тому

      I have no idea what you mean. I use this every day and it still works.

  • @thomasbpetersen
    @thomasbpetersen Рік тому

    If you have added the devices inside conf. file under media_player (BlueSound) and it's added on Entities, but you don't have em under devices... how do you then add em like yours "Chromecast Audio"? ua-cam.com/video/UBTM4VB-bYc/v-deo.html