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
4
votes
0 answers

Connecting locally deployed Hono and Ditto - ERROR 504

Hono is deployed on a Minikube cluster (I followed https://www.eclipse.org/hono/getting-started/ to set up Hono locally) and Ditto is running on localhost. I tried to follow this tutorial and adapt it so it works for local deployment. Unfortunately…
3
votes
1 answer

How to connect Eclipse ditto to mongodb cloud

I am fairly new to Eclipse Ditto and have just started using it for my project. I am trying to connect Cloud hosted mongodb instance to ditto. Following the documentation I know that I need to add some variables and pass them to docker-compose. The…
Alan Dsilva
  • 127
  • 1
  • 4
  • 15
3
votes
1 answer

Ditto HTTP API server sent events CORS error

I installed Hono+Ditto using helm-charts, as it is described in cloud2edge. That means Hono+Ditto is running inside a minikube on my PC. I also created a connection, policy, and a device. So far everything works fine. In the next step, I just wrote…
arash javanmard
  • 1,362
  • 2
  • 17
  • 37
3
votes
1 answer

Connecting Eclipse Ditto to Apache Kafka

I am following the instructions explained in this documentation to connect Apache Kafka to Eclipse Ditto. https://www.eclipse.org/ditto/connectivity-protocol-bindings-kafka2.html I am not sure about the following. 1) ["ditto:outbound-auth-subject",…
2
votes
1 answer

Cloud2Edge package: error connectivity:connection.id.enforcement.failed

I'm testing a deployment of the Eclipse IoT Cloud2Edge package and have followed the instructions here https://www.eclipse.org/packages/packages/cloud2edge/tour/ to test. After creating the new tenant and device, and configuring the connection…
2
votes
1 answer

Eclipse Ditto enable AMQP 1.0 connection fails

I was trying to enable the AMQP 1.0 connection with Ditto running on my local virtual Ubuntu machine following the instruction from the website. So I created the twin on my instance, verified it exists and the following step was to create a…
2
votes
1 answer

Get notified about changes via SSE on Node-Red

I'm trying to create a dtwin of some sensors putting together eclipse-ditto and node-red frameworks. I'd like to be notified when the "thing" is updated via SSE, so i followed the instruction from the https://www.eclipse.org/ditto/httpapi-sse.html…
2
votes
1 answer

Ditto.asByteBuffer(bytePayload) throws exception

In the eclipse-ditto mappingcontext I placed following incomingScript: function mapToDittoProtocolMsg(headers, textPayload, bytePayload, contentType) { switch (contentType) { case "application/json": var jsonData =…
Bob Claerhout
  • 781
  • 5
  • 24
1
vote
1 answer

Eclipse Ditto overloads when reading and sending large numbers of messages

We are integrating Eclipse Ditto into a digital twin platform, but we have encountered a problem while testing and we don't really know how to fix it. We made a question related to this one time ago and it worked. Here you have the link to that…
1
vote
1 answer

Eclipse Ditto does not send all things events over target connection

We are integrating Eclipse Ditto into a digital twin platform, but we have encountered a problem while testing and we don't really know how to fix it. As a context, the goal is to receive in 593 twins (Ditto Thing) the result of a simulation. The…
1
vote
1 answer

Conditional Requests on Connections

We have conditional requests on things- HTTP API or Ditto Protocol headers. Is there a way to restrict payload to get published into a topic in the ditto connections unless a conditional request is matched? For example, in my twin I have a feature…
apoorva
  • 31
  • 4
1
vote
1 answer

Defining the "enforcement" in the MQTT connection

I am trying to publish a payload to a MQTT topic defined in the MQTT connection. However, I get this error in the enforcement log: - Ran into a failure when enforcing incoming signal: The configured filters could not be matched against the given…
apoorva
  • 31
  • 4
1
vote
1 answer

How can I manage device certificates for Device Communication Handshakes with Eclipse Ditto

I have device-signed certificates to establish a handshake between the device and Digital Twin (ca.crt, client.crt, client.key) However, I don't know where I can configure these certificates in the Ditto Digital Twin or how to publish these…
apoorva
  • 31
  • 4
1
vote
1 answer

Eclipse Ditto throws akka exception after deployment on EKS

I'm running Eclipse Ditto v2.5.0 on EKS (helm chart) and after a couple of days the service stops working. It doesn't return any results nor is persisting new things working. I've found the following in the logs: 2022-06-28T08:06:12+02:00 Caused by:…
Daniel
  • 1,075
  • 2
  • 14
  • 26
1
vote
1 answer

Readiness fails in the Eclipse Hono pods of the Cloud2Edge package

I am a bit desperate and I hope someone can help me. A few months ago I installed the eclipse cloud2edge package on a kubernetes cluster by following the installation instructions, creating a persistentVolume and running the helm install command…
1
2 3 4 5