MindSphere Open Source Tools and Libraries
MindSphere Open Source Tools and Libraries are contributions from the MindSphere community. These are demo applications, libraries and SDKs and useful connectivity tools which are maintained and released as open source software. The source code for all libraries is available on Github and the packages can be downloaded via common package management tools.
Featured: MindSphere CLIThe MindSphere CLI is a powerful tool for MindSphere developers and administrators as it gives you scriptable access to common tasks in MindSphere.
It is packaged as part of @mindconnect/mindconnect-nodejs library.
You can install it from npm or download binaries from the links below.npm install -g @mindconnect/mindconnect-nodejs
This is a nodejs library which can be used as a starting point for custom agent implementation in node.js. The library comes with support for TimeSeries, Events and File Upload and it can create and update the DataSourceConfiguration and the Mappings in MindSphere. The most recent feature is support for automatic mappings to the asset instances.
MindSphere TypeScript SDK
MindSphere Command Line Interface
MindSphere GUIs are great but some tasks are still better done from the command line. The MindSphere CLI is a power tool for experienced MindSphere administrators as it gives you scriptable access to common tasks like agent onboarding and offboarding, asset management, historical time series upload, user management and it also offers valuable tooling for software developers. It is packaged as part of @mindconnect/mindconnect-nodejs library.
MindConnect Node-RED Node
A Node-RED node which can be used to upload the time series data, files and events to MindSphere. The node runs on x86, Raspberry PI, SIMATIC IOT 2040 and is also available as a docker container on dockerhub. There are also live flow examples with flows sending e.g. the OPC UA or MQTT Data to MindSphere at https://playground.mindconnect.rocks
GitHub npm dockerhub
MindSphere Development Proxy
The development proxy can be used to kickstart your MindSphere development. It provides an endpoint at your local machine which will authenticate all requests to the MindSphere APIs. The proxy is packaged as part of @mindconnect/mindconnect-nodejs library.
MindSphere Authentication Helper
This chrome extension can be used to simplify the development tasks for which you need to use the SESSION and XSRF-TOKEN to access MindSphere APIs. It provides an easy way to copy the MindSphere authentication cookies to the clipboard without having to go to chrome developer tools.
Chrome Web Store GitHub
MQTT Native Certificates
Utility for creating self-signed certificates for MindSphere's MQTT Native endpoint. Go to https://mqttnative.mindconnect.dev to create the certificates.
MindSphere Analytics Examples
Jupyter Lab Notebooks demonstrating the use of the MindSphere Analytics APIs (KPI Calculation, SignalValidation...)
MindSphere DevOps Demo
Start For Free Demo App
JSON Schema to MindSphere Demo App
MindConnect Library V4 Demo Agent
Agent for MindSphere based on Mindconnect Library V4 and written in C. Compiled and tested on Raspberry Pi V4 with Raspbian Buster.
Visual Flow Creator Examples
Example flows for MindSphere Visual Flow Creator The examples include the cloud to device communication and commanding via MQTT, creation of the custom API endpoints in the MindSphere and more.
MindSphere SDK Examples
MindSphere Open Source Documentation
This documentation is also available as an open source project.
We contributions! All projects have the CONTRIBUTING.md and CODE_OF_CONDUCT.md files with contribution information. Thank you for being part of the MindSphere Community!