-
-
Notifications
You must be signed in to change notification settings - Fork 13
Music Playback
Ava can serve as a Home Assistant media player, playing music and voice announcements. It also supports Music Assistant integration via Sendspin for multi-room audio sync.
Ava supports the following audio features:
- Media playback (music, podcasts, etc.)
- TTS voice announcements
- Wake prompt sounds
- Timer sounds
- Music Assistant multi-room sync (via Sendspin)
In Home Assistant, Ava registers as a media player entity:
media_player.your_device_name
| Operation | Description |
|---|---|
| Play | Play media |
| Pause | Pause playback |
| Stop | Stop playback |
| Volume | 0-100% |
| Mute | Enable/disable mute |
service: media_player.play_media
target:
entity_id: media_player.your_device_name
data:
media_content_id: "http://example.com/music.mp3"
media_content_type: "music"| Format | Description |
|---|---|
| MP3 | Most common |
| AAC | Apple format |
| OGG | Open source format |
| WAV | Lossless format |
| FLAC | Lossless compressed |
- HTTP/HTTPS URLs
- Local file paths
- Streaming URLs
When playing music, Ava can display beautiful vinyl record style album covers.
- Go to Settings -> Interaction
- Find Media Player
- Turn on Home Assistant Media Controls or Music Assistant Media Controls
Set the Home Assistant media player entity ID for album art:
- Go to Settings -> Interaction -> Media Player
- Find Home Assistant Media Player
- Enter entity ID, e.g.
media_player.xxx - Album art only works when album display is enabled
service: esphome.your_device_name_media_cover
data:
url: "http://example.com/cover.jpg"service: tts.speak
target:
entity_id: media_player.your_device_name
data:
message: "Hello, welcome home"Ava uses the TTS engine configured in Home Assistant. Recommended:
- Piper (local, fast)
- Google TTS (online, good quality)
- Azure TTS (online, good quality)
service: media_player.volume_set
target:
entity_id: media_player.your_device_name
data:
volume_level: 0.8 # 0.0 - 1.0service: media_player.volume_mute
target:
entity_id: media_player.your_device_name
data:
is_volume_muted: trueDisplay text content of voice conversations as a floating window.
- Go to Settings -> Interaction
- Turn on Floating Subtitle switch
Ava supports Music Assistant for multi-room audio sync via the Sendspin protocol. See Sendspin for detailed setup.
| Setting | Description |
|---|---|
| Music Assistant Media Controls | Show music controls during Music Assistant playback |
| Sendspin Volume Control | Device Volume or Software Volume |
| Sendspin Optimization Mode | Recommended for low-memory devices |
| Sendspin Sync Offset | Fine-tune playback timing in milliseconds |
| Sendspin Audio Format | Audio codec and quality |
| Sendspin Device Name | Name shown on Music Assistant server |
| Sync device volume | Keep all related media volumes aligned |
| Setting | Location | Description | Default |
|---|---|---|---|
| HA Media Player | Interaction -> Media Player | Entity ID for album art | - |
| HA Media Controls | Interaction -> Media Player | Show music controls | Off |
| Music Assistant Media Controls | Interaction -> Media Player | Show MA music controls | Off |
| Floating Subtitle | Interaction | Show conversation text | Off |
service: media_player.play_media
target:
entity_id: media_player.your_device_name
data:
media_content_id: "http://example.com/music.mp3"
media_content_type: "music"service: media_player.media_pause
target:
entity_id: media_player.your_device_nameservice: media_player.media_play
target:
entity_id: media_player.your_device_nameservice: media_player.media_stop
target:
entity_id: media_player.your_device_nameservice: media_player.volume_set
target:
entity_id: media_player.your_device_name
data:
volume_level: 0.8- Check if URL is accessible
- Check if audio format is supported
- Check if volume is muted
- Check Home Assistant connection
- Check if Media Controls is enabled
- Check if HA Media Player entity ID is set correctly
- Check network connection
- Try manually setting cover URL
- Increase volume in Ava settings
- Increase device system volume
- Check if mute is enabled
See Sendspin for multi-room sync configuration. Adjust Sendspin Sync Offset in Settings -> Extensions -> Media Player.
Back to Home