Sorry don't know how to do this, the API documentation for Sony TV is found here https://pro-bravia.sony.net/develop/index.html hope it helps you.
Group Details Private
RE: Can I open a Youtube video (link) by IP simple control/IRCC
RE: Getting written permission from Sony
@JK122 we can't really help you with the TV API since we are not supporting it. And I can't say if it will work or not using this written permission, the permission is for the Audio Control API.
(but I would give it a try, fill in the form, read it and decide if you think it is worth a try. You never know until you try)
RE: setAudioVolume "-N" not working on STR-DN860
We had what same result in earlier versions of the firmware for STR-DN1080 also, but I believe that is fixed for that receiver (don't have the possibility to test right now). Looks like the firmware for STR-DN860 is not updated since then (I don't know if the firmware will be updated for STR-DN860).
RE: Receiver randomly returning Error 12
No, I can't say that I have seen this before then I get a error 12 it has been my fault. @grolschie you have probably used the API more than me at this point...
And random errors are the worst, do you resend you messages if you get an error?
Two new compatible Sony devices are now available!
We are excited to announce that two new Sony devices have been added to support Sony’s Audio Control API, the premium wireless speakers SRS-RA3000 and SRS-RA5000.
Read more about it here.