| Stereo Tool https://forums.stereotool.com/ |
|
| HTTP Commands https://forums.stereotool.com/viewtopic.php?t=35352 |
Page 1 of 1 |
| Author: | radiotelevision [ Wed Mar 04, 2026 10:46 pm ] |
| Post subject: | HTTP Commands |
Hello: I have a question. Is there still a way to change, activate, or deactivate parameters via HTTP (not a GUI)? I saw a post that mentioned how to activate and deactivate RDS TA using http://localhost:8080/121=0 (changing 0 and 1). I've tried it, but it doesn't work. More information on this would be greatly appreciated. Regards. |
|
| Author: | MrKlorox [ Thu Mar 05, 2026 12:01 am ] |
| Post subject: | Re: HTTP Commands |
What you want are commands via the JSON interface, and the documentation for it can be found under the MicroMPX documentation here: https://download.thimeo.com/MicroMPX_manual.pdf Gemini says this about the JSON Command Syntax: Quote: The general syntax for sending a command to a parameter (e.g., parameter 121) is:
Code: http://[IP]:[PORT]/json-1/list{"[ID]":{"new_value":"[VALUE]"}}
For parameter 121 (which typically refers to SCA1 Enable in Stereo Tool): To Activate (Enable): Code: http://127.0.0.1:8080/json-1/list%7B"121"%7B"new_value":"1"%7D%7DTo Deactivate (Disable): Code: http://127.0.0.1:8080/json-1/list%7B"121"%7B"new_value":"0"%7D%7D |
|
| Author: | radiotelevision [ Thu Mar 05, 2026 1:40 am ] |
| Post subject: | Re: HTTP Commands |
Thanks for the reply, but where can I find the list of parameters to modify via JSON? What a way to complicate things. |
|
| Author: | MrKlorox [ Thu Mar 05, 2026 2:42 am ] |
| Post subject: | Re: HTTP Commands |
Quote:
Thanks for the reply, but where can I find the list of parameters to modify via JSON?
The easiest would be to use the Web UI and "Inspect" the toggle or slider to see the Widget ID number. This number corresponds to the number in the JSON interface for the command you want to use.
Attachment: widgetID.png [ 76.28 KiB | Viewed 6367 times ] |
|
| Author: | radiotelevision [ Mon Mar 09, 2026 7:10 am ] |
| Post subject: | Re: HTTP Commands |
Thanks you MrKlorox for the info. Best regards.- |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|