Configuration of operating parameters
The operating parameters are usually of numeric type, Boolean type and option type. Please refer to Inverter Configurations for more information
✨ Example
Setting
Request
curl --location -g '{{EU}}/wrapper/cmd/set' \
--header 'Token: {{TOKEN}}' \
--data '{
"deviceSn": "A112200162230146",
"sendSettingItemList": [
{
"settingCode": "safetyCountry",
"value": "26"
}
]
}'
Response
{
"errorCode": 0,
"info": null,
"body": "65784c2e5535a66fd789eee6",
"successful": true
}
Verify the setting result
According to the Setting Response, poll and query the issued result. It is valid within one minute. If it is still not issued successfully after more than one minute, it is considered a failed issue.
Request
curl --location -g '{{EU}}/cmd/checkControlResult?recordId=65784c2e5535a66fd789eee6' \
--header 'Token: {{TOKEN}}'
Response
{
"errorCode": 0,
"info": null,
"body": {
"safetyCountry": {
"controlResult": true,
"currentValue": "10"
}
},
"successful": true
}