pymusiccast
pymusiccast copied to clipboard
Trying to get your music cast setup working
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
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?
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
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```
here you go
not sure if the above . but this is what I have no errors but no link.
Can you please enable debug at home assistant and copy paste the logs about pymusiccast intergration ?