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

such as, request: http://api.dessmonitor.com/public/?sign=de05d205481d806778f49e65e8e7fa65d070ffb2&salt=1553340625732&token=34b66047872cc3598e83f7e235a030db15be5af0d807db5bb6b27479829b0303&action=querySPDevicesKeyParamYearPerMonth&parameter=load_energy_total&date=2019&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 querySPDevicesKeyParamYearPerMonth true
parameter Important parameters of the device true
devcode Important parameters of the device true
date The date to query, format: yyyy, The date is considered asdeviceThe time zone in which it is located, If you do not pass this parameter, it defaults to the year false
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

response:

parameter description required
option[x].val value true
option[x].gts time true
{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "option":[
            {
                "gts":"2019-01",
                "val":"0.0000"
            },
            {
                "gts":"2019-02",
                "val":"0.0000"
            },
            {
                "gts":"2019-03",
                "val":"0.0000"
            },
            {
                "gts":"2019-04",
                "val":"0.0000"
            },
            {
                "gts":"2019-05",
                "val":"0.0000"
            },
            {
                "gts":"2019-06",
                "val":"0.0000"
            },
            {
                "gts":"2019-07",
                "val":"0.0000"
            },
            {
                "gts":"2019-08",
                "val":"0.0000"
            },
            {
                "gts":"2019-09",
                "val":"0.0000"
            },
            {
                "gts":"2019-10",
                "val":"0.0000"
            },
            {
                "gts":"2019-11",
                "val":"0.0000"
            },
            {
                "gts":"2019-12",
                "val":"0.0000"
            }
        ]
    }
}

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

results matching ""

    No results matching ""