-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Add HiVi Speaker integration documentation #44021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
swansmart
wants to merge
13
commits into
home-assistant:next
Choose a base branch
from
swansmart:next
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
62c96fc
Add HiVi Speaker integration documentation
swansmart 489c704
Refactor HiVi speaker integration documentation
swansmart b2fa875
remove quotes around release
c0ffeeca7 9192cb9
Change master/slave terminology to leader/follower
swansmart 08ded2d
Apply suggestions from code review
swansmart 3f10c45
remove quotes in release
c0ffeeca7 54e7c20
Enhance HiVi speaker setup instructions and logging info
swansmart a0950b0
fix typo
c0ffeeca7 a2729b3
Merge branch 'next' into next
c0ffeeca7 985ba27
fix quotes to fix build
c0ffeeca7 e09e463
Merge branch 'next' into next
c0ffeeca7 444d686
tweak, hoping to kick netlify
c0ffeeca7 2001d19
Merge branch 'next' into next
swansmart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,132 @@ | ||
| --- | ||
| title: HiVi Speaker | ||
| description: Instructions on how to integrate HiVi Multi-Room speakers into Home Assistant. | ||
| ha_category: | ||
| - Media player | ||
| - Switch | ||
| ha_release: "2025.4" | ||
| ha_iot_class: Local Polling | ||
| ha_config_flow: true | ||
| ha_codeowners: | ||
| - '@swansmart' | ||
| ha_domain: hivi_speaker | ||
| ha_platforms: | ||
| - media_player | ||
| - switch | ||
| ha_integration_type: hub | ||
c0ffeeca7 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| --- | ||
|
|
||
| The **HiVi Speaker** {% term integration %} allows you to control [HiVi](https://www.hivi.com) Multi-Room speakers from Home Assistant. It discovers HiVi speakers on your local network and creates [media player](/integrations/media_player/) entities for playback control, plus [switch](/integrations/switch/) entities to manage multi-room synchronization (leader–follower groups). | ||
|
|
||
| The integration automatically discovers compatible HiVi Multi-Room devices on your local network and controls them directly over your home network. Media browsing can use local media and [DLNA Digital Media Server](/integrations/dlna_dms/) content when that integration is configured. | ||
|
|
||
swansmart marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| There is support for the following platform types within Home Assistant: | ||
|
|
||
| - [Media player](#media-player) | ||
| - [Switch](#switch) | ||
swansmart marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Prerequisites | ||
|
|
||
| - HiVi speakers must be powered on and connected to the same local network as Home Assistant. | ||
| - Speakers must support Multi-Room functionality (see [Supported devices](#supported-devices)). | ||
|
|
||
| {% include integrations/config_flow.md %} | ||
|
|
||
| Setup is single-instance: you add the integration once. The integration then scans the network for HiVi Multi-Room speakers and creates entities as devices are discovered. | ||
|
|
||
| ## Options | ||
|
|
||
| From the integration’s **Options** you can trigger a **Refresh discovery** to scan again for speakers. Newly discovered devices will be added automatically. | ||
swansmart marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Media player | ||
swansmart marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Each discovered HiVi speaker is represented by a [media player](/integrations/media_player/) entity. You can: | ||
|
|
||
| - **Play / Pause** — Control playback on that speaker. | ||
| - **Volume** — Adjust volume and mute. | ||
| - **Media source** — Choose media from local sources or from a configured [DLNA DMS](/integrations/dlna_dms/) (when available). | ||
| - **Browse media** — Use the media browser to select and play music or other audio. | ||
swansmart marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Playback and volume apply to the individual speaker. To play the same audio on multiple speakers in sync, use the [Multi-room synchronization](#multi-room-synchronization) switches below. | ||
|
|
||
| ## Switch | ||
swansmart marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| For each HiVi speaker that can act as a **leader**, the integration creates **switch** entities: one per other available speaker. Each switch represents “use this other speaker as a synchronized **follower** of the current leader.” | ||
c0ffeeca7 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - **Switch on** — Add that speaker as a follower; it will play in sync with the leader. | ||
| - **Switch off** — Remove the follower link; that speaker returns to standalone mode. | ||
swansmart marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| You can change sync groups at any time; multiple independent leader–follower groups are supported. | ||
|
|
||
| ## Multi-room synchronization | ||
|
|
||
| Multi-room works by designating one speaker as the **leader** and others as **followers**. Audio played on the leader is streamed in sync to all its followers. | ||
|
|
||
| ### How to set up | ||
|
|
||
| 1. Open the HiVi speaker **device** in Home Assistant (the one you want to use as leader). | ||
c0ffeeca7 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 2. In the device’s configuration area, find the list of switches named after other HiVi speakers. | ||
| 3. Turn on the switch for each speaker you want to sync with this leader. | ||
| 4. Those speakers become followers of this leader; playback on the leader is synchronized to them. | ||
| 5. Turn off a switch to remove that speaker from the sync group. | ||
|
|
||
| ### Example layout | ||
|
|
||
| ```text | ||
| Living Room Speaker (leader) | ||
| ├── [On] Kitchen Speaker (synchronized) | ||
| ├── [On] Bedroom Speaker (synchronized) | ||
| ├── [Off] Bathroom Speaker (standalone) | ||
| └── [Off] Office Speaker (standalone) | ||
| ``` | ||
|
|
||
| - Each leader can have its own set of followers. | ||
| - All speakers in a sync group must be on the same local network. | ||
| - You can add or remove followers at any time without restarting playback. | ||
|
|
||
| ## Supported devices | ||
|
|
||
| Compatible with HiVi speakers that support Multi-Room, including (but not limited to): | ||
|
|
||
| - HiVi M5A, M3AMKIII, H6, H8, H5MKII, M500, M300MKII, M200MKII (Wi‑Fi), M200D, M100MKIII, M80W | ||
| - MT1-MAX, MT1-MINI | ||
| - T200MKII, MS2 series | ||
|
|
||
| Other HiVi models with Multi-Room functionality may also work. | ||
|
|
||
swansmart marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ## Troubleshooting | ||
|
|
||
| ### No speakers are found | ||
|
|
||
| - Confirm HiVi speakers are on and on the same network as Home Assistant. | ||
| - Ensure multicast is not blocked (UDP 239.255.255.250, port 1900). | ||
c0ffeeca7 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - Restart Home Assistant and the speakers, then use **Options** > **Refresh discovery**. | ||
|
|
||
| ### Speakers are out of sync during playback | ||
|
|
||
| - Update speaker firmware if possible. | ||
| - Improve network stability and reduce latency; fewer speakers in a sync group can help. | ||
| - Place speakers and router so that Wi‑Fi signal is strong. | ||
|
|
||
| ### Speakers disconnect often | ||
|
|
||
| - Check Wi‑Fi signal strength. | ||
| - Consider assigning static IPs to speakers and updating router firmware. | ||
|
|
||
| ### Enabling debug logging | ||
|
|
||
| To help diagnose issues, enable debug logging for this integration: | ||
c0ffeeca7 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ```yaml | ||
| # configuration.yaml | ||
| logger: | ||
| default: warning | ||
| logs: | ||
| homeassistant.components.hivi_speaker: debug | ||
| ``` | ||
|
|
||
| Restart Home Assistant and reproduce the issue, then inspect the logs. | ||
|
|
||
| ## Removing the integration | ||
|
|
||
| Removing the integration from {% my integrations title="**Settings** > **Devices & services**" %} will remove all related entities and devices. No extra steps are required. | ||
swansmart marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.