REW Rest API not in 5.30 build

ewfwfewfwef

Registered
Thread Starter
Joined
Dec 26, 2023
Posts
9
Hi - I want to try out the REST api thats mentioned here in the beta documentation

betahelp/help_en-GB/html/api.html

but in testing the latest 5.30 build if I add the -api command line parameter it says "Api not supported in this build"

There does not seem to be any other beta builds available?

Am I missing something?

thanks
 
NB I couldnt paste full url but its www dot roomeqwizard dot com /betahelp/help_en-GB/html/api.html
 
Ah OK that makes sense then, do you know what the plans are on timescales for a build including them? Thanks
 
@John Mulcahy thanks yes I have the api working - I only really wanted to be able to read the current SPL level (as shown in the SPL meter)

is it correct that you need a pro licence to read that?

I am doing a HTTP Post to /measure/command

{
"command": "SPL"
}
 
ah ok thanks - got that working - it only seems to send one event to the subscription

{"unit":"SPL","rms":[59.386411237528165],"peak":[66.70078580605418],"timeSpanSeconds":0.17066666666666666}

should it keep sending it periodically?

Also is an endpoint for the SPL meter planned?
 
Yes, there will be an endpoint for the SPL meter.

Per the help, if you don't acknowledge the subscription message the subscription will be cancelled.
 
yes I am sending a HTTP 200 but perhaps its in slightly the wrong format - I'll check in fiddler. thanks
 
The code is the only thing checked, any 2XX code will be accepted. Timeout for response is 1 second. I'll add error messages to the Application error log if a subscription is removed due to timeout or error.
 
Back
Top