MUSIC ASSISTANT - The Ultimate Music Streaming Service Aggregator for HOME ASSISTANT

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.ค. 2024
  • Welcome to our tutorial on integrating the Music Assistant with Home Assistant. This video provides a comprehensive guide on how to enhance your smart home experience with seamless music integration.
    Overview: Music Assistant is a powerful tool that integrates with Home Assistant, allowing you to control your music from the same platform that manages your smart home devices.
    Streaming Services: Music Assistant supports a wide range of streaming services, including but not limited to Spotify, Apple Music, TH-cam Music, and Tidal. This ensures you have access to your favorite music, no matter which service you prefer.
    Supported Players: Music Assistant is compatible with a variety of players such as Sonos, Google Cast, and Squeezebox. This means you can enjoy your music on your preferred audio hardware.
    Installation and Configuration: Our step-by-step guide will walk you through the installation and configuration process of Music Assistant into Home Assistant. We’ll cover everything from initial setup to fine-tuning settings to suit your personal preferences.
    Sample Automation: To give you a taste of what’s possible, we’ve included a sample automation that plays Christmas music when you arrive home in December. Imagine walking through the door to the sound of your favorite holiday tunes - that’s the magic of Music Assistant!
    Remember to like, share, and subscribe for more helpful tutorials. If you have any questions or need further clarification, feel free to leave a comment below. Enjoy your music! 👍🎵
    🙏 If you would like to support me and this channel, you can JOIN and SUBSCRIBE 🙏
    Join - urlday.cc/ty4oo
    Subscribe - urlday.cc/njm5y
    #musicassistant #homeassistant #integration
    ___ ☕ Buy Me A Coffee! ☕ __
    PayPal Coffee - urlday.cc/0hrs0
    Buy Me A Coffee - www.buymeacoffee.com/smarthom...
    __ 🕒📩 Timestamp 🕒📩 __
    00:00 - Introduction
    01:22 - Installation and Configuration
    06:03 - Automations
    09:26 - Roundup
    __ 👋 Handy Dandy Information 👋 __
    Condition Code:
    {{ now().strftime("%m") == "12" }}
    HACS Install - • Install HACS in Home A...
    __ 🔗 Affiliate Links 🔗 __
    NordVPN (Get 72% off NordVPN + a Saily eSIM data gift) - go.nordvpn.net/SH8jJ
    Sonoff discount, *SMARTHOMEAUS*, has now been increased to 15% on ALL products!!
    ZB Dongle-E - urlday.cc/jjb33
    Zigbee Bridge Ultra - urlday.cc/zca9m
    ZBMicro - urlday.cc/i5fmd
    SNZB-01P - Zigbee Wireless Switch - urlday.cc/5o8k6
    SNZB-02P - Zigbee Temp and Humidity Sensor - urlday.cc/ss33w
    SNZB-02D - Zigbee Temp and Humidity Display - urlday.cc/qq1ez
    SNZB-03P - PIR Motion Sensor - urlday.cc/86w5y
    SNZB-04P - Door Contact Sensor - urlday.cc/j8ifs
    SNZB-06P - Zigbee Human Presence Sensor - urlday.cc/4uy62
    Bridges / Coordinators and Dongles
    Sonoff iHOST Bridge - urlday.cc/0vdcq
    Zigbee 3.0 USB Dongle P Plus - urlday.cc/3bcqj
    NSPanel Pro - urlday.cc/fvf1b
    SwitchBot Lineup
    International - urlday.cc/ssk8c (includes 30% OFF for all products for a limited time)
    Home Assistant Server (HP EliteDesk 800 G4)
    US - amzn.to/3DcEjG8
    AU - amzn.to/44hsyZW
    Raspberry Pi 4 B 8GB (Full kit: inc. Power Supply, case, Micro SD, heat sink etc.)
    Ali-Express - s.click.aliexpress.com/e/_Dm3...
    The site receives a small commission if you order from any of the links above. This does not cost you anything and is paid by the supplier.
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 75

  • @iamtapu
    @iamtapu 5 หลายเดือนก่อน +3

    Glad that I found this video and your channel. Keep up the good work. This was a very well done tutorial.

    • @smart_home_australia
      @smart_home_australia  5 หลายเดือนก่อน

      Thanks @MdMahbuburRahmantapu for the feedback.

  • @othman2206
    @othman2206 6 หลายเดือนก่อน +3

    Your channel is unique, and the topics in your videos are inspiring. I eagerly await and thoroughly enjoy and learn from them. Thank you so much.

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน

      Thanks for the feedback @othman2206, I try and put alot of thought into the content.

  • @ScottMackey
    @ScottMackey 6 หลายเดือนก่อน +1

    Great job with the tutorial. Music assistant looks like my next project. Thanks

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน

      Thanks @ScottMackey, let us know how you make out. I'd be interested if you believe it has stability issue.

  • @MarkGhali
    @MarkGhali 6 หลายเดือนก่อน

    your intro was so good I subbed!

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน +1

      Thanks @MarkGhali for your support. I hope you enjoyed the video and are now enjoying music everywhere in your house :)

  • @mpsadre132
    @mpsadre132 6 หลายเดือนก่อน

    Great video again 👍.
    I'll still need to test this with my LMS server or MoOde Audio player.
    Have a great Christmas

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน +1

      Thanks @mpsadre132, how do you go with the MoOde Audio Player? I'm on on VM hence the MA on HA. But I might spin up a VM for Pi to check it out.

  • @wagnerfontes2
    @wagnerfontes2 6 หลายเดือนก่อน

    Very interesting! Thanks for this video.
    I will check the developers info and see if it can solve my issue. I need to assemble playlists containing titles mixed from multiple sources and can be played simultaneously on different speakers.
    The major issue here is the "simultaneously " part. Most solutions I have tried do not allow a good sync, so the speakers can't be close to each other.

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน

      hi @wagnerfontes2, agreed, sync is always an issue. It works well for Alexa, but i guess its a sound and sync of sound waves and that very much acoustically bound and specific to the environment.
      Let us know how your testing goes.

  • @xbox360benji
    @xbox360benji 6 หลายเดือนก่อน

    Morning..brilliant this is what I am playing with now..trying to set up my music files on an external source without nas is or putting files on same ssd as HA but sttled for ordering a nas..also got problems with spotify recognising account but I love this music assistant !

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน +1

      Thanks @xbox360benji, I hook mine into my Synology NAS and it works a dream. Let me know if you need any help mounting your NAS shared drive.

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน +1

      I was going to include but the video was already pretty long for YT audiences and opted for the automation that was going to be a winner with partners :)

    • @xbox360benji
      @xbox360benji 6 หลายเดือนก่อน

      Having a nightmare trying to add this buffalo link station to HA I have a folder share setup and can see it on windows pc but cannot figure how to add it through network storage..@@smart_home_australia

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน +1

      Hi @xbox360benji , sorry I dont have any experience with a Buffalo Link Station. Have you checked out github.com/iKaew/hass-linkstation-addon

    • @xbox360benji
      @xbox360benji 6 หลายเดือนก่อน +1

      @@smart_home_australia I seen that i think its an info card for the dashboard .. I will google around happy new year mate.

  • @grahamshaw5531
    @grahamshaw5531 6 หลายเดือนก่อน +2

    I use a Blueprint to play a Spotify playlist on My Alexa Speakers, When i scan a NFC tag, it's by Viish Sylvain.

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน +3

      Thanks @grahamshaw5531, You mean this one?shorturl.ac/7ckns, nice, I like it !!

  • @harryanderson3527
    @harryanderson3527 3 หลายเดือนก่อน +1

    Nice tutorial, I was hoping you would discuss how to add my library of ripped CDs. No one seems to have covered that yet

    • @smart_home_australia
      @smart_home_australia  3 หลายเดือนก่อน

      Hi Harry, I actually don't have any ripped CD's that I can link in. But good point, I do have afew old CD's around the place. I'll rip them and see if I can put out a video on how to include these into the library :)

    • @harryanderson3527
      @harryanderson3527 3 หลายเดือนก่อน

      @@smart_home_australia that would be great! Really struggling to figure this out. I tried Jellyfin and my music shows up and works great in Jellyfin. But Jellyfin gives an error in Music Assistant of "list index out of range"

    • @smart_home_australia
      @smart_home_australia  3 หลายเดือนก่อน +2

      Ok solved. Add JellyFin integration first then all works perfectly. Video coming out next week 😊👍

  • @AlexeyMoskalev1
    @AlexeyMoskalev1 4 หลายเดือนก่อน +1

    Hi! The first version of Music Assistant had an MPD player. But the latest v2 doesn't have it. Please tell me how to add MPD player to the latest Music Assistant in Home Assistant.

    • @smart_home_australia
      @smart_home_australia  4 หลายเดือนก่อน +1

      Have you added MPD to Home Assistant first? Once added you should then see it as an option in Music Assistant.

  • @DigitalVideoEdit
    @DigitalVideoEdit 4 หลายเดือนก่อน +1

    hi, thanks for your videos... you made me discover this add which I really like.... is it possible to integrate it into the dashboards?? in some dashboard?? thanks and congratulations again

    • @smart_home_australia
      @smart_home_australia  4 หลายเดือนก่อน

      Now that's a great question. Honest answer, not that I am aware of. But since it has it's own dashboard that can be accessed in the left hand navigation menu, why would you need to?

    • @DigitalVideoEdit
      @DigitalVideoEdit 4 หลายเดือนก่อน +1

      @@smart_home_australia because I'm creating my own dashboard made up of multiple pages and without the sidebar

    • @smart_home_australia
      @smart_home_australia  4 หลายเดือนก่อน +1

      @@DigitalVideoEdit I see, that makes sense. Sorry I don't know there are entities or mechanism that allow you to enter the controls for Music Assistant onto your own panel. In this case it might be a good idea to reach out to the developer.

  • @msoaresp
    @msoaresp 8 วันที่ผ่านมา

    Great video, but the current 2024.6.2 version requires installing the Music Assistant Server first, and only then the integration. My concern is that the server might consume too many resources on my machine. I just want to use the integration to remotely access streaming services...

    • @smart_home_australia
      @smart_home_australia  8 วันที่ผ่านมา

      The way MA is structured you always needs the HACS MA component installed and running for the HA Integration to work (at least to the best of my knowledge, pls correct me if I am wrong).
      That said, the utilization for the HACS MA Server is not excessive. I run my prod instance on a VM with 2 Cores allocated and have never had any performance issues. I no longer run a RPi version, but I dont think that would be an issue either.

    • @msoaresp
      @msoaresp 7 วันที่ผ่านมา

      ​@@smart_home_australia Thanks for getting back to me. I watched your video, which is great, by the way. However, I didn't see the installation of the server module, only the integration component version. So, when I went to install it, it required the server. After reviewing the server's requirements, I questioned the necessity of it. I thought maybe I had missed a step in your video.
      My HA is installed on a MiniPC dedicated specifically to it, and I'm worried about adding more components that might eventually cause issues (crazy, right?).

    • @smart_home_australia
      @smart_home_australia  7 วันที่ผ่านมา

      As you are running this on a mini PC HA would not have any issues, unless it was 10+ years old.
      So I'd suggest HACS MA install, then HA MA Integration install and you should be fine from a resources perspective.

  • @errorhxy6476
    @errorhxy6476 2 หลายเดือนก่อน +1

    If i want to auto play a musin in jellyfin, what i need input the url(Media ID)in the music assistant service? In the video 8:00, you input a spotify link, my jellyfin is a local server. Thanks.

    • @smart_home_australia
      @smart_home_australia  2 หลายเดือนก่อน +2

      Although I have not done it, doing abit of a search it would seem that yes you can, but its not as simple as Spotify.
      Creating a shared playlist within Jellyfin involves a few steps.
      - Create a Playlist: In your Jellyfin Media Server, create a playlist that you want to share.
      - Share with All Users: By default, playlists are available to all users. However, due to a known issue, users may need to create a
      playlist themselves to see the full list of playlists.
      - Create a Blank Playlist for Each User: Another workaround is to create a blank playlist with the name of each user (like “Mom”,
      “Dad”, etc.). This will make playlists show up as an option on the home screen.
      - Export Playlist to M3U File: You can also export the playlist to an M3U file and save it in your media folder. After rescanning the
      library, everyone should be able to see it.
      - Use Smart Playlist Plugin: There’s a Smart Playlist Plugin for Jellyfin that provides playlists based on a set of rules. However,
      this requires editing the JSON files directly.
      Note: I have not tried this, these instructions were found on the net.

    • @errorhxy6476
      @errorhxy6476 2 หลายเดือนก่อน

      @@smart_home_australia So thanks for your detail response, it look like a little complex, I will try it when have free time. Thank you again.

    • @smart_home_australia
      @smart_home_australia  2 หลายเดือนก่อน

      @@errorhxy6476 yep. Sorry. Not as easy as Spotify. Have you tried Plex ?

  • @videocreations27
    @videocreations27 16 วันที่ผ่านมา

    Is it possible to put this into a dashboard so we don't need to use the sidebar?

    • @smart_home_australia
      @smart_home_australia  16 วันที่ผ่านมา

      In theory yes, check out github.com/music-assistant/hass-music-assistant/issues/720, seems you can use an iFrame to put MA into a dashboard successfully. However, I could not get this working, but let us know if you do.

  • @nics8040
    @nics8040 4 หลายเดือนก่อน +1

    Is there a workaround for people using a pi 4 32? When I go to add on it says This add-on is not compatible with the processor of your device or the operating system you have installed on your device.

    • @smart_home_australia
      @smart_home_australia  4 หลายเดือนก่อน

      Hi @nics8040, the issue is not the Pi4 but the version of the OS you are running (ref: shorturl.ac/7d0dh), looks like you need the 64bit version of PiOS to run this add-on. Sorry for not mentioning it, I wasn't aware of this issue, thanks for pointing it out.

    • @nics8040
      @nics8040 4 หลายเดือนก่อน

      @@smart_home_australia is there a way to upgrade to the 64 bit? I don’t want to erase all my pi stuff

    • @smart_home_australia
      @smart_home_australia  4 หลายเดือนก่อน

      Hi @nics8040, unfortunately, there is no direct upgrade path from 32-bit to 64-bit without wiping the hard drive that I am aware of. Sorry.

  • @josepduran3307
    @josepduran3307 6 หลายเดือนก่อน

    BON NADAL!!

  • @sudo936
    @sudo936 6 หลายเดือนก่อน

    Can I use an integrated LG tv as a player?

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน

      Whats an integrated Lg TV model? But as long as it runs WebOS then I’d probably say yes.

  • @grmm01
    @grmm01 5 หลายเดือนก่อน

    No Apple Music that I see! Shame it looks really good and I fear another subscription for me.

    • @smart_home_australia
      @smart_home_australia  5 หลายเดือนก่อน +1

      Hi @grmm01, currently no. However, there has been discussion about this in the forum as an option, so fingers crossed for 2024.

  • @asopok
    @asopok 6 หลายเดือนก่อน

    It seems not to be working offline. When my Internet is down, music cannot be played

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน

      Hi @samuelopoku3180, I never tested it with the internet offline, thanks for the feedback. Was this for the playlist or in general? If the former then that would be because it needs to access Spotify to get the information. But in general I dont see why it would not work for local media.

    • @asopok
      @asopok 6 หลายเดือนก่อน

      @@smart_home_australia I use a lenovo Google speaker and even local music won't play through the speaker when offline. Using your tutorial I was able to add my Spotify. Everything works when online but not offline.
      I research and found that the Google speakers do not work offline, therefore if u are to get a WiFi speaker that works offline using esp32 then it should work

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน

      Thanks @samuelopoku3180. I assume you are sending locally stored music to the Google speaker while the internet is offline? Is thats the case then it makes sense. Thanks for your feedback and supporting the community.

  • @rodentbash
    @rodentbash 3 หลายเดือนก่อน +1

    need to up your mic volume.

  • @Pitsaer
    @Pitsaer 3 หลายเดือนก่อน +1

    Thanks for the video :-) Unfortunately it doesn't work for the Amazon echo :-( I detect them but when I launch a radio, sound, playlist on them I get an error message from my Alexa 😅 If anyone has succeeded with an Alexa it would interest me .

    • @smart_home_australia
      @smart_home_australia  3 หลายเดือนก่อน +1

      Whats the error message you get? Is there an entry in the log files for the error?

    • @Pitsaer
      @Pitsaer 3 หลายเดือนก่อน

      ​@@smart_home_australia Hello 🙂First I had this error: "To send TTS, set public url in integration configuration Please see the alexa_media wiki for details." Then I put the url of my nabucasa in the pulblic url to access H.A in the alexa configuration of H.A. and now I have this error: To send TTS, please set Announce=true. Music can't be played this way.

    • @Pitsaer
      @Pitsaer 3 หลายเดือนก่อน

      @@smart_home_australia I have this error: To send TTS, please set Announce=true. Music can't be played this way.

    • @Pitsaer
      @Pitsaer 3 หลายเดือนก่อน

      @@smart_home_australia I don't understand where I need to activate 'set Announce' 😒

    • @smart_home_australia
      @smart_home_australia  3 หลายเดือนก่อน +1

      OK when I filmed the video Music Assistant did not include Alexa speakers (timestamp 00:50). If you check github.com/orgs/music-assistant/discussions/431 there is a thread on this specific topic. Unless things have changed since the video, you might be out of luck. Let me know if you find to the contrary and I might need to put out a new video :)

  • @davidtjac
    @davidtjac 5 หลายเดือนก่อน

    I call service and no such service "Music Assistanant Beta...."

    • @smart_home_australia
      @smart_home_australia  5 หลายเดือนก่อน

      Hi @davidtjac , did you follow through all steps in the video? Sounds like you have not added the Music Assistant integration that's located in devices and services.