Query important parameters of the Device for a certain year's data

for example: http://api.shinemonitor.com/public/?sign=7f220b6f21d0b52d0452d9c66ffe1f4f84635b81&salt=2337424845041575962&token=91a6c87e89acbfb2fa482f3b02ee071ee58ea0293dd92f243a88ee51415f497f&action=queryDeviceKeyParameterYear&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

Parameter Description Required
action queryDeviceKeyParameterYear True
pn Datalogger number True
devcode Device protocol code True
devaddr Device address (485 bus) True
sn Device serial number True
parameter Parameters to query, refer to Important Device parameters True
date Date to query , format: yyyy-mm True

response:

Parameter Description Required
info Data of important Device parameters for a certain year True
{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "info":[{
                "par":"apparent_power",
                "val":"12.0000"
            }
        ]
    }
}

Possible errors:

Response error code Description Details
0x0006 ERR_FORMAT_ERROR Parameter
0x0007 ERR_MISSING_PARAMETER Missing necessary parameters
0x000C ERR_NO_RECORD No record (the Device has no data)
0x0102 ERR_NOT_FOUND_DEVICE Device not found
Copyright © eybond 2022 all right reserved,powered by Gitbook文档更新时间: 2023-07-18 10:34:26

results matching ""

    No results matching ""