Skip to content

Technical Support

This guide shows low-level communication examples for technical support engineers using the FlexConnect API.

Preparations

Field Definitions

Field List Request

List the field definitions associated with your product.

  1. Select the documentation for Field List Request in the left pane of the page.
  2. Click Test Request on the right pane where the documentation shows the request.
  3. Click Send.
  4. The response body contains all field definitions associated with your product.

TIP

Filter the list by the Modbus register addresses you are interested in.

Request and JSON response for FieldListRequest with product field definitions

System Field Logging

System Log Control Request

Show the current system field log configuration of a device.

  1. Select the documentation for System Log Control Request in the left pane of the page.
  2. Click Test Request on the right pane where the documentation shows the request.
  3. Specify the SKI identifier in the stringValue of the id attribute in the request.
  4. Click Send. The response body contains:
  • The field IDs for which values are logged.
  • The interval (in seconds) at which they are logged.
  • The point in time from which they are logged, given by timestamp (milliseconds since epoch).

Request and JSON response for SystemLogControlRequest with current field logging configuration

System Log Control Modify Request

Change the logging configuration for a device.

  1. Select the documentation for System Log Control Modify Request in the left pane of the page.
  2. Click Test Request on the right pane where the documentation shows the request.
  3. Specify the following:
    • SKI identifier in the stringValue of the id attribute in the request.
    • Field IDs of the fields to be obtained, in the fieldIds attribute.
    • Interval in seconds, in the interval attribute.
    • endTimestamp in milliseconds, indicating when logging is supposed to be stopped.

Request and JSON response for SystemLogControlModifyRequest with field IDs, interval, and end timestamp

Field Value Time Series Request

Obtain the low-level system field data collected from the device.

  1. Select the documentation for Field Value Time Series Request in the left pane of the page.
  2. Click Test Request on the right pane where the documentation shows the request.
  3. Specify the following:
    • Pagination limit for the number of rows to retrieve.
    • Pagination cursorValue if iterating through large result sets.
    • SKI identifier in the stringValue of the id attribute of the filter in the request.
    • startTime and endTime in the period attribute.

Pagination

The response includes cursorPrevious and cursorNext values when the result set contains more elements than the limit allows. This enables you to iterate backwards and forwards through large result sets.

Request and JSON response for FieldValueTimeSeriesRequest with paginated system field data

System Config

System Config Modify Request

Change the low-level configuration of a device by modifying field values — for example, to charge or discharge a battery.

  1. Select the documentation for System Config Modify Request in the left pane of the page.
  2. Click Test Request on the right pane where the documentation shows the request.
  3. Specify the following:
    • SKI identifier in the stringValue of the id attribute in the request.
    • The field values to set in the fieldValues attribute (see examples below).

Example — Discharge a battery with 400 W

Field IDDescriptionValue
62Set battery operation mode3 (control)
63Set grid power400 (discharge with 400 W)

Example — Set a battery to idle

Field IDDescriptionValue
62Set battery operation mode2 (idle)
63Set grid power0

Request and successful JSON response for SystemConfigModifyRequest with battery field values