Hi all,
I’m trying to set a parameter value by nbi, get no error but parameter was not set, that’s how I’m doing:
const params = [["InternetGatewayDevice.LANDevice.1.Wifi.NeighboringWiFiDiagnostic.DiagnosticsState", "Requested", "xsd:string"]],
const opt = {
method: "POST",
headers: {
"Content-Type": "application/json",
//"x-api-key": nbiToken,
},
body: JSON.stringify({
name: "setParameterValues",
parameterValues: params,
}),
}
const requestChangeParams= await fetch('http://{HOST}/devices/{DEVICE-ID}/tasks?connection_request', opt)
I did the same way for other parameters and it worked
Any susgestion what’s wrong?