Spotify Integration to Home Assistant in 5 Minutes

Поділитися
Вставка
  • Опубліковано 6 вер 2024

КОМЕНТАРІ • 31

  • @toolate6971
    @toolate6971 7 місяців тому +4

    Excellent Indeed!

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

      Glad you are enjoying the content. Thanks for your support :)

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

    Great timing, Sir!
    I just moved from my free account of Spotify, to a Duo account with my daughter.
    This video was very helpful.
    Thanks again, and Happy New Years!

    • @smart_home_australia
      @smart_home_australia  8 місяців тому +1

      You are welcome @NkySpike65, I'm glad it helped you. Happy New Year and enjoy your music.

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

    Hello Sir, great and very clear tutorial, unfortunitley I ran into an issue in the step where we need to link to HA. Link account to Home Assistant?
    Linking your account will grant your Home Assistant instance access to your account. All credentials are stored locally. (it hangs on this page) Hope you can assist.

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

      There could be several reasons why the Spotify setup in Home Assistant is hanging when linking the Spotify account, such as:
      Incorrect Redirect URI: When setting up the Spotify integration in Home Assistant, you need to create a Spotify Developer application and set the Redirect URI.
      Outdated Credentials: I'm going to assume this is your first time you are running through this process but if Spotify was previously integrated with your Home Assistant with outdated credentials, it might be required to remove these old Spotify account credentials and retry.
      Multiple Spotify Accounts: This integration supports multiple Spotify accounts at once. You don’t need to create another Spotify application in the Spotify Developer Portal. If you’re trying to add an additional Spotify account to Home Assistant, make sure to log out of the current account on the Spotify website before repeating the setup process.
      Home Assistant Restart: The old have you tried turning it off and on again. I know it's issue resolution 101 but it sometimes actually works.

  • @christianstoletniy7097
    @christianstoletniy7097 17 днів тому

    Hi! Great video, question, can I play the selected music on 2 or more sources/speakers?

    • @smart_home_australia
      @smart_home_australia  17 днів тому

      Kind of... you can select groups that will allow music to be played on multiple speakers. Another option would be Spotcast, which I have not used but seems to be able to do what you are suggesting.
      Of the most obvious solution would be Music Assistant, this recently became a core add-on, so should be a rock solid solution.
      Sorry I can't be more specific.

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

    This is great. Thank you! One question - I'm trying to set up an automation to play a specific song on loop on Spotify on my Google home speaker by pressing a smart button. Is this possible after I set up Spotify like you've shown in the video?

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

      Should be possible, you can create the shared URL for the song in question then call service for Spotify to play the song via URL via an automation triggered from the button press.
      I did similar at Christmas that played 10 minutes of Christmas songs from Spotify on all Alexa speakers in the house when I arrived home.
      As you can imaging the family was super impressed 😂😏

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

      @@smart_home_australia Thanks! Will give it a shot

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

    Thanks, perfect video! congrulations....🤙

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

    Works just fine. thx!

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

      Thanks... its great when I get feedback that a video helped someone.

  • @DigitalVideoEdit
    @DigitalVideoEdit 6 місяців тому +1

    Hello, I did something wrong and it sends me to a blank page with the words that I am not authorized... And there's no Spotify in the integrations... If I try to add the integration it still sends me to the same page... Without installing.... How do I reset?

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

      Did you create the developer account? If you are talking about when you enter the ID and secret into the HA authorisation field and that navigates you back to Spotify, then I'd say you have a firewall or pop up blocker or similar loaded.
      @All, has anyone else had this issue and can help?

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

      @@smart_home_australia Yes, I created the developer app, but I get an error on a Spotify web page
      the page is. account.spotify...
      error... invalid client

    • @smart_home_australia
      @smart_home_australia  6 місяців тому +1

      Sorry @DigitalVideoEdit i've never seen that and after a few searches I couldn't find any related issue similar. Maybe reach out to Spotify technical support?

    • @DigitalVideoEdit
      @DigitalVideoEdit 6 місяців тому +1

      @@smart_home_australia Hello and thanks. I managed to solve it.... after a thousand trials and errors I found the solution... you have to go to the integration tab... at the top right press on the 3 dots and then on application credentials.... just delete the 'account ...
      Thanks for your help

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

      LEGEND !! Thats a great tip for others that might hit the same issue, thanks!!

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

    Very useful video mate , I’d love to add some Spotify playlist and have them on my dashboard, is that even possible ?

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

      Hi @jeibar, sure can, try:
      spotifydemo:
      alias: 'Spotify Demo'
      sequence:
      - service: media_player.play_media
      data_template:
      entity_id: media_player.spotify_master_bedroom
      media_content_id: 'spotify:user:spotify:playlist:37i9dQZF1DX4dyzvuaRJ0n'
      media_content_type: 'playlist'
      Change Service, entity id and playlist and assign to a button and you are up and running. Enjoy.

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

    Happy bew year mate!

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

      And a happy new year to you also. Thanks for your support through the year.

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

    i keep getting the message on the developers page that something went wrong, we were not able create your app...
    somebody knows why?

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

      Hi @PieterBloemengieter, where about in the process of adding Spotify were you when you get this message?

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

      ⁠in the making of the app on the spotify developer website.
      Did every step as you, multiple times.

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

      OK thanks @PieterBloemengieter, Now I understand the issue. There are a few options, check out shorturl.ac/7cmrh, so your first course should be to try on a different browser and different PC.