ویرگول
ورودثبت نام
snehacynixit
snehacynixit
snehacynixit
snehacynixit
خواندن ۲ دقیقه·۶ سال پیش

Visualize IoT Data With Kaa and MongoDB Compass

Kaa is a highly flexible, open source middleware platform for Internet of Things product development. It provides a scalable, end-to-end IoT framework for large, cloud-connected IoT networks. Kaa enables data management and real-time bidirectional data exchange between the connected objects and backend infrastructure by providing server and endpoint SDK components. Learn MongoDB online training from industrial experts.

The SDK components support multi-programming development, client server communication handling authentications, and so on. The SDK components can be virtually integrated with unlimited and any type of connected devices or microchips.

In this blog, let us discuss the quick installation of Kaa Sandbox using a VirtualBox environment and connecting a sample application with MongoDB log appenders.

Installing Kaa Sandbox

To install Kaa Sandbox, perform the following:

  • Download Sandbox image v0.10.0 from the download link.
  • Download the .ova file and provide a proper location in the local system.
  • Download the VirtualBox platform packages. In our use case, Windows hosts are used.
  • Locate the two downloaded files in the proper location for a better understanding.
  • Open VirtualBox and go to File --> Import Virtual Appliance.
  • Import the downloaded kaa-sandbox-0.10.0.1.ova file.
  • Click the Next button, then select the proper configuration details such as Name, OS Type, CPU, RAM, and so on.
    Note: A minimum of 4096 MB should be available to run in the environment.
  • Upon verifying the configuration details, click Import to start the process.

Demonstrating a Sample Application

In this section, let's discuss a sample Kaa application in Kaa Sandbox.

This application sends temperature data at preset time periods from the endpoint to the server. A log appender is set up to collect data from the endpoint. In our use case, a MongoDB log appender is used.

The sample application is executed by:

  • Generating a Java SDK
  • Creating the log appenders
  • Launching the application
  • Fetching MongoDB logs from the appenders

Choosing the Application

The sample application here is named Data Collection Java Demo

Generating the SDK

To generate the SDK, perform the following:

The corresponding SDK component will be built or generated. You can also download Objective C, C++, and Android files for the Java SDK.

If you want to Gain In-depth Knowledge on MongoDB, please go through this link MongoDB online course

۰
۰
snehacynixit
snehacynixit
شاید از این پست‌ها خوشتان بیاید