Skip to content
English
  • There are no suggestions because the search field is empty.

API Ingest - Onboarding process

This is a page to look at the operations process to onboard a customer in using the API ingest method.

Details of API ingest methods available are located here: API Ingest

On boarding Process

Overview

Detail

1

Client Request

Client requests that they would like to add readings into EkkoSoft using the API ingest route.

2

Knowledge Share

Share the API Ingest Methods overview with the client in order to confirm whether they wish to use the ‘push’ service or the ‘pull’ service.

3

Agree API service

If using ‘push’ service, recommend that they using the Ekkosense standard JSON format as this does not incur any development time to prepare. If they agree to use the standard format skip to step 5.

4

Develop API driver

(if required)

If they wish to provide the data in a different format then bespoke development for a new API driver will be required and the following will need to take place:

a) commercial agreement for development to go ahead (typically 5 days, depending on the format of the data)

b) client will need to share a valid example of the format so that a technical specification can be agreed

c) development team will need to review data format and agree with client on technical specification before work starts

d) development team will need to assign work to an EkkoSoft release, as a new API driver can only be made available during an EkkoSoft update. This date can then be communicated to the client.

5

Develop automapping script

(if required)

Determine if an automapping script is required as part of the development works. (Recommended where there are more than 500 datapoints) If so;

a) commercial agreement is required

b) client and development team will need to agree on how the automapping should work. There are 3 key considerations:

  1. How items are identified and mapped in the schema and EkkoSoft

  2. How sensors relate to items in the schema

  3. What are the default mappings for sensors that are required in EkkoSoft

6

Request a full example API call from the client

This is really useful as it identifies all of the items, datapoints and SI units that the client is supplying and can help troubleshooting during the final checks and commissioning stage.

7

EkkoSense set up API configuration

EkkoSense user configures API config for the site and selects the correct ‘driver’ for the data import

https://ekkosense.atlassian.net/wiki/spaces/ESG/pages/4049698999/Configure+API+Driver#Setup-API-Configuration

8

Client creates API ingest key

Client creates an API ingest key for their organization. This allows them to pass data into any site that belongs to their organization

9

Client makes initial API call

Customer makes a single call to the API-ingest which will create “shadow sensors”. They require:

  • API ingest token

  • Site UUID

  • EkkoSoft URL

This is detailed in API Ingest Methods

Alternatively, they may make a single call to the public API if they are just providing a list of sensor mappings - this is where it is easier to manage added and removed sensors.

10

Create Datapoints

(manual config only)

Please note: If using automapping script, skip to step 12

EkkoSense user then goes to the API configuration, selects Create Datapoints and then selects Populate Datapoints.

https://ekkosense.atlassian.net/wiki/spaces/ESG/pages/4049698999/Configure+API+Driver#Datapoints

This should look at all the API shadow sensors for the site and allow the user to select them all and edit them if required.

The Ekkosense user/client can then use Sensor Editor to manually map these datapoints to items within the select site.

11

Complete mappings

(manual config only)

Once datapoints are created they will be available in sensor editor to view:API Devices

The datapoints can then be mapped to items within the room and site: Mapping sensors to items

Proceed to step 14

12

EkkoSoft + API Naming Convention Harmonization

(automapping only)

For the automapping script to work, item names within EkkoSoft and the item names within the API will need to be aligned based on the requirements from the automappings technical specification.

It is the responsibility of the client to make sure that this is complete.

An example API call (JSON file) can be used to view the data being supplied by the client and thus compared to the item names within EkkoSoft.

13

Complete Automappings

(automapping only)

If an automapping script has been created for the room then this can be run in the admin area using JS in the console. The room ID is required in order to run the script and the correct script will need to be identified by the development team for the associated API driver.

The automapping script can be run multiple times if necessary during the commissioning stage to resolve issues where item naming conventions have been corrected, or more datapoints have been added to the API call.

14

Client sends data at 15 minute intervals

The client can then start sending data at 15 minute intervals into EkkoSoft. It is acceptable for them to send continuous data at step 9 if preferred.

15

Commissioning

Once datapoints are mapped they are available in sensor editor to view:API Devices

Mappings can be edited and updated as required until commissioning checks are complete: Mapping sensors to items