Dashboard/lovelace Music Assistant Support #954
Replies: 8 comments 10 replies
-
I’ve asked the front end dev what he thinks of your request. |
Beta Was this translation helpful? Give feedback.
-
@OzGav Is this request a dupe of this #415 which has twice the votes already? Either way, I gave both a +1. I've been struggling with how to make Music Assistant work in my multi-speaker setup and existing UI. I'm not crazy with having to use the sidebar since I hide it for the rest of my HA UX. After trying to get one of the three primary media player cards... ...to do everything I need, I kept finding all of them are missing at least one feature:
*See here and previous comments for more information on why this is still not possible without some ridiculous card_mod'ing. It would be great if @marcelveldt, @kalkih, and @piitaya could team up to create one Media Player card to rule them all! |
Beta Was this translation helpful? Give feedback.
-
You can use MA on a Dashboard in a IFrame card. I used Edge and right clicked on the MA dashboard and clicked 'Inspect'. There I searched for the IFrame url, see screenshot: Result (top-right): |
Beta Was this translation helpful? Give feedback.
-
Development of a custom card for HA is definitely on the wishlist but I do not have time to work on that any time soon. It will definitely not have any priority before 2.0 stable is released. After that we can have a look if there's enough user demand. So until then you will have to do with using MA's own interface or just use default HA cards. What I use myself is a media card for the group player and then entity rows for the child players within the group for easy power and volume control. i always play to the group player(s) and just power on/off players in the rooms. |
Beta Was this translation helpful? Give feedback.
-
Would you mind elaborating on how you use a "media card for the group player"? I've got a Sonos system, and that would be great if it was all in one, but so far all I see are the individual speakers. |
Beta Was this translation helpful? Give feedback.
-
My media UI might be of interest here. I use variations of the mini-card depending on the player state. If a single player is playing a stream, the player opens up and displays the controls. If a group is playing, the sub members only show the volume control and the group media player opens up and shows the controls. It isn't a simple setup. You'll have to set up some template sensors to help determine the player states and use a whole whack of conditional cards. But it does work well once it's set up. In the screenshot below I have both a group and a single media player playing different streams so you can see how it works. If anybody is curious I can provide more details. EDIT: Details for that Play Media card on the bottom left. |
Beta Was this translation helpful? Give feedback.
-
I detailed an idea ("super cards") that might make a custom dashboard card easier here. Additionally, I created a feature request in Home Assistant to allow this type of card. If you think the "super card" idea is a valid solution to this problem, let me know. I am considering making it my holiday project and would like to know if there is genuine interest. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I love this platform and see a ton of potential here. Id really like to see a front end card or support created for this application. Especially something mobile friendly. I've tried using an iframe and other workarounds but to no avail. It could literally be the same interface design, just create a compatible front end card that can be used within the dashboard. I understand it can be used as a tab with HA but that breaks users outside the front end experience and puts them into the HA application which is not good UX, especially if you've invested a lot of time building out different dashboards for different devices and users.
Thank you for all this wonderful work. Be glad to test and support in any way.
Beta Was this translation helpful? Give feedback.
All reactions