Litmus i3x Server
Introduction
The Litmus i3x Server is an implementation of the Industrial Information Interoperability eXchange (i3x) server protocol for Litmus Edge which exposes Digital Twins models and instances as i3x compliant ObjectsTypes and Instances, allowing you to connect and read data from any i3x-compliant client.
The server is distributed as both a docker image of the server, and a marketplace catalog application which bundles the server with a browser based i3x explorer client.
Installation
Litmus Marketplace
- Preparing Credentials
- In Litmus Edge navigate to System->Access Control->API Credentials and create API OAuth 2.0 Client credentials with read permissions to the Digital Twins service. Record the ClientID and Client Secret
- Starting Marketplace App
- Navigate to Applications->Marketplace and search and select Litmus i3x Server. Select target version and provide the relevant arguments.
- Name: Display name of the docker application
- Description: Display description of the docker application
- SERVER_PORT: Port where the i3x server will be accessible.
- SERVER_NAME: Name of the i3x server when making connections.
- *EDGE_CLIENT_ID: OAuth 2.0 ClientID created in 1. Preparing Credentials.
- *EDGE_CLIENT_SECRET: OAuth 2.0 Client Secret created in 1. Preparing Credentials.
- *EDGE_URL: URL of host LE from within the docker container. Defaults to 10.30.50.1 within the default Litmus bridge.
- EXPLORER_PORT: Port of the Litmus i3x Explorer bundled into the application.
- *I3X_AUTH_TOKEN: Credentials used while accessing the i3x server.
- *I3X_ADMIN_TOKEN: Credentials used while accessing the server admin console.
All arguments marked with * can be managed within the admin console.
- After launching, navigate to Applications->Catalog Apps and validate that the application is running.
- (Optional) Configure SSL/TLS
- In a browser connect to https://{PUBLIC_EDGE_URL}:{SERVER_PORT}/admin and login with I3X_ADMIN_TOKEN
- Navigate to Server Certificates or Explorer Certificates
- To use custom certificates, press Upload Certificate and provide certificate and key pems. Verify that target certificates are marked ACTIVE.
- To enable HTTP, mark TLS OFF at the top of the page.
Usage
Admin Console
The admin console is accessible via: http[s]://{EDGE_ADDRESS}:{SERVER_PORT}/admin.
Configuring Connections
Navigate to Connections on the left navbar. If DEFAULT_BRIDGE is enabled (by default for marketplace deployments) the NATS token management will be disabled.
Users can:
- Restart the i3x server.
- Change target Edge URL
- Update or remove OAuth 2.0 API credentials
- Enable/Disable verification of Edge TLS
- Update NATS token (if DEFAULT_BRIDGE is disabled)

Certificate Management
Users can manage SSL certificates and enabling/disabling SSL/TLS for the explorer and server under Sever Certificates & Explorer Certificates. If running in Server-Only mode (when using docker image directly) explorer certificate management will be disabled.
- Add/Remove a Certificate
- When initially launched the application will generate self-signed certificates for the Server and Explorer. These can be disabled but never removed
- To Add a certificate, press Upload Certificate and upload the relevant {certificate}.pem and {key}.pem files and provide a name for identification. Once added this certificate will be automatically activated.
- To Remove a certificate, deactivate the target certificate (by activating another certificate) and press Delete on the target certificate.
- Activating/Deactivating a Certificate
- To activate a certificate just press the activate Activate.
- Disable SSL/TLS
- At the top of the Certificates page mark TLS as false. This enables HTTP connection for the relevant service

Creating Tokens
To create i3x tokens for Bearer authentication navigate to Server Tokens->Create Token. Provide a human readable name and expiration time and press Create. Copy and save the generated token, this will be used as a Bearer auth token for the i3x server.
The server does NOT support no authentication. If no server tokens exist connection to the i3x server will be disabled.
Explorer
Connecting to the Server
This section will assume you are using the official i3x-explorer, other clients may differ.
- Create a new Server Connection
- Server URL: http[s]://{PUBLIC_EDGE_ADDR}:{SERVER_PORT}/v1 (eg. https://127.0.0.1:9000/v1).
- Server defaults to https unless disabled in admin console
- i3x explorer only uses a frontend connection so ensure you are providing the IP as reachable from YOUR LOCAL MACHINE, not the explorer itself
- Authentication: Bearer Token: {I3X_AUTH_TOKEN}
- If using self signed certificate check "Ignore certificate errors"
- Connect to your new server and verify it is connected.
Data Layout
Namespaces
The Litmus i3x Server provides two namespaces:
- i3x Core: contains default i3x relationships
- DigitalTwins: contains all the relevant Digital Twins objects for modelling data
Object Types
Each object type corresponds to a specific version of a Digital Twins model within Litmus Edge and its associated schema hierarchy.
Object IDs:
- Object IDs follow the following name structure dtwin.{MODEL_NAME}.v{VERSION_NUMBER}
- Child types from the schema append their name at each layer: dtwin.{MODEL_NAME}.v{VERSION_NUMBER}.{COMPONENT_NAME1}.{COMPONENT_NAME2 (eg. dtwin.cdm_model.v0.header.area)
- Branch nodes will have a schema of {"type": "object"} (or array) while leaf nodes will have a schema of their particular type eg. {"type": "string"}
Version Tracking
Digital Twin model versions are tracked if and only if:
- They are the most recent version of that model
- There are digital twin instances that use that version
Objects
Each object instance corresponds to a Digital Twins instances and corresponding hierarchies. Each sub-component has an IsComponent relationship to its parent and maps to the corresponding sub-object type.
Version Support
i3x: v1.0 Standard
Litmus Edge: 4.2.x
Release Notes
v1.1.1
- Added server admin console