Dec 16, 2016
I'm start with APi and I need your help guys.
How to use KEY_VALUE ?
Is this right when I use: http://myip:8090/PRESET_1 (return error)
I don't understand how to use it.
Thanks for the help
Dec 31, 2016
Feb 15, 2017
What would you like to know? I don't think they are hidding anything, its all out there in their documentation, just in a private conversation they will be able to judge how much the person understands about the protocol.
The API works via XML websockets, whilst in most modern browsers you can display the results of the API as they handle the XML response, to send data you need to use a websocket and an XML payload.
To set press a Preset button in the API you need to use the function /key, /presets will just return the current set pressets, its all in the documentation to be fair, have you read it?
So in short to set the Preset to Preset 1, you would send the following XML payload:
Recipient : http://speakerIP:8090/key
Data : <key state ="press" sender="Gabbo">PRESET_1</key>
Sep 2, 2014
Note: This message is from Zach Rose, our product manager focused on our public API's and developer relations.
I wanted to chime in briefly here – We definitely acknowledge that supporting the API via community would be a great thing. In fact, we do have something in the works on this front – as per usual, can’t share details or timelines just yet, but I think you’ll be excited when we can!
In the meantime, it’s certainly fine to post here with questions regarding the API, where the broader community can help (Thanks, @mattius!). However, from a practical perspective right now, we’ll be able to respond most quickly if you email questions to SoundTouchAPI@bose.com, which is why we encourage that mechanism for API support at the moment.
Finally, I answered a few other API specific questions over on this thread HERE, in case you are interested.