支持远程维护版本
CE-1006
WIFI-1007
4G-1005
升级bin文件或者模板文件存放至安全用电服务器
ftp:121.196.207.228
端口:50000
账号:zhangzy 密码:Acrel)(*&^
网关在线升级
/server/acrelHW/AWT100/ota/02121090700028
{
"type": "ota",
"time": "20200709130030",
"gwSN": "02121090700028",
"url": "http://safe.acrelcloud.cn/webinfo/file/1844_APP_1009.bin",
"fwsize": 98520
}
网关模板在线升级
/server/acrelHW/AWT100/metermodel/12207144500003
{
"type": "metermodel",
"time": "20200709130030",
"gwSN": "12207144500003",
"SerialNumber": 1,
"url": "http://safe.acrelcloud.cn/webinfo/file/APM830.csv",
"fwsize": 669
}
/server/acrelHW/AWT100/metermodel/12206202600003
{
"type": "metermodel",
"time": "20200709130030",
"gwSN": "12206202600003",
"SerialNumber": 1,
"url": "http://safe.acrelcloud.cn/webinfo/file/ACR10R4_V1.1.csv",
"fwsize": 629
}
/server/acrelHW/AWT100/metermodel/12201113530002
{
"type": "metermodel",
"time": "20200709130030",
"gwSN": "12201113530002",
"SerialNumber": 1,
"url": "http://safe.acrelcloud.cn/webinfo/file/ADL100_do.csv",
"fwsize": 589
}
远程重启
/server/acrelHW/AWT100/restart/02121090700028
{
"type": "restart",
"time": "20200709130030",
"gwSN": "02121090700028",
"restartDelay": "0"
}
远程修改ip
/server/acrelHW/AWT100/gwConfigInfo/01234567890123
{
"type": "gwConfigInfo",
"time": "20220709130030",
"gwSN": "01234567890123",
"gwName": "AWT100",
"ipAdd1": "47.96.11.156",
"port1": 30001,
"apn": "",
"apnUser": "",
"apnPass": "",
"mqttQos": 0,
"mqttHeart": 2,
"upInterval": 5
}
修改成功后需要远程重启
模板信息召回
1.服务端使用Topic /server/acrelHW/{product}/callmodel/{sn}
发出消息,消息格式如下:
{
"type": "callmodel",
"time": "20200709130030",
"gwSN": "00000000000000",
"Number": 1
}
2.设备使用Topic /gw/acrelHW/{product}/metertopology/{sn}
进行响应,消息格式如下:
{
"type": "callmodel",
"time": "20221121130725",
"gwSN": "test2022092901",
"Name": "111",
"Offest": "0x0000",
"Type": "serial",
"Para": "ua,0x0200,uint0.01;ub,0x022e,uint0.01;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;,0x0000,null;"
}
参数 | 说明 |
---|---|
Number | 模板序号(取值1~4) |
Name | 模板名称 |
Offest | 回路偏移量 |
Type | 抄表方式,serial序列号,address地址 |
Para | 电参量格式为(名称),(寄存器地址),(数据类型); |
24 五月 2024