Skip to content
This repository has been archived by the owner on Dec 9, 2021. It is now read-only.

Trying to get your music cast setup working #3

Open
jdedfamily opened this issue Jul 19, 2020 · 5 comments
Open

Trying to get your music cast setup working #3

jdedfamily opened this issue Jul 19, 2020 · 5 comments

Comments

@jdedfamily
Copy link

first of all thanks for putting the effort in to get this going .

I have a whole house music cast setup and have been playing around with your multi speaker setup but cannt get it working

first setup i did was add the following to the configuration file , this was in addition to the same devices i had added under platform: yamaha_musiccast same ports

    host: 192.xxx
    port: 5005
  - platform: musiccast_yamaha
    host: 192.xxx
    port: 5006
  - platform: musiccast_yamaha
    host: 192.xxx
    port: 5007
  - platform: musiccast_yamaha
    host: 192.xxx
    port: 5008 ,,,

then added thr groups in min media player 
``` entity: media_player.upstairs_lounge_main
group: true
icon: 'mdi:surround-sound'
name: Lounge Yamaha Sound Bar
speaker_group:
  entities:
    - entity_id: media_player.alfresco_main
      name: alfresco
    - entity_id: media_player.upstairs_lounge_main
      name: lounge
  expanded: false
  platform: musiccast_yamaha
type: 'custom:mini-media-player' ```

but still does not work.. must be doing something wrong 
@ppanagiotis
Copy link
Owner

Hello, did you put the configuration for mini media player at the ui-lovelace file right?
Can you please paste the entire config of mini media player?

@ppanagiotis
Copy link
Owner

I think I find what's wrong.

The speaker group must be under an entity.

id: media_player
icon: mdi:audio-video
title: glance
cards:
  - type: entities
    entities:
      - type: custom:mini-media-player
        group: true
        entity: media_player.livingroom_main #  <------  this is the main entity
        name: LivingRoom
        toggle_power: false
        artwork: cover
        hide:
          icon: true
          power_state: false
        shortcuts:
          buttons:
            - name: Tuner
              icon: mdi:radio
              type: source
              id: tuner
            - name: Spotify
              icon: mdi:spotify
              type: service
              id: switch.turn_on
              data:
                entity_id: switch.spotify
        speaker_group:   # <------ and the speaker group added here
          platform: musiccast_yamaha
          expanded: true
          entities:
            - entity_id: media_player.livingroom_main
              name: Livingroom
            - entity_id: media_player.bedroom_main
              name: Bedroom
            - entity_id: media_player.office_main
              name: Office
            - entity_id: media_player.yard_main
              name: Yard

@jdedfamily
Copy link
Author

entity: media_player.upstairs_lounge_main
group: true
icon: 'mdi:surround-sound'
name: Lounge Yamaha Sound Bar
speaker_group:
  entities:
    - entity_id: media_player.alfresco_main
      name: alfresco
    - entity_id: media_player.upstairs_lounge_main
      name: lounge
  expanded: false
  platform: musiccast_yamaha
type: 'custom:mini-media-player'
volume_stateless: true
theme: dark_mint
volume_step: 3```

@jdedfamily jdedfamily reopened this Jul 19, 2020
@jdedfamily
Copy link
Author

jdedfamily commented Jul 19, 2020

here you go
not sure if the above . but this is what I have no errors but no link.
image

@ppanagiotis
Copy link
Owner

Can you please enable debug at home assistant and copy paste the logs about pymusiccast intergration ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants