This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Closed Official

[APP] Bluesound

2»

Comments

  • Phuturist said:

    Latest version - 2018-02-12 -- v1.1.0

    • FIX: small decimal fix when setting volume
    • FIX: unmute action cards fixed
    • FIX: start playing trigger card fixed
    • FIX: hopefully fix the previous action card (send command twice to actually go back a track instead of jump to start of current track)
    • UPDATE: added extra checks to prevent artist, track and album tags being updated in unwanted scenarios
    • UPDATE: added a change service action card
    @quakerix, @iTSMe how is this latest version, everything fixed now?
  • Phuturist said:
    Phuturist said:

    Latest version - 2018-02-12 -- v1.1.0

    • FIX: small decimal fix when setting volume
    • FIX: unmute action cards fixed
    • FIX: start playing trigger card fixed
    • FIX: hopefully fix the previous action card (send command twice to actually go back a track instead of jump to start of current track)
    • UPDATE: added extra checks to prevent artist, track and album tags being updated in unwanted scenarios
    • UPDATE: added a change service action card
    @quakerix, @iTSMe how is this latest version, everything fixed now?
    Sorry did not had time to test :(
  • StianStian Member
    Hi, Thanks for the great app! 
    I it possible to enable a Bluesound speaker in Music menu? 
  • Stian said:
    Hi, Thanks for the great app! 
    I it possible to enable a Bluesound speaker in Music menu? 
    Perhaps, but since I dont actually own the device it's hard to code and test this. So I dont see it happening any time soon, sorry.
  • Finally, time for some testing!!

    * Send command card has a typo 'Send Commanc' 
    * Unmute is still not working. I hear a mili second of sound but then its muted again. I also see it in the remote app of the speaker that 'Muted' icon is gone for a sec but is shown directly after that. What command do you sent the API to un-mute? Changing the volume will un-mute. That works.
    * Change service (and then play) isn't doing anything for all services. I guess if i want to play TuneIn or Tidal, i'll be required to use presets. Or the change service should be extended in being to select a playlist or something.
    * Change Input to Radio pariodise & and sent the play command works.
    * Change input to Spotify and sent play doesn't do anything

    Integration with Homey Music or Alexa (via Homey) would be nice. I'm happy with the App! I'll do my donation. Great work. Thanks.
  • I just tested a little bit more and i've noticed something weird with the volume.

    When I set it on the device page, it works correctly. The slider is working perfectly.

    But when I set the volume through flows, if i set it to 1% its already -22db. Very loud! And I can't get lower than 1%. 
  • quakerix said:
    Finally, time for some testing!!

    * Send command card has a typo 'Send Commanc' 
    * Unmute is still not working. I hear a mili second of sound but then its muted again. I also see it in the remote app of the speaker that 'Muted' icon is gone for a sec but is shown directly after that. What command do you sent the API to un-mute? Changing the volume will un-mute. That works.
    * Change service (and then play) isn't doing anything for all services. I guess if i want to play TuneIn or Tidal, i'll be required to use presets. Or the change service should be extended in being to select a playlist or something.
    * Change Input to Radio pariodise & and sent the play command works.
    * Change input to Spotify and sent play doesn't do anything

    Integration with Homey Music or Alexa (via Homey) would be nice. I'm happy with the App! I'll do my donation. Great work. Thanks.
    Thanx for the bounty donation.
    • I'll fix the type-o
    • I'll have a look at the mute/unmute. I should be able to fix that.
    • I created the card to change the service based on the description of the API, I'm not sure what it should do as well since I dont own the Bluesound myself. If using presets does work for you should indeed go for that.
    • I can image you need to somehow first select a Spotify playlist before something can be played using the Spotify input. Which actions do you take when you manually start playing Spotify over your Bluesound device?
    Integration with Alexa is out of my hands. It depends on two thing, support from Amazon for smart speaker devices, and support from Athom for smart speaker devices within the Homey skill for Alexa. Not sure if and when this will become available but my app should be ready for it since the devices are added using the speaker capability.

    As mentioned above, I dont see support for Homey music any time soon as I dont own the device myself and I wont be able to test the possibilities. The code needed is to complex to just code it based on documentation.
     
  • Latest version - 2018-03-17 -- v1.1.1

    • FIX: unmute action cards fixed (for real now)
    • FIX: small type-o in the send command action card
  • Phuturist said:

    Latest version - 2018-03-17 -- v1.1.1

    • FIX: unmute action cards fixed (for real now)
    • FIX: small type-o in the send command action card
    I hate to say it, but the unmute is... unstable. It works sometimes. But I can't figure out why its random. I made a video that i'll share with you. 

    Other question;

    I bought an extra Bluesound speaker. So I have two now (yay). Could you build the grouping feature?

    example:
    http://192.168.1.38:11000/AddSlave?slave=192.168.1.41&group=Study Player (Study Player is the group name)
    http://192.168.1.38:11000/RemoveSlave?slave=192.168.1.41

    Since I have two Bluesound devices added in Homey, you might be able to retrieve the IP addresses from the added device. 
  • quakerix said:
    Phuturist said:

    Latest version - 2018-03-17 -- v1.1.1

    • FIX: unmute action cards fixed (for real now)
    • FIX: small type-o in the send command action card
    I hate to say it, but the unmute is... unstable. It works sometimes. But I can't figure out why its random. I made a video that i'll share with you. 

    Other question;

    I bought an extra Bluesound speaker. So I have two now (yay). Could you build the grouping feature?

    example:
    http://192.168.1.38:11000/AddSlave?slave=192.168.1.41&group=Study Player (Study Player is the group name)
    http://192.168.1.38:11000/RemoveSlave?slave=192.168.1.41

    Since I have two Bluesound devices added in Homey, you might be able to retrieve the IP addresses from the added device. 
    I might have found the issue with muting and unmuting. I will push that to the app store in the next release. For grouping, what I can do is add these two action cards:
    • "Add slave" with two text fields, one for IP and one for group name
    • "Remove slave" with one text field for the IP
    There will be no error handling in case you entered a wrong IP or group name since I dont know how to check for existing Bluesound devices and groupnames. If this is OK, it wont be to hard to implement. Let me know.
  • Phuturist said:
    quakerix said:
    Phuturist said:

    Latest version - 2018-03-17 -- v1.1.1

    • FIX: unmute action cards fixed (for real now)
    • FIX: small type-o in the send command action card
    I hate to say it, but the unmute is... unstable. It works sometimes. But I can't figure out why its random. I made a video that i'll share with you. 

    Other question;

    I bought an extra Bluesound speaker. So I have two now (yay). Could you build the grouping feature?

    example:
    http://192.168.1.38:11000/AddSlave?slave=192.168.1.41&group=Study Player (Study Player is the group name)
    http://192.168.1.38:11000/RemoveSlave?slave=192.168.1.41

    Since I have two Bluesound devices added in Homey, you might be able to retrieve the IP addresses from the added device. 
    I might have found the issue with muting and unmuting. I will push that to the app store in the next release. For grouping, what I can do is add these two action cards:
    • "Add slave" with two text fields, one for IP and one for group name
    • "Remove slave" with one text field for the IP
    There will be no error handling in case you entered a wrong IP or group name since I dont know how to check for existing Bluesound devices and groupnames. If this is OK, it wont be to hard to implement. Let me know.
    Sounds good to me!
  • Latest version - 2018-04-03 -- v1.2.0

    • NEW: added add and remove slave action cards
    • FIX: unmute action cards fixed (hopefully for really real now)
  • Phuturist said:

    Latest version - 2018-04-03 -- v1.2.0

    • NEW: added add and remove slave action cards
    • FIX: unmute action cards fixed (hopefully for really real now)
    Whoops, it a bug has slipped through in the set volume action card. I'm trying to fix it but the app store wont accept the new version of the app.
  • Latest version - 2018-04-05 -- v1.2.1

    • FIX: coding error in volume set action cards fixed
  • iTSMeiTSMe Member
    edited April 2018
    Bedankt! Ik had gisteren idd al last van vastlopers. Ik had 1.1 al terug geïnstalleerd maar met deze update draait het weer soepel. Helaas kan ik de Multi device aanpassingen niet testen, heb maar 1 device van Bluesound staan.

    <<Modbreak>> Plz keep it in English


  • @Phuturist

    My Pulse Flex is shown offline, but I can reach it through the browser.

    How often does it checks whether its online again? 


  • quakerix said:
    @Phuturist

    My Pulse Flex is shown offline, but I can reach it through the browser.

    How often does it checks whether its online again? 


    Strange, it checks the device every 63 seconds if it's available again. If it's still offline you could try to restart the app to see if that fixes the issue.
  • Hi @Phuturist

    The "is not playing" in the and column is not working properly. If music is paused and I run a flow. It executes the flow while it should stop at 'is not playing'. 

    The XML when its playing (using http://192.168.178.192:11000/Status)

    <status etag="3735f181101c402c8316c6e642b08175">
    <actions>
    <action name="back" url="/Action?service=Spotify&action=Previous"/>
    <action name="skip" url="/Action?service=Spotify&action=Next"/>
    <action androidAction="android.intent.action.VIEW" androidPackage="com.spotify.music" desktopApp="spotify:open" desktopInstall="https://spotify.com/download" icon="/Sources/images/SpotifyIcon.png" iosApp="spotify:open" itunesUrl="https://itunes.apple.com/ex/app/spotify/id324684580" name="contextMenuItem" text="Open Spotify app"/>
    </actions>
    <album>Back from the Edge</album>
    <artist>James Arthur</artist>
    <canSeek>1</canSeek>
    <currentImage>
    http://i.scdn.co/image/2efcd08e635499fc5cb5b17716090bcea82e418b
    </currentImage>
    <cursor>43</cursor>
    <image>
    http://i.scdn.co/image/2efcd08e635499fc5cb5b17716090bcea82e418b
    </image>
    <indexing>0</indexing>
    <mid>0</mid>
    <mode>1</mode>
    <pid>26</pid>
    <prid>0</prid>
    <repeat>2</repeat>
    <service>Capture</service>
    <serviceIcon>/Sources/images/SpotifyIcon.png</serviceIcon>
    <shuffle>0</shuffle>
    <sid>11</sid>
    <sleep/>
    <song>0</song>
    <state>stream</state>
    <stationImage>/Sources/images/SpotifyIcon.png</stationImage>
    <streamUrl>Capture:spotify:spotify_pcm01:pcm/44100/16/2/4</streamUrl>
    <syncStat>315</syncStat>
    <title1>Can I Be Him</title1>
    <title2>James Arthur</title2>
    <title3>Back from the Edge</title3>
    <totlen>246.88</totlen>
    <volume>6</volume>
    <secs>33</secs>
    </status>

    The XML when its paused:

    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <status etag="f4a0c0ba96c891ccd61a875cba9abd3d">
    <actions>
    <action name="back" url="/Action?service=Spotify&action=Previous"/>
    <action name="skip" url="/Action?service=Spotify&action=Next"/>
    <action androidAction="android.intent.action.VIEW" androidPackage="com.spotify.music" desktopApp="spotify:open" desktopInstall="https://spotify.com/download" icon="/Sources/images/SpotifyIcon.png" iosApp="spotify:open" itunesUrl="https://itunes.apple.com/ex/app/spotify/id324684580" name="contextMenuItem" text="Open Spotify app"/>
    </actions>
    <album>Back from the Edge</album>
    <artist>James Arthur</artist>
    <canSeek>1</canSeek>
    <currentImage>
    http://i.scdn.co/image/2efcd08e635499fc5cb5b17716090bcea82e418b
    </currentImage>
    <cursor>43</cursor>
    <image>
    http://i.scdn.co/image/2efcd08e635499fc5cb5b17716090bcea82e418b
    </image>
    <indexing>0</indexing>
    <mid>0</mid>
    <mode>1</mode>
    <pid>26</pid>
    <prid>0</prid>
    <repeat>2</repeat>
    <service>Capture</service>
    <serviceIcon>/Sources/images/SpotifyIcon.png</serviceIcon>
    <shuffle>0</shuffle>
    <sid>11</sid>
    <sleep/>
    <song>0</song>
    <state>pause</state>
    <stationImage>/Sources/images/SpotifyIcon.png</stationImage>
    <streamPaused>1</streamPaused>
    <streamUrl>Capture:spotify:spotify_pcm01:pcm/44100/16/2/4</streamUrl>
    <syncStat>315</syncStat>
    <title1>Can I Be Him</title1>
    <title2>James Arthur</title2>
    <title3>Back from the Edge</title3>
    <totlen>246.88</totlen>
    <volume>6</volume>
    <secs>43</secs>
    </status>
    This is my flow, and while the music is playing, it returns TRUE, while i expect false.


  • @quakerix I'll have a look at it soon.
  • Latest version - 2018-06-09 -- v1.2.3

    • FIX: fix the is (not) playing condition card
  • Phuturist said:

    Latest version - 2018-06-09 -- v1.2.3

    • FIX: fix the is (not) playing condition card
    Awesome, i'll probably notice when the app is automatically updated. Because then if movement takes place in the house and music is playing it doesn't freeze for a millisecond because this flow gets executed.
  • Athom is switching to a new forum, read the announcement here.

    This support thread will be continued here: https://community.athom.com/t/121  
This discussion has been closed.