Problem with Bluesound IP control
Posted: Sun Oct 17, 2021 10:14 pm
I am trying to control a Bluesound Node 2, the API documentation says
"All the requests described in this document are sent as HTTP GET requests. The parameters are a standard URL
encoded name/value pair. BluOS players receive these commands and then respond with UTF-8 encoded XML
data.
All requests are in the form of http://<player_ip>:<port>/<request> where:
• player_ip is the IP address of the BluOS player (e.g., 192.168.1.100)
• port is the TC port used for communications. Port 11000"
I have set up a new device as generic IP device, port 11000, with UDP not ticked and command suffix \x0D\X0A
I have tried various commands but without success
GET /Preset?id=1 HTTP/1.0 does not work but if I use Hercules the command works
"Connecting to 192.168.1.42 ...
Connected to 192.168.1.42
GET /Preset?id=1 HTTP/1.0
HTTP/1.0 200 ok
Connection: close
Access-Control-Allow-Origin: *
Content-Length: 78
Cache-Control: max-age=0
Content-Type: text/xml; charset=utf-8
Date: Sun, 17 Oct 2021 21:06:16 GMT
Expires: Sun, 17 Oct 2021 21:06:16 GMT
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<state>stream</state>
Connection closed"
Can anyone see what I am doing wrong?
"All the requests described in this document are sent as HTTP GET requests. The parameters are a standard URL
encoded name/value pair. BluOS players receive these commands and then respond with UTF-8 encoded XML
data.
All requests are in the form of http://<player_ip>:<port>/<request> where:
• player_ip is the IP address of the BluOS player (e.g., 192.168.1.100)
• port is the TC port used for communications. Port 11000"
I have set up a new device as generic IP device, port 11000, with UDP not ticked and command suffix \x0D\X0A
I have tried various commands but without success
GET /Preset?id=1 HTTP/1.0 does not work but if I use Hercules the command works
"Connecting to 192.168.1.42 ...
Connected to 192.168.1.42
GET /Preset?id=1 HTTP/1.0
HTTP/1.0 200 ok
Connection: close
Access-Control-Allow-Origin: *
Content-Length: 78
Cache-Control: max-age=0
Content-Type: text/xml; charset=utf-8
Date: Sun, 17 Oct 2021 21:06:16 GMT
Expires: Sun, 17 Oct 2021 21:06:16 GMT
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<state>stream</state>
Connection closed"
Can anyone see what I am doing wrong?