Basic setup: Musiccast / config.yaml

Hi all,
I am trying to setup my Musiccast components in config.yaml and to start i.e. a musiccast component via motion sensor.

Components are consisting of
Receiver RX-V685
Musiccast WX-021 - Kitchen
Musiccast WX-021 - Mobile Box

My config for 1 Musiccast Component looks like this in the config.yaml:

media_player:
  - platform: yamaha_musiccast
    host: 192.168.1.84
    port: 5005

The result is:

  1. The media player ‘kitchen_(main)’ is available
  2. I can start the Musiccast component via Service
  3. I can set volume

Q1: Why is the Musiccast Component not available as Entity? I do not really understand why I only can i.e. turn the component on via a service call? Not handled i.e. like a on/off plug?

Q2: Where can I assign the names for the components? i.e. ‘kitchen_(main)’ is assigned by HA as it seems.

via


I realize that only
  • powering on/off
  • mute
  • volume control
  • source selection
    are available.

Q3: Did anyone manage to start a mp3 file from the NAS ?

Regards,
Joerg

You mean, there is no media-control present on the Lovelace UI? Maybe you disabled automated Lovelace handling and need to add it by hand? Click the upper right of your dashboard and select “Edit Dashboard”.

grafik

Then in the lower right, click on “Add Card” …

grafik

… select card type “Media Control” and configure it for the appropriate media_player entity

You have an entity media_player.xxx

Go to Developer Tools → States, look for your media_player.xxx entity, click on it and then on the cog wheel, now you can change the entity_id.

That’s not possible with musiccast.

Unfortunately it says, that the entity doesn’t have a unique id.
I have to do it via YAML…

I tried this:

media_player:
  - platform: yamaha_musiccast
    entity_id: kueche1
    host: 192.168.1.84
    port: 5005

but the entity_id gives a configuration fault.

Ah I see, then you can only change it by changing the name of your devices in the device itself.

E.g. I called one of my musiccast receiver “Musik Wohnzimmer”, which now has the entity_id media_player.musik_wohnzimmer

1 Like

Ok, dann mache ich es auch so. :slight_smile:
(I will do it the same)

I thought I can get rid of the ‘(main)’.
It is shown on both entities.

Thanks anyway :slight_smile:
Greets from Hamburg

No. If you enable the advanced mode (“Erweiteter Modus”) on you profile page, then you will get the “Customizations” entry in the “Configuration” menu (Einstellungen → Anpassungen bei deutscher Sprache).

You can easily customize entity display names there. Only thing you need to do in YAML is to enable the use of customizations.

1 Like

Thanks , that worked.