{"id":2855,"date":"2023-01-19T08:52:30","date_gmt":"2023-01-19T08:52:30","guid":{"rendered":"https:\/\/rapidlydigital.com\/?p=2855"},"modified":"2023-02-10T16:07:59","modified_gmt":"2023-02-10T16:07:59","slug":"home-assistant-how-to-use-yamaha-musiccast-speaker-groups","status":"publish","type":"post","link":"https:\/\/rapidlydigital.com\/home-assistant-how-to-use-yamaha-musiccast-speaker-groups\/","title":{"rendered":"Home Assistant – How to use Yamaha MusicCast Speaker Groups"},"content":{"rendered":"
<\/div>\n

For owners of Yamaha Musiccast audio equipment Home Assistant is a really effective tool to help manage and automate Musiccast functions. In this article we will discuss how to join multiple Musiccast speakers together to enable simultaneous playback throughout multiple locations<\/p>\n\n\n\n

Before starting I would advise you complete the following pre requisites:<\/p>\n\n\n\n

    \n
  1. Configure static IP’s for all your MusicCast devices\/speakers and take note of the IP’s. If you are using MusicCast for wireless surround speakers and or subwoofers you probably only need to configure the controlling device for each instance. Help with this can be found at this link<\/a>. <\/li>\n\n\n\n
  2. Install the official Yamaha MusicCast Home Assistant Integration. Help with this can be found at this link<\/a>.<\/li>\n\n\n\n
  3. Install the Custom Mini Media Player card within Home Assistant. See this guide<\/a>.<\/li>\n<\/ol>\n\n\n\n

    <\/p>\n\n\n\n

    If you are happy the above is complete – we can get started!<\/p>\n\n\n\n

    There are two primary methods for using Speaker Groups:<\/p>\n\n\n\n

      \n
    1. Using Custom Mini Media Player. This method is good for controlling via Home Assistant Dash Boards<\/li>\n\n\n\n
    2. Calling the appropriate service. This is more appropriate in use by automations etc.<\/li>\n<\/ol>\n\n\n\n

      <\/p>\n\n\n\n

      Using the Custom Mini Media Player<\/strong><\/h2>\n\n\n\n
        \n
      1. Firstly, ensure that you have completed the installation of the Custom Mini Media Player within HACS. See this guide for details<\/li>\n\n\n\n
      2. Open the Dashboard (formerly known as LoveLace) on which you want to control MusiCast Speaker Groups. If you wish to create a new Dashboard simply go to Settings > Dashboards > Create New<\/li>\n\n\n\n
      3. Open the Dashboard and Click to edit the Dashboard by clicking the 3 vertical dots in the top right and selecting edit dashboard.<\/li>\n<\/ol>\n\n\n
        \n
        \"\"<\/figure><\/div>\n\n\n

        4. Click Add Card<\/p>\n\n\n

        \n
        \"\"<\/figure><\/div>\n\n\n

        5. Scroll down to the bottom of the list and select ‘Custom: Mini Media Player<\/p>\n\n\n

        \n
        \"\"<\/figure><\/div>\n\n\n

        6. Click ‘ Show Code Editor’<\/p>\n\n\n

        \n
        \"\"<\/figure><\/div>\n\n\n

        7. Copy the below code and edit according to your requirements.<\/p>\n\n\n\n

        <\/circle><\/circle><\/circle><\/g><\/svg><\/span><\/path><\/path><\/svg><\/span>
        type<\/span>:<\/span> <\/span>entities<\/span><\/span>\nentities<\/span>:<\/span><\/span>\n  <\/span>-<\/span> <\/span>type<\/span>:<\/span> <\/span>custom:mini-media-player<\/span><\/span>\n    <\/span>group<\/span>:<\/span> <\/span>true<\/span><\/span>\n    <\/span>entity<\/span>:<\/span> <\/span>media_player.masterspeaker<\/span><\/span>\n    <\/span>toggle_power<\/span>:<\/span> <\/span>false<\/span><\/span>\n    <\/span>artwork<\/span>:<\/span> <\/span>cover<\/span><\/span>\n    <\/span>artwork_border<\/span>:<\/span> <\/span>true<\/span><\/span>\n    <\/span>power_color<\/span>:<\/span> <\/span>true<\/span><\/span>\n    <\/span>show_source<\/span>:<\/span> <\/span>true<\/span><\/span>\n    <\/span>sync_volume<\/span>:<\/span> <\/span>true<\/span><\/span>\n    <\/span>expanded<\/span>:<\/span> <\/span>true<\/span><\/span>\n    <\/span>speaker_group<\/span>:<\/span><\/span>\n      <\/span>platform<\/span>:<\/span> <\/span>media_player<\/span><\/span>\n      <\/span>show_group_count<\/span>:<\/span> <\/span>true<\/span><\/span>\n      <\/span>entities<\/span>:<\/span><\/span>\n        <\/span>-<\/span> <\/span>entity_id<\/span>:<\/span> <\/span>media_player.speaker1<\/span><\/span>\n          <\/span>name<\/span>:<\/span> <\/span>Link Kitchen<\/span><\/span>\n        <\/span>-<\/span> <\/span>entity_id<\/span>:<\/span> <\/span>media_player.speaker2<\/span><\/span>\n          <\/span>name<\/span>:<\/span> <\/span>Link Dining Room<\/span><\/span>\n        <\/span>-<\/span> <\/span>entity_id<\/span>:<\/span> <\/span>media_player.speaker3<\/span><\/span>\n          <\/span>name<\/span>:<\/span> <\/span>Link Office<\/span><\/span>\n        <\/span>-<\/span> <\/span>entity_id<\/span>:<\/span> <\/span>media_player.speaker4<\/span><\/span>\n          <\/span>name<\/span>:<\/span> <\/span>Link Bedroom<\/span><\/span>\n        <\/span>-<\/span> <\/span>entity_id<\/span>:<\/span> <\/span>media_player.speaker5<\/span><\/span>\n          <\/span>name<\/span>:<\/span> <\/span>Link Living Room<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n

        Points to note:<\/p>\n\n\n\n