Time group parameters
The time group parameters are issued as a separate item because they need to be issued as a group to take effect.
- Charge and discharge time groups, a total of six groups
- Charge and discharge selection
- Charge mode selection. Select the charge option to take effect
- Start time
- End time
- Load management time groups, a total of three groups
- Start time, format hh:mm
- End time, format hh:mm
✨ Example
Time Group Settings
First Group Charge and Discharge Time Group Settings Request
curl --location -g '{{EU}}/wrapper/cmd/timearray/battery/set' \
--header 'Token: {{TOKEN}}' \
--data '{
"deviceSn": "A112200162230146",
"timeArray": {
"timeArrayId": 1,
"enable": true,
"chargeDischargeSelection": 1,
"chargingModeSelection": 1,
"powerLimitation": 30,
"startTime": "08:00",
"endTime": "10:59"
}
}'
Response
{
"errorCode": 0,
"info": null,
"body": "657be08d005c7c29b67a596c",
"successful": true
}
Verify the setting result
According to the issued 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}}/wrapper/cmd/timearray/battery/check?recordId=657be08d005c7c29b67a596c' \
--header 'Token: {{TOKEN}}'
Response
{
"errorCode": 0,
"info": null,
"body": true,
"successful": true
}