Cloud Connectivity - Persistent Data
Answer
10/23/18 12:44 PM

Hello,

I have connected my XDK to the Bosch IoT Things and can view the streaming data within the Live Data tab. Is there now a way to store the data using the Bosch IoT Suite? I would like to be able to analyze the data at a later date and allow others to view the data.

If a solution exists to store the data using the Bosch IoT Suite could you please provide some brief instruction on how to set everything up?

Thanks for your help!

0 (0 Votes)
RE: Cloud Connectivity - Persistent Data
Answer
10/24/18 2:31 PM as a reply to John O'Brien.
Hello John,

the solution you are looking for is called Bosch IoT Insights , which is about receiving and storing the data from IoT devices. It supports many connection protocols like HTTP, HTTPS, MQTT, etc. The incoming data can even be stored in a database (NoSQL/MongoDB based) and visualized within dashboards.

To use Bosch IoT Insights, you first need to add a service subscription on Insights.
By adding the subscription, you need to name the instance with a unique name.

After adding the new subscription, you can click on Credentials of your listed Insights subscription. All informations to connect to Insights like username, password, service url, dashboard url, data recorder url and the project ID are listed there.

The detailed Insights user guide will answer all your questions regarding Insights and the dashboard to view your data online.

If you actually want to analyze your data for anomaly behavior, you could take a look at Bosch IoT Analytics, as well.

Please let me know if this was helpful and feel free to ask if you have further questions.

Kind regards,
Franjo
0 (0 Votes)
RE: Cloud Connectivity - Persistent Data
Answer
10/25/18 6:13 PM as a reply to Franjo Stjepandic.

Hi Franjo,

 

What example should I be using from the XDK Workbench to be able to interact with the Bosch IoT Suites Insights?

 

Thanks,

John

0 (0 Votes)
RE: Cloud Connectivity - Persistent Data
Answer
10/26/18 2:44 PM as a reply to John O'Brien.
Hello John,

since the Bosch IoT Insights service supports protocols like HTTP, HTTPS or MQTT, you can establish the connection to it directly in multiple approaches. You could, for example, use the HttpExampleClient from the welcome screen of the XDK-Workbench or build your own application with the full code examples from the XDK knowledgebase . Please note, that you have to create an account beforehand to gain access to the content of the knowledge base.

Additionally, to this, it should also be possible to use the BoschXDKCloudConnectivity example and gather the data directly at the Bosch IoT Cloud, since it should be possible to get the data there over a new service subscription.

Please let me know if this was helpful and feel free to ask if you have further questions.

Kind regards,
Franjo
0 (0 Votes)