Skip to main content

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

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

Back to the top