Skip to Content

Introduction to Freezer Monitoring Lite

Walk through creating and deploying a Streaming Lite project.
You will learn
  • An overview of SAP HANA Streaming Lite
  • The steps in order to create and deploy a Streaming Lite project
gpinarGunesh PinarJanuary 18, 2021
Created by
April 17, 2018


  • 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"
  • Step 1

    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 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

    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

    Where will the Streaming Lite project be run on for the purposes of this tutorial?

Back to top