Query the device protocol
| parameter | description | required |
|---|---|---|
| action | queryDeviceDevcodes | true |
| plantid | power stationid, Power station owners must pass on | false |
| i18n | International language, seeSupport for multiple languages | true |
response:
| parameter | description | required |
|---|---|---|
| devcode | Device encoding | true |
| vendorAlias | Manufacturer alias | true |
| vendorName | manufacturers | true |
| desc | description | true |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"devcode":[
{
"devcode":656,
"vendorAlias":"GROWATT",
"vendorName":"Shenzhen Limited Company",
"desc":"Protocol V3.04"
}
]
}
}
possible error:
| Returns an error code | description | detailed description |
|---|---|---|
| 0x0006 | ERR_FORMAT_ERROR | format error |
| 0x0101 | ERR_NOT_FOUND_COLLECTOR | The data collector not found |
| 0x0102 | ERR_NOT_FOUND_DEVICE | device not found |