Query the annual data of important parameters of energy storage equipment under the same protocol as the user

such as, request: http://api.dessmonitor.com/public/?sign=2801aae62682d444defdfaf27b5230c7ff138236&salt=1553342825211&token=b40daa4511a2021a2c724b4be3b554739534a7e701ca91f2649b5f2081a13ff1&action=querySPDevicesKeyParamTotalPerYear&parameter=load_energy_total&devcode=2337&source=1&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

notice:Only power station owner accounts are supported
parameter description required
action querySPDevicesKeyParamTotalPerYear true
parameter Important parameters of the device true
devcode Device protocol true

response:

parameter description required
option[x].val value true
option[x].gts time true
Pass in important parameters for the device:
parameter description
BATTERY_ENERGY_TOTAL_DISCHARGE Total battery discharge
BATTERY_ENERGY_TOTAL_CHARGE Total battery charge
LOAD_ENERGY_TOTAL Total load power consumption
ENERGY_TOTAL_TO_GRID The total grid-connected electricity
ENERGY_TOTAL_FROM_GRID Total electricity consumption of the grid
ENERGY_TOTAL Total photovoltaic power generation
{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "option":[
            {
                "gts":"2018",
                "val":"0.0000"
            },
            {
                "gts":"2019",
                "val":"56.4000"
            }
        ]
    }
}

possible impacts:

Returns an error code description detailed description
0x0006 ERR_FORMAT_ERROR format error,parameter error
0x0007 ERR_MISSING_PARAMETER The necessary parameters are missing
0x0102 ERR_NOT_FOUND_DEVICE device not found
0x000C ERR_NO_RECORD no records

results matching ""

    No results matching ""