Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
setAudioVolume "-N" on SRS-ZR5 is broken?
-
Hi!
Model Name: SRS-ZR5
Firmware Version: 6.34.6340Related problem?
https://forum.developer.sony.com/topic/384/setaudiovolume-n-not-working-on-str-dn860So I have 5 of these and this is the same atleast on 2 of the speakers with same firmware. Don't want to test all of them
Tested with windows curl (syntax a bit different) and postman. The compose and preview of this also messes abit with the syntax used but the commands are going through fine.
Changes in volume level can also be confirmed with the Music Center app.
EDIT: Also own a HT-ZF9 and same commands work fine with that. The +N -N etc to change volume level.
So 3 problems:
First example:
Starting volume is 10. Send +1 command. Command OK. Actual volume changed to 1.
C:>curl -i --data-ascii "{"method":"getVolumeInformation","id":33,"params":[{"output":""}],"version":"1.1"}" http://<SpeakerIP>:54480/sony/audio
HTTP/1.1 200 OK Connection: close Content-Length: 87 {"result":[[{"volume":10,"maxVolume":50,"minVolume":0,"step":1,"mute":"off"}]],"id":33}
C:>curl -i --data-ascii "{"method":"setAudioVolume","id":98,"params":[{"volume":"+1","output":""}],"version":"1.1"}" http://<SpeakerIP>:54480/sony/audio
HTTP/1.1 200 OK Connection: close Content-Length: 21 {"result":[],"id":98}
C:>curl -i --data-ascii "{"method":"getVolumeInformation","id":33,"params":[{"output":""}],"version":"1.1"}" http://<SpeakerIP>:54480/sony/audio
HTTP/1.1 200 OK Connection: close Content-Length: 86 {"result":[[{"volume":1,"maxVolume":50,"minVolume":0,"step":1,"mute":"off"}]],"id":33}
Second example:
Starting volume is 10. Send -1 command. Command OK. Actual volume changed to 39.
C:>curl -i --data-ascii "{"method":"getVolumeInformation","id":33,"params":[{"output":""}],"version":"1.1"}" http://<SpeakerIP>:54480/sony/audio
HTTP/1.1 200 OK Connection: close Content-Length: 87 {"result":[[{"volume":10,"maxVolume":50,"minVolume":0,"step":1,"mute":"off"}]],"id":33}
C:>curl -i --data-ascii "{"method":"setAudioVolume","id":98,"params":[{"volume":"-1","output":""}],"version":"1.1"}" http://<SpeakerIP>:54480/sony/audio
HTTP/1.1 200 OK Connection: close Content-Length: 21 {"result":[],"id":98}
C:>curl -i --data-ascii "{"method":"getVolumeInformation","id":33,"params":[{"output":""}],"version":"1.1"}" http://<SpeakerIP>:54480/sony/audio
HTTP/1.1 200 OK Connection: close Content-Length: 87 {"result":[[{"volume":39,"maxVolume":50,"minVolume":0,"step":1,"mute":"off"}]],"id":33}
Third example:
Starting volume is 10. Send setAudioVolume command. Command OK. Actual volume changed to 60?. maxVolume should be 50?
C:>curl -i --data-ascii "{"method":"getVolumeInformation","id":33,"params":[{"output":""}],"version":"1.1"}" http://<SpeakerIP>:54480/sony/audio
HTTP/1.1 200 OK Connection: close Content-Length: 86 {"result":[[{"volume":10,"maxVolume":50,"minVolume":0,"step":1,"mute":"off"}]],"id":33}
C:>curl -i --data-ascii "{"method":"setAudioVolume","id":98,"params":[{"volume":"60","output":""}],"version":"1.1"}" http://<SpeakerIP>:54480/sony/audio
HTTP/1.1 200 OK Connection: close Content-Length: 21 {"result":[],"id":98}
C:>curl -i --data-ascii "{"method":"getVolumeInformation","id":33,"params":[{"output":""}],"version":"1.1"}" http://<SpeakerIP>:54480/sony/audio
HTTP/1.1 200 OK Connection: close Content-Length: 87 {"result":[[{"volume":60,"maxVolume":50,"minVolume":0,"step":1,"mute":"off"}]],"id":33}
Any ideas?
-
Also
curl -i --data-ascii "{"method":"setPowerStatus","id":55,"params":[{"status":"standby"}],"version":"1.1"}" <DeviceIP>:54480/sony/system
Setting the ZR5 to standby does not work. Command OK but no effect.
Turning on with with same syntax but status:active works fine. -
This post is deleted! -
Hi @Svenkka-1,
For the first question that looks very random, unfortunatly I don't have a SRS-ZR5 close by to test, I'm pritty sure I tested it on a SRS-ZR5 and it worked then the problem was originaly disoverd, but since the command is not consisten I think most have stoped using the +/-N.
For the second if I remember correctly the SRS-ZR5 don't suport 'status': 'standby' so you have to use 'status': 'off'.