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 CLI
The 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
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.
GitHub npmMindSphere TypeScript SDK
TypeScript/JavaScript Community SDK for MindSphere APIs. It implements support for both browser (e.g. angular, react...) and backend development in node.js and it supports all different MindSphere authentication types (Cookies, UserCredentials, AppCredentials, ServiceCredentials, MindSphere Agents). It is packaged as part of @mindconnect/mindconnect-nodejs library.
GitHub npmMindSphere 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 dockerhubMindSphere 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.
GitHub npmMindSphere 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 GitHubMQTT 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...)
GitHubMindSphere DevOps Demo
Demo application, providing tools and a devops admin backend for accessing Prometheus and Grafana.
GitLab GitHub MirrorStart For Free Demo App
A small demo app which can be used as a starting point for your MindSphere StartForFree developer experience. The app uses React, MindSphere Design System and MindSphere Web Components
GitHubJSON Schema to MindSphere Demo App
Demo Application showing how to create MindSphere modelling artifacts (Variables, Aspect- and Asset-Types as well as assets) straight from a JSON schema
GitHub MediumMindConnect 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.
GitHubVisual 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.
GitHubMindSphere SDK Examples
How tos for MindSphere Developer SDKs ( NodeJS, Python, Java)
MindSphere Open Source Documentation
This documentation is also available as an open source project.
GitHub
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!