远程控制
逆变器的开关机控制,控制逆变器功能运作,不影响逆变器通讯功能
- 开机
- 关机
- 重启
- 设备校时
✨ 案例
开机
请求
curl --location -g '{{EU}}/wrapper/cmd/start?deviceSn=A112200162230146' \
--header 'Token: {{TOKEN}}'
响应
{
"errorCode": 0,
"info": null,
"body": true,
"successful": true
}
关机
请求
curl --location -g '{{EU}}/wrapper/cmd/stop?deviceSn=A112200162230146' \
--header 'Token: {{TOKEN}}'
响应
{
"errorCode": 0,
"info": null,
"body": true,
"successful": true
}
重启
请求
curl --location -g '{{EU}}/wrapper/cmd/restart?deviceSn=A112200162230146' \
--header 'Token: {{TOKEN}}'
响应
{
"errorCode": 0,
"info": null,
"body": true,
"successful": true
}
设备校时
您可以通过传递一个GMT时区区域标识符来对该设备进行校时。 哪里可以找到我的时区标识符?
请求
curl --location -g '{{EU}}/wrapper/cmd/setTime?deviceSn=A112200162230146' \
--header 'Token: {{TOKEN}}' \
--header 'Content-Type: application/json' \
--data '{
"timeZone": "Asia/Kolkata"
}'
响应
{
"errorCode": 0,
"info": null,
"body": true,
"successful": true
}