The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Industrial IoT Open Source Tools and Libraries

Demo applications, libraries and SDKs as well as useful connectivity tools which are maintained and released as open source software.

TypeScript SDK - OverviewΒΆ

The library comes with the typescript SDK which can be used to access Insights Hub APIs.

It implements support for both frontend (browser e.g. angular, react...) and backend development in node.js while supporting different Insights Hub authentication types.

Frontend: - Browser (Session, Cookies)

Backend (node.js): - UserCredentials - AppCredentials - ServiceCredentials - Insights Hub Agents

The SDK implements the Clients for following APIs:

Platform Core APIsΒΆ

NameSDK - ClientCommand
Identity Managementβœ…βœ…
Resource Access Management1βœ…βœ…
Oauth Authorizationβœ…βœ…
Tenant Managementβœ…βœ…
Token Managementβœ…βœ…
Message Broker2 (preview)βœ…βœ…
Usage Transparencyβœ…

1 In the first stage of the availability Resource Access Management must be enabled for the tenant via Insights Hub support team.

2 Message Broker is only available on preview tenants

IoT and StorageΒΆ

NameSDK - ClientCommand
IoT Fileβœ…βœ…
IoT Time Seriesβœ…βœ…
IoT TS Aggregates (v3, v4)βœ…βœ…
IoT TS Bulkβœ…βœ…
Integrated Data Lakeβœ…βœ…

ConnectivityΒΆ

NameSDK - ClientCommand
Agent Managementβœ…βœ…
MindConnect APIβœ…βœ…
Commanding API (sync)βœ…βœ…
OPC UA PubSubβœ…

Advanced ServicesΒΆ

NameSDK - ClientCommand
Asset Managementβœ…βœ…
Event Managementβœ…βœ…
Notificationβœ…βœ…
WorkOrder Managementβœ…βœ…
Visual Flow Creatorβœ…βœ…

Analytics ServicesΒΆ

NameSDK - ClientCommand
Anomaly Detectionβœ…βœ…
Data Exchangeβœ…βœ…
Event Analyticsβœ…βœ…
Job Managerβœ…βœ…
KPI Calculationβœ…βœ…
Model Managementβœ…βœ…
Signal Calculationβœ…βœ…
Signal Validationβœ…βœ…
Spectrum Analysisβœ…βœ…
Trend Predictionβœ…βœ…

MindConnect Open EdgeΒΆ

NameSDK - ClientCommand
Device Managementβœ…βœ…
Device Statusβœ…βœ…
Deployment Workflowβœ…βœ…
Device Configurationβœ…βœ…
Edge App Deploymentβœ…βœ…
Edge App Instance Managementβœ…βœ…
Firmware Deploymentβœ…βœ…

Semantic Data InterconnectΒΆ

NameSDK - ClientCommand
SDI Data Managementβœ…βœ…
SDI Data Queryβœ…βœ…
SDI Semantic Modellingβœ…βœ…

The example below shows how to use the SDK from browser:

// The example shows how to Get Assets from Insights Hub with custom AssetType
// using frontend authentication
// you can pass an instance an Authorizer
// (BrowserAuth, UserAuth, CredentialsAuth, TokenManagerAuth, MindConnectAgent)
// to use different authorization types in Insights Hub or implement the TokenRotation
// interface if you want to provide your own authorizer.
//
// The default constructor uses frontend authorization.

const sdk = new MindSphereSdk();
const am = sdk.GetAssetManagementClient();

const assets = await am.GetAssets({
    filter: JSON.stringify({
        typeId: {
            startsWith: `${tenant}`,
        },
    }),
});

// you will get fully typed assets in response

If an API is missing (and you would like to contribute a client for it), take a look at contributing to SDK.