Overview
The HEOS media player integration allows users to control their HEOS-enabled audio devices directly through Home Assistant. This capability enhances the home entertainment experience by providing seamless access to music and audio streaming options from various sources.
Benefits
- Centralized control of HEOS devices through Home Assistant interface
- Ability to automate music playback based on user presence or time
- Enhanced audio experience with multi-room audio support
Intent
This capability aims to streamline the audio management within a smart home environment by integrating HEOS media players into Home Assistant. The desired outcome is to enable easy control and capability of audio playback across multiple rooms.
Preconditions
- Home Assistant must be installed and running.
- HEOS-enabled audio devices must be set up and connected to the same network.
- User must have a functional Home Assistant account.
- Home Assistant installed and configured.
- Integration available and authenticated: Sonos.
- Device installed and reachable: Sonos | Sonos One.
Actors
- Homeowner controlling the music playback
- Family members selecting audio for different rooms
- Guests enjoying music during gatherings
Trigger
User interaction through the Home Assistant interface or an automated event based on presence detection.
Workflow Diagram
flowchart TD
A[User Interaction] -->|check| B{{Is HEOS device available?}}
B -->|Yes| C[Control Playback]
C --> D[Audio Plays on Selected Device]
B -->|No| E[Show Error Message]
Workflow Description
1. Connect HEOS Devices
Ensure that all HEOS-enabled audio devices are connected to the same Wi-Fi network as Home Assistant.
2. Add HEOS Integration
Navigate to Home Assistant integrations page and add the HEOS integration to link your devices.
3. Configure Audio Sources
Set up and configure the audio sources you want to access through the HEOS media player within Home Assistant.
4. Create Capability Rules
Develop capability rules to control playback based on triggers like user presence or specific times.
5. Test Playback
Test the playback functionality to ensure that audio streams correctly to the desired HEOS device.
Postconditions
Users can control and automate audio playback through Home Assistant, enjoying an enhanced listening experience across their HEOS-enabled devices.
Optional Enhancements
- Integrate voice control using Amazon Alexa or Google Home for hands-free operation
- Set up notifications for audio events like new music releases or playlists
- Create custom playlists that can be triggered by specific home events
Recommended Components
| Recommended Applications | Recommended Integrations | Recommended Devices |
|---|---|---|
| Home Assistant | Sonos, Roku | Sonos | Sonos One, Roku | Roku Ultra |
Source Examples
- 2026.1: Home is where the dashboard is ?? – Home Assistant (homeassistant)