atess-server-openapi
    atess-server-openapi
    • Record
    • 1. the first step Authorization
    • 2.the seccond step add Plant
    • 3.the third step add DataLog
    • OpenAPI-BMS
      • Get base info of BCU
        GET
      • Get base info of BCU list
        GET
      • Get historical data of BCU
        GET
      • Get the latest real-time data of BCU
        GET
      • Get setting of BUC
        GET
      • Modify setting of BCU
        PUT
      • Get base info of MBMS
        GET
      • Get base info of MBMS list
        GET
      • Get historical data of MBMS
        GET
      • Get the latest real-time data of MBMS
        GET
      • Get setting of MBMS
        GET
      • Modify setting of MBMS
        PUT
    • OpenAPI-DataLog
      • Get DataLog
        GET
      • Add DataLog
        POST
      • Delete DataLog
        DELETE
      • Get DataLog list
        GET
    • OpenAPI-HPS
      • Get Central type base info of HPS
        GET
      • Get Central type base info of HPS list
        GET
      • Get historical data of Central type HPS
        GET
      • Get the latest real-time data of Central type HPS
        GET
      • Get setting of Central type HPS
        GET
      • Modify setting of Central type HPS
        PUT
      • Get String type base info of HPS
        GET
      • Get String type base info of HPS list
        GET
      • Get historical data of String type HPS
        GET
      • Get the latest real-time data of String type HPS
        GET
      • Get setting of String type HPS
        GET
      • Modify setting of String type HPS
        PUT
    • OpenAPI-PBD
      • Get base info of PBD
      • Get base info of PBD list
      • Get historical data of PBD
      • Get the latest real-time data of PBD
      • Get setting of PBD
      • Modify setting of PBD
    • OpenAPI-PCS
      • Get base info of PCS
      • Get base info of PCS list
      • Get historical data of PCS
      • Get the latest real-time data of PCS
      • Get setting of PCS
      • Modify setting of PCS
    • OpenAPI-Plant
      • Get the basic information of the power station
      • Add power station
      • Modify the basic information of the power station
      • Delete power station
      • Get a list of power stations

    3.the third step add DataLog

    Note: A DataLog can only be bound to a Plant. If the plant is changed, the collector needs to be deleted, and then this interface can be called again to associate the DataLog with the Plant

    1. Add DataLog#

    URL: https://www.enerclo-atesspower.com/api/v1/datalog
    image.png
    Headers
    KeyValue
    Authorizationyour token
    Accept-Languageen
    image.png
    Request Param
    {
        "checkCode": "6***3",
        "dataLogSn": "NEKRGY4258",
        "plantId": 333
    }
    Response
    {
        "code": 200,
        "msg": "operate successfully",
        "data": null
    }

    2. Get DataLog list#

    Request URL: https://www.enerclo-atesspower.com/api/v1/datalog
    Headers:
    KeyValue
    Authoriationyour token
    Accept-Languageen
    Params:
    NameValue
    dataLogSnNEKRGY4258
    Response:
    {
        "code": 200,
        "msg": "operate successfully",
        "data": {
            "dataLogSn": "NEKRGY4258",
            "lost": false,
            "fwVersion": "1.0.3.3"
        }
    }
    image.png
    Note: The delete operation can only be performed after the collector is offline as shown in the following figure. The deletion operation cannot be performed when the collector is online. If the collector needs to be deleted, the power off collector is needed

    3.Modify the collector URL to connect to the ATESS Server#

    image.png

    4.Check if the collector is online#

    Calling 'OpenAPI-DataLog > Get DataLog' inteface, Response Body:lost=false indicates that the collector has successfully connected to the ATESS Server
    image.png

    5.Check if the device is online#

    After the DataLog is online, the DataLogSn can be used to call the interface to view the corresponding device and update time
    HPS:
    Central type:https://www.enerclo-atesspower.com/api/v1/hps/base-info/list?dataLogSn=xxxxxxxxxx
    String type:https://www.enerclo-atesspower.com/api/v1/hps/base-info-small/list?dataLogSn=xxxxxxxxxx
    PCS:https://www.enerclo-atesspower.com/api/v1/pcs/base-info/list?dataLogSn=xxxxxxxxxx
    PBD:https://www.enerclo-atesspower.com/api/v1/pbd/base-info/list?dataLogSn=xxxxxxxxxx
    BMS:
    MBMS:https://www.enerclo-atesspower.com/api/v1/bms/mbms-base-info?dataLogSn=xxxxxxxxxx
    BCU:https://www.enerclo-atesspower.com/api/v1/bms/buc-base-info/list?dataLogSn=xxxxxxxxxx
    for example HPS
    image.png

    6.Other interfaces can also be called to view device data#

    HPS:
    image.png
    PCS:
    image.png
    PBD:
    image.png
    BMS:
    image.png
    Previous
    2.the seccond step add Plant
    Next
    Get base info of BCU
    Built with