Query the device data details of an important parameter on a specific day

such as, request: http://api.dessmonitor.com/public/?sign=45a0317337cad1b975b7cc8e6ae35401daa5c356&salt=6799118618252297881&token=5b13e18eaa179d4bdce4cf2cc0e66eaa506c7f27ccac6b9e7beaa190ec0e386f&action=queryDeviceKeyParameterOneDay&pn=J1817101731142&devcode=752&devaddr=1&sn=687484400018&parameter=WIND_SPEED&date=2017-04-05&source=1&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

parameter description required
action queryDeviceKeyParameterOneDay true
pn Digital collector number true
devcode Device protocol encoding true
devaddr Device Address (485 bus) true
sn Device serial number true
parameter The parameter to query, seeImportant parameters of the device true
date The date to query, format: yyyy-mm-dd, The date is considered the time zone of the device true

response:

parameter description required
parameter[x].val The value of the parameter, Standardized units true
parameter[x].ts When the parameter value was generated (the time zone of the device), format: yyyy-mm-dd hh:mi:ss true
{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "parameter":[
            {
                "val":"29.0001",
                "ts":"2016-12-31 06:10:10"
            },
            {
                "val":"30.0001",
                "ts":"2016-12-31 06:15:10"
            }
        ]
    }
}

possible error:

Returns an error code description detailed description
0x0006 ERR_FORMAT_ERROR parameter error
0x0007 ERR_MISSING_PARAMETER The necessary parameters are missing
0x000C ERR_NO_RECORD No record (no data for the device)
0x0102 ERR_NOT_FOUND_DEVICE device not found

results matching ""

    No results matching ""