|
| 1 | +# Custom improvement of the offial HA integration for Denon HEOS |
| 2 | + |
| 3 | +[](https://github.com/custom-components/hacs)  |
| 4 | + |
| 5 | +{% if pending_update %} |
| 6 | +## New version is available |
| 7 | +{% endif %} |
| 8 | +{% if prerelease %} |
| 9 | +### NB!: This is a Beta version! |
| 10 | +{% endif %} |
| 11 | + |
| 12 | + |
| 13 | +The official integration for [Denon HEOS](https://www.home-assistant.io/integrations/heos/) in [Home Assistant](https://www.home-assistant.io/) unfortunately lacks the grouping feature. Work is ongoing to add such features to the official integration, but due to some architectual discussions and the time it takes to conclude those, this custom integration allows HEOS-users to start grouping already today. Once this is implemented in the official integration, this custom integration will probably cease to exist. Follow the progress on official work (by others) [here](https://github.com/home-assistant/architecture/issues/364) and [here](https://github.com/home-assistant/core/pull/32568). |
| 14 | + |
| 15 | +The grouping feature is available as service calls **join** and **unjoin** but for the best user experience I recommend using the amazing [mini-media-card](https://github.com/kalkih/mini-media-player) which has the grouping feature working from UI/Lovelace. |
| 16 | + |
| 17 | +**DISCLAIMER:** I am *not* the codeowner of the official HEOS integration and do not take credit for anything else but adding a grouping-hack while waiting for official support of the feature. Credits for the hard work belongs to [Andrew Sayre](https://github.com/andrewsayre) who is the author of both the [official integration](https://www.home-assistant.io/integrations/heos/) and the [PyHeos library](https://github.com/andrewsayre/pyheos). |
| 18 | + |
| 19 | + |
| 20 | +## Installation |
| 21 | + |
| 22 | +There are different methods of installing the custom component. HACS is by far the simplest way for unexperienced users and is recomended. |
| 23 | + |
| 24 | +### HACS installation |
| 25 | +The installation is not - and never will be - included in HACS as a default repo. Mainly since it is only meant as a temporary fix for the lack of grouping feature. However, it can be installed through HACS *by adding this repo as a custom repository*. When installed it will override the official integration and a warning for using custom integration should be shown in your Home Assistant log upon startup. |
| 26 | + |
| 27 | +1. Make sure you have [HACS](https://hacs.xyz/) installed in your Home Assistant environment. |
| 28 | +2. Go to **HACS**, select **Integrations**. |
| 29 | +3. Click on the three dots in the upper right corner and select **Custom repositories** |
| 30 | +4. Copy/paste the **URL for this repo** `https://github.com/tmjo/heos_custom` into the URL-field, select **Integration as category** and then click **Add**. |
| 31 | +5. You should now find the **Denon HEOS (Custom)** integration by searching for it. Install it from HACS. |
| 32 | +6. Restart Home Assistant (a warning should be shown in log saying you're using a custom integration). |
| 33 | +7. Continue to the Configuration-section. |
| 34 | + |
| 35 | + |
| 36 | +### Manual |
| 37 | +1. Navigate to you home assistant configuration folder. |
| 38 | +2. Create a `custom_components` folder of it does not already exist, then navigate into it. |
| 39 | +3. Download the folder `heos` from this repo and add it into your custom_components folder. |
| 40 | +4. Restart Home Assistant (a warning should be shown in log saying you're using a custom integration). |
| 41 | +5. Continue to the Configuration-section. |
| 42 | + |
| 43 | + |
| 44 | +### Git installation |
| 45 | +1. Make sure you have git installed on your machine. |
| 46 | +2. Navigate to you home assistant configuration folder. |
| 47 | +3. Create a `custom_components` folder of it does not already exist, then navigate into it. |
| 48 | +4. Execute the following command: `git clone https://github.com/tmjo/heos_custom heos_custom` |
| 49 | +5. Run `bash links.sh` |
| 50 | +6. Restart Home Assistant (a warning should be shown in log saying you're using a custom integration). |
| 51 | +7. Continue to the Configuration-section. |
| 52 | + |
| 53 | +## Configuration |
| 54 | +Configuration is done through UI/Lovelace. In Home Assistant, click on Configuration > Integrations where you add it with the + icon. |
| 55 | + |
| 56 | +## Usage |
| 57 | +This custom integration should work the same way as the [official integration](https://www.home-assistant.io/integrations/heos/) but has added a grouping feature to enable you to group you speakers - just like you can do it in the HEOS app on you mobile or tablet. |
| 58 | + |
| 59 | +Either use the service calls **join** and **unjoin**, and be sure to check out the amazing [mini-media-card](https://github.com/kalkih/mini-media-player) which has the grouping feature working from UI/Lovelace. With that card you can control grouping easily from your UI. |
0 commit comments