Page tree
Skip to end of metadata
Go to start of metadata

Digi-Key IoT Studio enables you to create and import your own elements to add support for third-party sensors not currently available in the platform.

Creating sensor elements is done using Digi-Key's Embedded Element Library (EEL) Utility tool. The EEL Utility tool is a command line interface used for generating elements to be imported into DK IoT. All of the information surrounding use of the tool is detailed on the DK IoT GitHub.

Completed EEL files ready to be added into DK IoT Studio for use can be imported through the Import button in the Add Element window. Once a file is imported, it’s included in the list of available sensor elements that can be enabled in an DK IoT Studio project. Note that custom EEL files imported into DK IoT Studio are only available for the project they are added to.

This intent of this guide is to describe the step by step process of creating an EEL by using source files from GitHub.

Step-by-step guide

Step 1: Prerequisites

Step 2: Clone This Repository

Open Command Prompt and clone this repository to your local machine:

git clone https://github.com/Digi-Key/DK-IoT-Studio.git

Navigate to the eel-builder directory (the eel-builder directory will be located in the DK-IoT-Studio directory) and run the following command to install dependencies that the eel-builder needs.

npm install


Step 3: Clone Source Files

While in the newly created eel-builder directory, clone the source files for the EEL you wish to create.  (We are using the Sensirion SHTC1 EEL in this example.)

git clone https://github.com/winkj/sht_EEL.git


Step 4: Generate Final EEL

Now to generate the final EEL, in the same directory,

node eelbuilder.js --generate --dir="sht_EEL/"

This will put the final EEL in the eel-builder directory.  From here you can import this EEL into your project.