Device control
The power on/off control of the inverter, which controls the operation of the inverter's functions without affecting its communication function.
- Start
- Stop
- Restart
- Calibrate time
✨ Example
Start
Request
curl --location -g '{{EU}}/wrapper/cmd/start?deviceSn=A112200162230146' \
--header 'Token: {{TOKEN}}'
Response
{
"errorCode": 0,
"info": null,
"body": true,
"successful": true
}
Stop
Request
curl --location -g '{{EU}}/wrapper/cmd/stop?deviceSn=A112200162230146' \
--header 'Token: {{TOKEN}}'
Response
{
"errorCode": 0,
"info": null,
"body": true,
"successful": true
}
Restart
Request
curl --location -g '{{EU}}/wrapper/cmd/restart?deviceSn=A112200162230146' \
--header 'Token: {{TOKEN}}'
Response
{
"errorCode": 0,
"info": null,
"body": true,
"successful": true
}
Calibrate device time
You can calibrate the time of the device by passing a GMT time zone identifier. How do I know which time zone identifier to use?
Request
curl --location -g '{{EU}}/wrapper/cmd/setTime?deviceSn=A112200162230146' \
--header 'Token: {{TOKEN}}' \
--header 'Content-Type: application/json' \
--data '{
"timeZone": "Asia/Kolkata"
}'
Response
{
"errorCode": 0,
"info": null,
"body": true,
"successful": true
}