Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Sending sensor data to Kura

Cheers

Jens

On Mon, Jul 17, 2017 at 12:46 PM, Thong Q. Nguyen <quocthong.ng@xxxxxxxxx> wrote:
Hello,

I am new to Kura. I want to ask some questions regarding sending sensor data to Kura. My setup is that I have an ultrasonic distance sensor HC-SR04 connect with a raspberry Pi A through GPIO. Now I want to install Kura on another raspberry Pi B and send the distance value I collected on the first raspberry pi to Kura. I have two options regarding the communication protocol for transmitting the data: 

1. MQTT: this might be the most obvious option since Kura may focus on MQTT at the moment. If I go with this, so that means I have to install a MQTT client on my raspberry A, and a MQTT broker somewhere else, and subscribe both my raspberry A and B to that broker so Kura can receive the data from A ?

2. CoAP: This is my favorable approach because in the end I also want to send the data from Kura to a cloud ( more specifically to Eclipse Hono) by CoAP. However, as I acknowledged, the most recent version of Kura doesn't support CoAP. So if I go with this, I have to implement CoAP to Kura by myself. So could you provide me some guidelines that I can begin with, in case you have ever thought about CoAP ?

If there is another option besides the two above, please let me know.

Best regards,
Thong Q. Nguyen

_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev



--
Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill

Back to the top