Query the detailed data of important parameters of energy storage equipment on a certain day

such as, request: http://api.dessmonitor.com/public/?sign=7f220b6f21d0b52d0452d9c66ffe1f4f84635b81&salt=2337424845041575962&token=91a6c87e89acbfb2fa482f3b02ee071ee58ea0293dd92f243a88ee51415f497f&action=querySPDeviceKeyParameterOneDay&pn=J1817101731142&devcode=752&devaddr=1&sn=687484400018&i18n=zh_CN&source=1&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

parameter description required
action querySPDeviceKeyParameterOneDay true
pn Digital collector number true
devcode Device protocol encoding true
devaddr Device Address (485 bus) true
sn Device serial number true
parameter Important parameters of the device true
date The date to query, format: yyyy-MM-dd, The date is considered asper projectThe time zone in which it is located, If you do not pass this parameter, it defaults to today false
Pass in important parameters for the device:
parameter description
BATTERY_ACTIVE_POWER Battery power
BT_BATTERY_CAPACITY Battery capacity
PV_OUTPUT_POWER Photovoltaic power generation
GRID_ACTIVE_POWER Grid power
LOAD_ACTIVE_POWER Load power

response:

parameter description required
detail[x].val Important parameter The value of a moment in time true
detail[x].gts time, format: yyyy-MM-dd HH:mm:ss true
{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "detail":[
            {
                "val":"0.0000",
                "ts":"2018-01-19 00:00:21"
            },
            {
                "val":"0.0000",
                "ts":"2018-01-19 00:00:21"
            },
            {
                "val":"0.0000",
                "ts":"2018-01-19 00:00:21"
            }
        ]
    }
}

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
0x000C ERR_NO_RECORD no records

results matching ""

    No results matching ""