SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Introduction to Freezer Monitoring Lite

Walk through creating and deploying a Streaming Lite project.

Overview

🎓 intermediate 15 min. SAP HANA Streaming AnalyticsIntermediateInternet Of ThingsSAP HANAExpress Edition

You will learn

  • โœ”An overview of SAP HANA Streaming Lite
  • โœ”The steps in order to create and deploy a Streaming Lite project
Robert Waywell R Robert Waywell January 15, 2025
Created by March 12, 2018
Contributors

Prerequisites

Prerequisites

  • SAP HANA 2.0 system with minimum version SP02
  • Streaming Analytics Server running on SAP HANA
  • HANA Studio Development Environment, PuTTY, and WinSCP
  • Raspberry Pi 2 microcontroller board setup running Raspbian with network connection for SSH
  • Setup Raspberry Pi user as "Pi", and root directory as "/home/pi"

Steps

Step 1 Introduction
โ€”

Streaming Lite (SL) is a component of HAHA Streaming Analytics (HSA), designed for edge processing in IoT scenarios. It’s a slimmed down version of the Streaming Analytics server, and connects through an internal output adapter to the full HANA Streaming Analytics server via a WebSocket connection. This allows for deployment of streaming projects on remote gateway devices, such as a Raspberry Pi (the device used in this tutorial).

Streaming Lite Overview
Streaming Lite Overview

Streaming Lite is meant for running on IoT gateways to preprocess data before it gets sent to Streaming Analytics. As IoT enabled devices and sensors increase dramatically in the coming years, Streaming Lite will help preprocess and filter data at the source, before sending it through to Streaming Analytics and HANA. Streaming Lite runs a single streaming project, and has full CCL window support. As of SAP HANA 2.0 SP02, Streaming Lite can run on Linux x86, and Linux ARM. SAP documentation regarding the process can be found in section Streaming Lite.

This Streaming Lite project will be run on a Raspberry Pi 2 microcontroller board, which has the potential to read values from attached sensors. However, this requires a custom adapter, which is beyond the scope of this tutorial. Additionally, to utilize Streaming Lite to its full potential, a Streaming Web Service output adapter can be added into any Streaming Lite project, in order to stream data directly into any Streaming Analytics project. However, this too is beyond the scope of this tutorial.

Streaming Lite with Raspberry Pi
Streaming Lite with Raspberry Pi

In this tutorial, we are focusing solely on creating and deploying a Streaming Lite project called "freezer_monitoring_lite". This project will take in temperature values, and output an average of every 15 rows. In order to visualize the flow of data we will be using standard command line utilities which come with the installation of Streaming Lite, to perform the basic input and output readings for our project.

For the question below, select the correct answer, and click Validate.

Step 2 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 2
1. Introduction 2. Test yourself

Learn more →