SINTEF-9012 / ditto-fleet

Digital twins with Eclipse Ditto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is a Digital Twin platform for software management on a fleet of devices within the IoT-Edge-Cloud continuum. The backbone of the platform is Eclipse Ditto. The platform also comes with a back-end, which listens for changes in the managed digital twins.

Pre-requisites: Installing and running Eclipse Ditto

This fleet management tool builds upon and further extends the functionality of Eclipse Ditto - an open source framework for building digital twins of devices connected to the internet. More information can be found here.

The best way to install and run Eclipse Ditto is via docker-compose, as fully described here.

git clone https://CI-CySec.eng.it/gitlab/ERATOSTHENES/dta.git

cd ditto/deployment/docker

docker-compose up -d

Running from source-code

The fleet management tool essentially consists of two separate components:

Front-end GUI

In the root folder: npm run start

Back-end API for interacting with Eclipse Ditto and MQTT communication with downstream devices

In a separate terminal change folder: cd backend and run: npm run start

Runing as a Docker container

Stand-alone Docker container

To run the GUI pull the latest version of the dautov:ditto-fleet-gui image and run the following command:

docker run -it -p 3000:3000 rdautov:ditto-fleet-gui

This will run the npm start script and launch the React application. Open http://localhost:3000 to view it in the browser.

About

Digital twins with Eclipse Ditto

License:MIT License


Languages

Language:JavaScript 61.2%Language:TypeScript 32.3%Language:Python 1.9%Language:Dockerfile 1.3%Language:Shell 1.2%Language:CSS 1.0%Language:HTML 1.0%