Our Logitech Squeezeboxes gave us years of pleasure, and they integrated well with HS2 and HS3 thanks to the excellent plugin. We recently replaced them with 4 Bluesound speakers which produce a great quality sound - but without any HS3 integration.
I was disappointed but figured that sound quality had to be the top concern for a sound system and HS3 integration would have to wait. I supposed that I would be able to crudely use the Bluesound’s built-in alarms to wake us up in the morning and the more advanced actions would have to follow along if and when someone smarter than me created a plugin.
Then, after much googling, I came across a post on another forum which showed a really easy way to achieve what I wanted. So this is all thanks to bruce_miranda on the Bluesound forum.
It seems you don’t actually need anything as smart as a plugin. All you need to do is find out the IP address of your speaker and send it a simple HTTP request at port 11000. So, if your speaker is at 192.168.1.123, and you want it to start playing you just send the request
http://192.168.1.123:11000/Play
I tried it in my browser and was amazed that it worked. I’ve included a full list of commands at the end of this post. I figured that this method would be easier if the speakers’ IP addresses didn’t change so I told my router to fix and reserve the IP addresses.
In a HS3 script, the above HTTP request would be
&hs.GetURL("http://192.168.1.123","/Play",TRUE,11000)
and this could be used in a script or directly in an event action as ‘Execute immediate script command’. Using scripts you can make things as smart as you want. If you’re extra smart you can do things based on the XML response that Bluesound sends back to you, but that a bit advanced for me.
What follows is from bruce_miranda’s post (https://helpdesk.bluesound.com/discu...pic.php?t=2293). I haven’t tested them all and any feedback from HS3 users trying out their Bluesound speakers would be good. Enjoy!
Simple commands:
http://192.168.1.38:11000/Pause
http://192.168.1.38:11000/Play
http://192.168.1.38:11000/Skip
http://192.168.1.38:11000/Back
Commands can take other variables too.
http://192.168.1.38:11000/Play?id=0 (play 1st song from playlist)
http://192.168.1.38:11000/Play?seek=60 (jump to 60th second in the playing track)
http://192.168.1.38:11000/Volume?level=0 (value is % so 0 is mute or -91db and 100 is full volume or 0db)
http://192.168.1.38:11000/Repeat?state=0 (different repeat states 0,1,2)
http://192.168.1.38:11000/Shuffle?state=0 (different repeat states 0,1)
The controllers seem to issue the following commands every second alternatively to get their status.
http://192.168.1.38:11000/SyncStatus
http://192.168.1.38:11000/Status
And then using the returned values of those commands they do other stuff like get the Artwork for the song playing.
http://192.168.1.38:11000/Artwork?se...album=&artist= (insert album and artist name in the URL)
Grouping and Ungrouping of players are done with the
http://192.168.1.38:11000/AddSlave?s...Study%20Player (Study Player is the group name)
http://192.168.1.38:11000/RemoveSlav...e=192.168.1.41
You can get the list of Services that the player can use using
http://192.168.1.38:11000/Services
Or browse through the Radio Service using
http://192.168.1.38:11000/RadioBrowse
Jump to
http://192.168.1.38:11000/Playlists
http://192.168.1.38:11000/Genres?service=LocalMusic (Library)
http://192.168.1.38:11000/RadioBrowse?service=TuneIn (TuneIn Radio)
This command appears to provide a list of all the Inputs
http://192.168.1.38:11000/RadioBrowse?service=Capture
Then you can switch to them using
http://192.168.1.38:11000/Play?url=C.../inputIcon.png (Optical Input)
http://192.168.1.38:11000/Play?url=C...etoothIcon.png (Bluetooth Input)
I was disappointed but figured that sound quality had to be the top concern for a sound system and HS3 integration would have to wait. I supposed that I would be able to crudely use the Bluesound’s built-in alarms to wake us up in the morning and the more advanced actions would have to follow along if and when someone smarter than me created a plugin.
Then, after much googling, I came across a post on another forum which showed a really easy way to achieve what I wanted. So this is all thanks to bruce_miranda on the Bluesound forum.
It seems you don’t actually need anything as smart as a plugin. All you need to do is find out the IP address of your speaker and send it a simple HTTP request at port 11000. So, if your speaker is at 192.168.1.123, and you want it to start playing you just send the request
http://192.168.1.123:11000/Play
I tried it in my browser and was amazed that it worked. I’ve included a full list of commands at the end of this post. I figured that this method would be easier if the speakers’ IP addresses didn’t change so I told my router to fix and reserve the IP addresses.
In a HS3 script, the above HTTP request would be
&hs.GetURL("http://192.168.1.123","/Play",TRUE,11000)
and this could be used in a script or directly in an event action as ‘Execute immediate script command’. Using scripts you can make things as smart as you want. If you’re extra smart you can do things based on the XML response that Bluesound sends back to you, but that a bit advanced for me.
What follows is from bruce_miranda’s post (https://helpdesk.bluesound.com/discu...pic.php?t=2293). I haven’t tested them all and any feedback from HS3 users trying out their Bluesound speakers would be good. Enjoy!
Simple commands:
http://192.168.1.38:11000/Pause
http://192.168.1.38:11000/Play
http://192.168.1.38:11000/Skip
http://192.168.1.38:11000/Back
Commands can take other variables too.
http://192.168.1.38:11000/Play?id=0 (play 1st song from playlist)
http://192.168.1.38:11000/Play?seek=60 (jump to 60th second in the playing track)
http://192.168.1.38:11000/Volume?level=0 (value is % so 0 is mute or -91db and 100 is full volume or 0db)
http://192.168.1.38:11000/Repeat?state=0 (different repeat states 0,1,2)
http://192.168.1.38:11000/Shuffle?state=0 (different repeat states 0,1)
The controllers seem to issue the following commands every second alternatively to get their status.
http://192.168.1.38:11000/SyncStatus
http://192.168.1.38:11000/Status
And then using the returned values of those commands they do other stuff like get the Artwork for the song playing.
http://192.168.1.38:11000/Artwork?se...album=&artist= (insert album and artist name in the URL)
Grouping and Ungrouping of players are done with the
http://192.168.1.38:11000/AddSlave?s...Study%20Player (Study Player is the group name)
http://192.168.1.38:11000/RemoveSlav...e=192.168.1.41
You can get the list of Services that the player can use using
http://192.168.1.38:11000/Services
Or browse through the Radio Service using
http://192.168.1.38:11000/RadioBrowse
Jump to
http://192.168.1.38:11000/Playlists
http://192.168.1.38:11000/Genres?service=LocalMusic (Library)
http://192.168.1.38:11000/RadioBrowse?service=TuneIn (TuneIn Radio)
This command appears to provide a list of all the Inputs
http://192.168.1.38:11000/RadioBrowse?service=Capture
Then you can switch to them using
http://192.168.1.38:11000/Play?url=C.../inputIcon.png (Optical Input)
http://192.168.1.38:11000/Play?url=C...etoothIcon.png (Bluetooth Input)
Comment