Questions tagged [eclipse-iot]

24 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

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

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

Hono and Enmass integration throws event errors

I am trying to deploy hono with enmasse. For this, I already installed enmasse and created address spaces and addresses as follows: enmasse_iot.yaml apiVersion: enmasse.io/v1beta1 kind: AddressSpace metadata: name: iot1 spec: type: standard …
arash javanmard
  • 1,362
  • 2
  • 17
  • 37
1
vote
1 answer

Integrating Hono and Enmasse

I am trying to deploy hono with enmasse. For this, I already installed enmasse and created address spaces and addresses following this repository. As described in hono-doc on artifacthub. First I created a secret. my_secret.yaml apiVersion: v1 kind:…
arash javanmard
  • 1,362
  • 2
  • 17
  • 37
1
vote
1 answer

Eclipse Hono - 404 Error while creating a Tenant

I am using the command as shown in the below documentation to create a Tenant in Hono. https://www.eclipse.org/hono/docs/api/management/#/tenants/createTenantWithId curl -X POST "http://srvgal89.deri.ie:28080/v1/tenants/DEFAULT_TENANT_11" -H…
1
vote
1 answer

Eclipse Hono - Installation (Version 1.1.1)

I am not sure on the exact instructions to install Hono 1.1.1 locally. Following the documentation , I was able to build the project with maven but I am not sure on how to proceed. I was using version 0.9 before in which I managed to run Hono using…
1
vote
1 answer

To get all the registered Devices in Eclipse Hono Tenant

Is there a way to get list of all the Tenants names/id in a Hono server. Is there a way to get list of all Devices registered in a particular tenant.
1
vote
1 answer

Eclipse Ditto - Prometheus not installing by default

As per the instructions in the link - https://www.eclipse.org/ditto/installation-operating.html each Ditto service opens a HTTP endpoint, where it provides the Prometheus metrics on port 9095.Ditto will automatically publish gathered metrics at the…
1
vote
1 answer

Create connection from Eclipse-ditto to Azure IoT hub using MQTT

I'm trying to create an outgoing connection from Ditto to Azure IoT hub using MQTT. We are in charge of Ditto while somebody else (interested in the digital twin Live data) is in charge of the Azure IoT Hub. I'm getting following error while…
Bob Claerhout
  • 781
  • 5
  • 24
1
vote
1 answer

How to get historical sensor data of a registered Hono Device

I am trying to send the below sensor values from the registered device in Hono to Ditto in order to form the digital twin of the registered device. I am using the below command. curl -X POST -i -u sensor10@tenantAllAdapters:mylittlesecret -H…
1
vote
2 answers

Connecting Eclipse Hono to Ditto - "description":"Check if all required JSON fields were set."},"status":400}" Error

I was successfully able to connect Hono to Ditto using AMQP adapters and I got the following messages in the log. The value sent from the demo device registered in Hono is successfully received and updated in the Ditto…
1
vote
1 answer

Connecting Eclipse Hono and Ditto

I have eclipse-hono installed in one machine and Eclipse ditto installed in the other which is connected to same WIFI. I am trying to consume data from Eclipse hono to Eclipse ditto. I have created a tenant named tenantallAdapters and registered a…
0
votes
1 answer

Thing-Connection in eclipse ditto

Can a single thing have multiple connection, if so can all of them be active at the same time? I'm exploring the eclipse ditto recently and I wanted to know whether below given approach is correct for finding the connection a 'thing' uses. I'm…
1
2