Reputation: 23
My Device from getInterfaceInformation
{
"id": 33,
"result": [
{
"interfaceVersion": "4.0.0",
"modelName": "HT-CT800",
"productCategory": "homeTheaterSystem",
"productName": "Bar",
"serverName": ""
}
]
}
Firmware version is M39.R.0377
I tried use getSoundSettings
with
{
"method": "getSoundSettings",
"id": 73,
"params": [
{
"target": ""
}
],
"version": "1.1"
}
and it returns
{
"error": [
12,
"getSoundSettings"
],
"id": 73
}
also use getSupportedApiInfo
still return
{
"error": [
12,
"getSupportedApiInfo"
],
"id": 5
}
These methods work:
Upvotes: 2
Views: 97
Reputation: 171
Make sure you are using the correct path http://{{IP}}:{{port}}/sony/{{lib}}
for the method you are calling for "getSoundSettings" it should be http://{{IP}}:{{port}}/sony/audio
and for "getSupportedApiInfo" it should be http://{{IP}}:{{port}}/sony/guide
.
You find the lib for each method listed in the API reference https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2
Upvotes: 2