Questions tagged [eclipse-ditto]

Eclipse Ditto is a framework for providing the "Digital Twin" pattern for IoT applications.

Ditto mirrors physical devices as digital representations in the cloud. As a web or mobile app developer you can interact with those digital twins as if they were any other web service, that's why we also like to speak about enabling "device as a service".

A few of the main features are access control, a search over all twin data and push notifications. There are various APIs in order to interact with the devices: a REST, WebSocket, AMQP and MQTT API. Ditto is designed with scalability in mind, so managing millions of twins is possible.

The benefit when developing IoT applications or solutions is that no own backend must be implemented, the focus can be set on the use case: for example device integration and app or web UI implementation.

Ditto is already used in production at Bosch and shows that digital twins are becoming reality.

69 questions
0
votes
1 answer

Sorting and pagination with Javascript

I use your Javascript binding (@eclipse-ditto/ditto-javascript-client-dom) for HTTP access to Ditto. load5ThingsAsc() { var options = DefaultSearchOptions.getInstance().withLimit(0,5); options = options.withSort("+thingId"); const p =…
0
votes
2 answers

Bulk CRUD with Ditto

we want to handle a large amount of Things in Ditto. So my question: Is there a way to bulk create/read/update/delete? I wrote a test updating 10.000 features of Things in Ditto and this took >2min. I think this mainly is a result of issuing 10.000…
0
votes
1 answer

Deploying Hono with Enmasse

I am using Hono for a while, it is a pretty awesome IoT-Hub - thanks for a great job :) Now I am trying to get forward and as it is recommended by the Hono documentation, I would like to integrate the EnMasse Project and replace the default "AMQP…
arash javanmard
  • 1,362
  • 2
  • 17
  • 37
0
votes
2 answers

After starting Ditto services, pods toggle from "OK" to "Liveness probe failed" or "Readiness probe failed"

I managed to get Ditto up and running on minikube, following the instructions provided in the README.txt file. I had to do some minor adjustments to the .yaml files (see Deployment of Ditto and MongoDB using kubectl fails because of unsupported…
hope1976
  • 7
  • 2
0
votes
2 answers

Deployment of Ditto and MongoDB using kubectl fails because of unsupported version "extensions/v1beta1"

I try to start Ditto using kubernetes/minikube by following the instructions in the projects README.txt. While deploying mongoDB and later the Ditto services with the command kubectl apply -f deployment/kubernetes/mongodb/mongodb.yaml I get the…
hope1976
  • 7
  • 2
0
votes
1 answer

Sending events form edge-device to ditto via hono

I did followings successfully: Creating a hono tenant and registering a device for it. Connecting a simple python based edge-device to hono. Connecting hono to ditto. Creating a twin for the above edge-device. Sending telemtery data from the…
arash javanmard
  • 1,362
  • 2
  • 17
  • 37
0
votes
1 answer

Using Keycloak for defining subjects in policies in Eclispe Ditto

My current use case is: I have a frontend application where a user is logged in via Keycloak. I would like to implement some parts of the Ditto HTTP API in this frontend (https://www.eclipse.org/ditto/http-api-doc.html). For example I want to create…
raujonas
  • 117
  • 8
0
votes
1 answer

Do we need kubernetes instance to connect Eclipse Hono with Eclipse Ditto both running in sandbox environment?

I would like to know whether we need kubernetes cluster as required by cloud2edge package as mentioned in the link (https://www.eclipse.org/ditto/2018-05-02-connecting-ditto-hono.html) even if both hono and ditto are running in the sandbox…
nja
  • 67
  • 2
  • 13
0
votes
1 answer

Fail to retrieve response message in Eclipse Ditto

I am trying to create an example in which a client issues a message to a thing and the thing replies back to the client. The thing is connected to Eclipse Ditto via a MQTT connection and the client is simulated via a curl command. In order to do so,…
0
votes
1 answer

Eclipse Ditto - Create a MQTT Connection - fails with invalid json 400 response

Establishing a connection to an MQTT 3.1.1 endpoint following the description here and the Operating Devops Commands end up in an invalid json 400 response. Even the example MQTT-Bidirectional gets refused with a 400. So this is why i am posting…
otluk
  • 317
  • 1
  • 4
  • 16
0
votes
1 answer

Minikube - Eclipse Ditto - error when retrieving current configuration of

minikube version: v1.6.1 linux-kernel: 5.4.7-200.fc31.x86_64 OS: Fedora 31 My question is this a Ditto related issue or does this issue mainly occur based on the current configuration of Kubernetes / Minikube on Fedora? (Eclipse Ditto runs fine for…
otluk
  • 317
  • 1
  • 4
  • 16
0
votes
1 answer

Eclipse Ditto - 502 Gateway - Clean Deployment - Any hint what needs to be configured?

Following the Ditto Deployment Docker description. E.g. Adding a new password and then executing Docker compose command. Starting with clean Linuxmint 19.3 and new installed Docker and Docker-Compose setup. The localhost:8080 is reachable but fails…
otluk
  • 317
  • 1
  • 4
  • 16
0
votes
1 answer

how to install eclipse Ditto

I am trying to install Eclipse Ditto on my Ubuntu 18 machine, Maven and OpenJDK version "1.8.0_222", Docker version 18.09.7 are installed. When running the command: mvn clean install -Pdocker-build-image \ …
samia
  • 11
0
votes
1 answer

Self-defined Function while creating a Digital twin?

It is possible to add a self-defined function while creating a digital Twin in Ditto as shown below. "attributes": { "location": "Germany" }, "features": { "temperature": { "properties": { "value": 100 } }, …
0
votes
1 answer

Sending Data from Hono to Ditto ( amqp:resource-limit-exceeded)

Hono and Ditto are successfully connected. But when I try to send the data from Hono, I will be getting 503 - Service not available message. But then when I checked the Ditto logs. I got the below AMQP Limit exceeded. connectivity_1 | 2019-10-14…