Energy storage dealers add data collectors
| parameter | description | required |
|---|---|---|
| action | distAddCollectorEs | true |
| pn | Digital collector number | true |
| alias | Data collector alias | false |
| address.country | Power station address, country | false |
| address.province | Power station address, province | false |
| address.city | Power station address, city | false |
| address.county | Power station address, county | false |
| address.town | Power station address, Township (district) | false |
| address.village | Power station address, Village (Subdistrict) | false |
| address.address | Power station address, detail address, Maximum length 64 | false |
| address.lon | Power station address, longitude, Standardized units | false |
| address.lat | Power station address, latitude, Standardized units | false |
| timezone | Power station address, Time Zone (seconds), Such as East 8th District: 28800. Once the time zone is specified, it cannot be changed。See the time zone at the bottom for details | true |
| profit.unitProfit | Power station revenue, Revenue per kWh of electricity generated | false |
| profit.currency | Power station revenue, Currency symbol | false |
| profit.currencyCountry | Power station revenue, ISO currency symbol (country) | false |
| profit.nominalPower | Power station design power, Standardized units | false |
| profit.buyProfit | Buy electricity prices | false |
| profit.sellProfit | Selling electricity at a price | false |
response: no text
{
"err":0,
"desc":"ERR_NONE"
}
possible error:
| Returns an error code | description | detailed description |
|---|---|---|
| 0x0001 | ERR_FAIL | fail |
| 0x0007 | ERR_MISSING_PARAMETER | The necessary parameters are missing |
| 0x0401 | ERR_OLNY_SUPPORT_DIST | Only resellers are supported |
| 0x020A | ERR_COLLECTOR_EXISTED | The added collector already exists |
| 0x0103 | ERR_INVALID_PN | Invalid data collector number |
| 0x0111 | ERR_NOT_SUPPORT_ADD_OTHER_VCODE_COLLECTOR | Adding data collectors from other manufacturers is not supported |