# \[APP\]\[Pro\] Bluesound - Multi-room Music. The Hi-Res Way

**URL:** <https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [August 22, 2018, 11:26am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121 "2018-08-22T11:26:31Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [May 31, 2020, 10:13pm UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/81 "2020-05-31T22:13:58Z")

</div>

You need to run the app from the command line. This means installing it from an alternative app store will not help. When running from the command line it will overwrite your current app and write logging to the command line. When you are done you can just install the app from the official app store and continue to use the app without further changes.

Just follow the guidelines here:. [[HOW TO] CLI install method](https://community.homey.app/t/how-to-cli-install-method/198)

---

<div class="post-metadata">

**Author:** ![Hunteru](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hunteru/32/26688_2.png) [@Hunteru](https://community.homey.app/u/Hunteru)\
**Post date:** [June 22, 2020, 5:37am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/82 "2020-06-22T05:37:46Z")

</div>

Hello,

Start playing trigger report as stopping.

I made a flow to power on my headphones amplifier using a fibaro soket when the bluesound device (node 2) starts playing.  
I attached a card to notify the action and is reporting that the trigger is “stop playing”.

I have another flow that make the stop action and is working fine, when the bluesound device stop playing the flow send the Off command to the socket.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [June 22, 2020, 3:26pm UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/83 "2020-06-22T15:26:58Z")

</div>

I’ll fix that with a new version some time this week.

---

<div class="post-metadata">

**Author:** ![Hunteru](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hunteru/32/26688_2.png) [@Hunteru](https://community.homey.app/u/Hunteru)\
**Post date:** [June 22, 2020, 4:42pm UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/84 "2020-06-22T16:42:48Z")

</div>

Thanks,

Great job for the App. Is one of the reasons that I bought the Homey device. I use it only for some flows and interaction with the devices that I can’t add/use in my main smart home solution.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [June 23, 2020, 7:32am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/85 "2020-06-23T07:32:50Z")

</div>

> ## 1.3.5 - 2020-06-23
> 
> Fixed issue with start / stop playing trigger cards.

---

<div class="post-metadata">

**Author:** ![Hunteru](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hunteru/32/26688_2.png) [@Hunteru](https://community.homey.app/u/Hunteru)\
**Post date:** [June 24, 2020, 5:53am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/87 "2020-06-24T05:53:06Z")

</div>

Thanks,

Now is working as expected.  
Great job again for your effort on doing this app.

Best regards.

---

<div class="post-metadata">

**Author:** ![Hunteru](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hunteru/32/26688_2.png) [@Hunteru](https://community.homey.app/u/Hunteru)\
**Post date:** [June 24, 2020, 11:31am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/88 "2020-06-24T11:31:20Z")

</div>

I must get back to you to make a correction 🙂  
Now the stop trigger is not working.

I saw in your code that you check for the “stop” state to update the status to Homey.ManagerFlow.getCard(‘trigger’, ‘start\_playing’) and Homey.ManagerFlow.getCard(‘trigger’, ‘stop\_playing’) and so on.  
Bluesound (BluOS) has 3 options (actually more - stream, connecting etc.) to the state check: play, pause and stop (those are for our purpose ). Stop is generated when there is no playlist loaded (is empty) and pause/play when there is something in the playlist.  
So maybe you must check by “play” state and generate the status in the app.

Best regards.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [June 24, 2020, 12:01pm UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/89 "2020-06-24T12:01:06Z")

</div>

Ok. I don’t own a Bluesound device myself. So I can’t check these kind of things. If I understand correctly when the state changes to play it should trigger the start\_playing trigger and on any other state change it should trigger the stop\_playing trigger?

---

<div class="post-metadata">

**Author:** ![Hunteru](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hunteru/32/26688_2.png) [@Hunteru](https://community.homey.app/u/Hunteru)\
**Post date:** [June 24, 2020, 12:14pm UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/90 "2020-06-24T12:14:44Z")

</div>

Yes, you can:  
If state play then trigger is playing…  
And if state !== play then trigger is stoping…

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [June 25, 2020, 6:59am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/91 "2020-06-25T06:59:09Z")

</div>

> ## v1.3.6 - 2020-06-25
> 
> Another fix for issue with start / stop playing trigger cards.

---

<div class="post-metadata">

**Author:** ![GertjanG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gertjang/32/17816_2.png) [@GertjanG](https://community.homey.app/u/GertjanG)\
**Post date:** [August 4, 2020, 10:47am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/92 "2020-08-04T10:47:09Z")

</div>

Hi Phuturist,

After my question in the (NL) questions section [here](https://community.homey.app/t/bluesound-mysterie/33196) I did some further checking and was triggered by Hunteru’s post dated 24/6.

My issue is that the triggers for ‘start playing’ and stop playing’ do not work for streaming radio and the optical input, where they do work for playing from NAS and TIDAL. Homey does recognise the player is active as the icon changes into the ‘playing’ icon, it’s just the flow which is not activated.

Am I correct in assuming there is no workaround for me as user, and would require you to include triggers for ‘start/stop streaming’, ‘start/stop optical input’ etc.?

Alternatively, for my use case and if available in the programming, it would also be an option to:

- use the hibernation status as trigger (player goes into hibernation after 15 minutes of no use)
- use the status of the 12V trigger output (active until 15 minutes after use and used to control the connected amplifier)

Hope you can have a look as I really appreciate the app. I’m more than happy to test anything, but have very little knowledge of programming.

Thanks in advance and regards,  
Gertjan

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [August 6, 2020, 4:25pm UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/93 "2020-08-06T16:25:41Z")

</div>

Sorry, was on vacation and missed this message.

The start / stop playing trigger card is determined by that value `state` from the result of [http://ipbluesound](http://ipbluesound):port/Status. The triggercard is currently triggered when it changes to `play` or `stream` while the condition card just checks if the `state` is not `pause`. I’ll change the triggercard accordingly hoping it wont have any side effects and start triggering the card to often. I cant test any of this since I dont own a Bluesound device.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [August 6, 2020, 5:41pm UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/94 "2020-08-06T17:41:13Z")

</div>

I have updated the app but also updated it to SDK3. This requires Homey firmware 5.x which is currently in experimental phase. I’m looking for people who use the Bluesound app and already have firmware 5.x installed which can test this test version of the app.

> **[Bluesound](https://homey.app/en-us/app/com.bluesound/Bluesound/)**
>
> Multi-room Music. The Hi-Res Way.

> ## v3.0.0 - 2020-08-06
> 
> - Updated to SDK3 (require Homey firmware 5.x)
> - Fixed an issue with the start/stop playing trigger card

---

<div class="post-metadata">

**Author:** ![GertjanG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gertjang/32/17816_2.png) [@GertjanG](https://community.homey.app/u/GertjanG)\
**Post date:** [August 6, 2020, 7:54pm UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/95 "2020-08-06T19:54:49Z")

</div>

Thanks for your fast action! Unfortunately I can not test with version 5 as two of the apps controlling most of my devices are listed as ‘not yet available’.  
So I’ll have to await the official release and will provide feedback as soon as possible.

KR,  
Gertjan.

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [August 13, 2020, 8:05am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/96 "2020-08-13T08:05:20Z")

</div>

Hi Jelger,

I have installed 5.0 and your sdk3 version but the device is not available. I will try to run the app via Cli. Maybe the logging will tell us more…

Logging:

SyntaxError: Unexpected token ‘=\>’  
at wrapSafe (internal/modules/cjs/loader.js:1072:16)  
at Module.\_compile (internal/modules/cjs/loader.js:1122:27)  
at Object.Module.\_extensions…js (internal/modules/cjs/loader.js:1178:10)  
at Module.load (internal/modules/cjs/loader.js:1002:32)  
at Function.Module.\_load (internal/modules/cjs/loader.js:901:14)  
at Module.require (internal/modules/cjs/loader.js:1044:19)  
at Module.homeyRequire [as require] (/opt/homey-client/node\_modules/homey-apps-sdk-v3/index.js:11:19)  
at require (internal/modules/cjs/helpers.js:77:18)  
at Object. (/app.js:4:14)  
at Module.\_compile (internal/modules/cjs/loader.js:1158:30)

— INFO: com.bluesound has been killed —

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [August 13, 2020, 9:53am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/97 "2020-08-13T09:53:52Z")

</div>

Thanx. The error seems to originate outside my code though which makes it hard to troubleshoot. I’ll look into it though and see if I can come up with a fix.

Just to be sure, you are also running Homey firmware 5.x?

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [August 13, 2020, 9:55am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/98 "2020-08-13T09:55:45Z")

</div>

> [@Phuturist](#):
>
> Just to be sure, you are also running Homey firmware 5.x

Yes i am! Rc22 at the moment

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [August 13, 2020, 10:11am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/99 "2020-08-13T10:11:29Z")

</div>

> [@Peter\_de\_Vos](#):
>
> 4:14)

I have updated the test version to 3.0.1 which hopefully fixes the issue. Could you test again?

> **[Bluesound | Homey](https://homey.app/en-us/app/com.bluesound/Bluesound/)**
>
> Multi-room Music. The Hi-Res Way.

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [August 13, 2020, 10:16am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/100 "2020-08-13T10:16:43Z")

</div>

Yes it does! Will test the start/stop some later. Thnx so far!

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [August 13, 2020, 10:28am UTC](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121/101 "2020-08-13T10:28:15Z")

</div>

Made some testflows with notifications:  
1 powernode stops and 1 powernode start.  
When i stop or start the powernode i get the same notification: powernode stops

Edit: made another two testflows, both with the trigger stops playing. In the first flows in the ‘and’ section is playing then notification: powernode starts playing. In the second flow in the 'and section is not play then notification stops playing.  
Not how it should, but it is a workaround.  
Looks like only the stops playing trigger is working.

Another thing: in the ‘then’ section there are two cards to pick with: ‘is playing’. I had to pick the second to make it work.

[Previous page](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121.md?page=4)

[Next page](https://community.homey.app/t/app-pro-bluesound-multi-room-music-the-hi-res-way/121.md?page=6)
