How do I join/unjoin Yamaha musiccast speakers?

Hi All,

I’m running the laters version of hass.io on a RPI4

Is there a possibility to join/unjoin Yamaha musiccast speakers?

I have a receiver RX-V483 and a speaker WX-030.

This is the configuration in yaml.

# Musiccast Keuken
platform: yamaha_musiccast
host: !secret mc_keuken
port: 5004
# Musiccast Woonkamer
platform: yamaha_musiccast
host: !secret mc_woonkamer
port: 5005

I have created a mini media player card

entity: media_player.woonkamer_main
type: 'custom:mini-media-player'
artwork: cover
speaker_group:
  platform: yamaha_musiccast
  show_group_count: true
  entities:
    - entity_id: media_player.keuken_main
      name: Keuken

Every time I try to join speakers I get the error message

Failed to call service yamaha_musiccast/join. Service not found. 

Its not supported, I wish it was, this would be so good.

Have a look https://github.com/ppanagiotis/pymusiccast .

3 Likes

@ppanagiotis thanks for the pointer, but I encountered the same issue as @Sander_Wolschrijn

I have tried platform as both yamaha_musiccast and musiccast_yamaha

Card as shown in Lovelace UI:

mini-media-player-card image

Error message when attempting to “group”

Failed to call service musiccast_yamaha

I installed Mini Media Player v1.11.0 from HACS

@Sander_Wolschrijn did you mange to get groups working for Yamaha Musiccast devices?

thanks!

[Edit 3 hours later]
It works!!!
I was confused between the instructions for:

  • HACS Frontend: Mini Media Player and
  • HACS Integration: Musiccast Yamaha

I uninstalled/reinstalled HACS Integration: Musiccast Yamaha and changed the config.yaml media_player platform entiries to musiccast_yamaha

Musiccast Yamaha config.yaml

3 Likes

Thanks for your post. I gave up on this and moved on to other interesting stuff to do with home assistant. But your reply awoke me again :grinning:. Used your method and now everything is working fine.

3 Likes

@YetAnotherDave, hello.

Did you manage that mini player is working and you have group of musiccast devices? could you please share code with mi?

thank you for you help

Filip

@Filip_Kotian this is the change that made it work for me:

All with fixed IP address and a “unique” port.

Along with this Entities Card Configuration:

icon: 'mdi:audio-video'
type: entities
entities:
  - type: 'custom:mini-media-player'
    group: true
    entity: media_player.tv_room_rx_479_main
    name: TV Room
    artwork: cover
    speaker_group:
      platform: musiccast_yamaha
      expanded: false
      entities:
        - entity_id: media_player.tv_room_rx_479_main
          name: TV Room
        - entity_id: media_player.office_main
          name: Office
        - entity_id: media_player.wx10_livingroom_main
          name: Living Room
        - entity_id: media_player.wx21_diningroom_main
          name: Dining Room
  - type: 'custom:mini-media-player'
    group: true
    name: Office
    entity: media_player.office_main
  - type: 'custom:mini-media-player'
    group: true
    name: Living Room
    entity: media_player.wx10_livingroom_main
  - type: 'custom:mini-media-player'
    group: true
    name: Dining Room
    entity: media_player.wx21_diningroom_main

@YetAnotherDave, have you done anything about this information below?

from the github pymusiccast instruction.
It is confusing and I got stuck… I followed your method, but still get the same error message

Failed to call service yamaha_musiccast/join. Service not found.

Yes, I too was confused. I believe the problem is that you are using yamaha_musiccast
What you need is musiccast_yamaha

See my earlier post, partially quoted here:

Thanks, that’s it!!!
You have to have it correct in the configuration.yaml file → musiccast_yamaha

Works perfect now.
:+1:

Sorry for refreshing the topic, but I think I don’t understand what should be the final configuration. Is that the one posted by @YetAnotherDave?

This post is how I have it configured. It still works for me :wink:

core-2021.5.5
supervisor-2021.06.8
Home Assistant OS 5.13
HACS 1.12.4
Musiccast Yamaha v0.5
Mini Media Player v1.12.1

I also have some problems getting my Musiccast system up and running with Homeassistant. I browsed the examples here and on GitHub - ppanagiotis/pymusiccast: Group MusicCast Speakers with Home Assistant to do the installation. I made a card in Lovelace like this:

type: entities
entities:
  - type: custom:mini-media-player
    group: true
    entity: media_player.esszimmer
    name: Esszimmer
    toggle_power: false
    artwork: cover
    hide:
      icon: true
      power_state: false
    speaker_group:
      platform: musiccast_yamaha
      expanded: false
      entities:
        - entity_id: media_player.esszimmer_main
          name: Esszimmer
        - entity_id: media_player.kuche_main
          name: Küche
        - entity_id: media_player.schlafzimmer_main
          name: Schlafzimmer
  - type: custom:mini-media-player
    artwork: cover
    group: true
    name: Küche
    hide:
      icon: true
      controls: true
      progress: true
      source: true
      info: true
      power_state: false
    entity: media_player.kuche
    toggle_power: false
  - type: custom:mini-media-player
    artwork: cover
    group: true
    name: Schlafzimmer
    hide:
      icon: true
      controls: true
      progress: true
      source: true
      info: true
      power_state: false
    entity: media_player.schlafzimmer
    toggle_power: false

This is what the card looks like:

I also add my devicecs in the configuration.yaml file. My problem is this: I cannot control or group my devices. When I click the slider, nothing happens. The slider does not move. I can only turn the devices on / off and adjust the volume.
What am I doing wrong?

Hi Guys
Has the Musiccast Group Issue been resolved as i am still recieving the Error that service not found

Also cannot get it working with the ‘official’ aiomusiccast-0.9.1 (https://github.com/ppanagiotis/pymusiccast says it’s deprecated), all documentation I find is very outdated.
I’m on 2021.9.3, the integrated MusicCast (at least their docu says) should provide a join routine.
But it tells there is no service musiccast/join.

Here’s how it looks with platform set to mediaplayer:

This is my custom card:

type: entities
entities:
  - type: custom:mini-media-player
    group: true
    entity: media_player.rxv_werkstatt
    name: RXV Werkstatt
    toggle_power: false
    artwork: cover
    hide:
      icon: true
      power_state: false
      source: false
    speaker_group:
      platform: media_player
      expanded: false
      entities:
        - entity_id: media_player.rxv_wohnen
          name: Wohnzimmer
        - entity_id: media_player.rxv_kueche
          name: Küche
  - type: custom:mini-media-player
    group: true
    entity: media_player.rxv_wohnen
    hide:
      icon: true
      controls: true
      progress: true
      source: true
      info: true
      power_state: false
  - type: custom:mini-media-player
    group: true
    entity: media_player.rxv_kueche
    hide:
      icon: true
      controls: true
      progress: true
      source: true
      info: true
      power_state: false

if I change the speaker_group platform to musiccast, it looks like this:

Played a bit, found a workaround:

service: media_player.join
target:
  entity_id:
    - media_player.rxv_wohnen
data:
  group_members: media_player.rxv_wohnen

added a button card for it.

image
This is my screenshot of Musicast devices.
I will try the button setup but that would require multiple buttons if a eventually add all musiccast devices in each room
My Card View

Do you know if there is currently an Open Issue for this intergration

I think not, I opened one yesterday: https://github.com/vigonotion/aiomusiccast/issues/20.
You do use the (deprecated) musiccast_yamaha platform,
but I want to get it working with the ‘official’ platform, which is now musiccast.

Take a look at my previous post, I think it is an issue of mini-media-player, not of the musiccast platform.

Just tried to add the master like you did in your screenshot,
the error stays the same:

Yep, it’s a (solved) issue with mini-media-player, which does not honor the new join method in media_player platform (https://github.com/kalkih/mini-media-player/issues/528). There is no bundled release yet.