All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: HTTP Commands
PostPosted: Wed Mar 04, 2026 10:46 pm 

Joined: Wed Dec 10, 2025 5:07 am
Posts: 9
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.

_________________
Audio Processing Test
((( RadioFM )))


Top
   
 Post subject: Re: HTTP Commands
PostPosted: Thu Mar 05, 2026 12:01 am 
User avatar

Joined: Sun Dec 23, 2018 7:44 pm
Posts: 1054
Location: Texas, USA
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%7D
To Deactivate (Disable):
Code:
http://127.0.0.1:8080/json-1/list%7B"121"%7B"new_value":"0"%7D%7D

_________________
NB: I'm not a professional, just a hobbyist, and as such I could be wrong. If so, please, somebody correct me.


Top
   
 Post subject: Re: HTTP Commands
PostPosted: Thu Mar 05, 2026 1:40 am 

Joined: Wed Dec 10, 2025 5:07 am
Posts: 9
Thanks for the reply, but where can I find the list of parameters to modify via JSON?

What a way to complicate things.

_________________
Audio Processing Test
((( RadioFM )))


Top
   
 Post subject: Re: HTTP Commands
PostPosted: Thu Mar 05, 2026 2:42 am 
User avatar

Joined: Sun Dec 23, 2018 7:44 pm
Posts: 1054
Location: Texas, USA
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
widgetID.png [ 76.28 KiB | Viewed 6371 times ]

_________________
NB: I'm not a professional, just a hobbyist, and as such I could be wrong. If so, please, somebody correct me.


Top
   
 Post subject: Re: HTTP Commands
PostPosted: Mon Mar 09, 2026 7:10 am 

Joined: Wed Dec 10, 2025 5:07 am
Posts: 9
Thanks you MrKlorox for the info.

Best regards.-

_________________
Audio Processing Test
((( RadioFM )))


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited