Stereo Tool
https://forums.stereotool.com/

External control via web interface?
https://forums.stereotool.com/viewtopic.php?f=4&t=30435
Page 1 of 1

Author:  kthelen [ Sun Apr 04, 2021 7:34 am ]
Post subject:  External control via web interface?

I'm looking to turn the FM stereo generator on/off externally. (The idea is, my automation should be able to call a script to disable the stereo generator just prior to airing long-form mono programming, then enable it again once said programming has finished airing.)

Seems to me this might be possible via the web interface. I was hoping to see that it could be done via a simple HTTP GET or POST request, but everything seems to be done in JavaScript, a language in which I'm not fluent.

I gather there's some sort of XML-based exchange happening between Stereo Tool and the web-based GUI, but so far have been unable to figure out how it works.

Anybody done something similar to this before? If so, any suggestions?


--Keith

Author:  janne [ Mon Apr 05, 2021 10:50 am ]
Post subject:  Re: External control via web interface?

Keith, you can do it with this command:

http://[YOUR_ST_IP_ADDRESS_HERE]:8080/json-1/update{"113":{"new_value":"0"}}

Where values are
0 = Encode Stereo NO
1 = Encode Stereo YES

BR,
Janne

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/