Hi
with the current development version you can update the configuration too.
As these are Admin commands you need to create an API Token under Network.
Replace "HyperionToken" in the command below via your token.
In case you are executing the command on a different host, replace localhost by the DNS or IP of the host Hyperion runs on.
You can query your current smoothing configuration via
curl -X POST -H 'Authorization: Bearer HyperionToken ' -i http://localhost:8090/json-rpc --data '{
"command": "config",
"subcommand": "getconfig",
"configFilter" : {
"global" : {
"types" : [""]
},
"instances" : {
"ids" : [],
"types" : [ "smoothing" ]
}
}
}'
Display More
Assume you would like to update the smoothing configuration for instance 0 you can achieve this by sending
curl -X POST -H 'Authorization: Bearer HyperionToken' -i http://localhost:8090/json-rpc --data '{
"command":"config",
"subcommand":"setconfig",
"config":{
"instances":[
{
"id":0,
"settings":{
"smoothing":{
"decay":1,
"dithering":false,
"enable":true,
"interpolationRate":25,
"time_ms":150,
"type":"linear",
"updateDelay":0,
"updateFrequency":25
}
}
}
]
}
}'
Display More
To test with the development version see here: https://docs.hyperion-project.org/user/advanced/Testing.html
Use PR1849