Skip to content

Quick Start

tatianegava edited this page Nov 9, 2020 · 45 revisions

In this quick start, we show you how to register in the MBP a Raspberry Pi, connected to a temperature sensor. The following steps are realized:

  1. Registration of the Raspberry Pi
  2. Registration of the operator that extracts temperature sensor values and send it to the MBP
  3. Registration of the temperature sensor

1. Registration of the Raspberry Pi

device

To enable the MBP to access the Raspberry Pi, it must be configured to be accessed by SSH through a private key or login. Therefore, the private key and/or user credentials need to be provided to the MBP during the registration of the Raspberry Pi.

In the Main Navigation, select Devices (1), and press the '+' button (2) to add a new device. Fill the properties (inclusive private key) of the Raspberry Pi and press Register (3).

Device1

After registration, the Raspberry Pi should be visible in the list of registered devices with the State Available (1), which means the Raspberry Pi can be found in the network and the MBP can access it with the provided private key.

Device2

2. Registration of the extraction operator

operator

An extraction operator is the required software (e.g., python script) to bind sensors to the MBP. Examples of such operators can be found in the MBP Operators Repository. In this example we use the operator provided in MBP Operators Repository / extraction / LK-temperature_raspberry-pi, which contains a python script to read sensor values measured by the LK temperature sensor.

In the Main Navigation, select Extraction/Control Operators (2) and press the '+' button (3) to add the new operator. Fill the properties (inclusive example operator files) and press Register (4). After registration, the new operator should be visible in the list of registered operators.

images/add-new-adapter.png

Operator

3. Registration of the temperature sensor

In this last step, go to Main Navigation and select Sensors (1), press the '+' button (2) to add a new sensor. Fill the properties, choose the previously created Operator (3) and Device (4) and press Register (5).

images/add-new-sensor.png

After registration, the Sensor should be visible in the list of registered sensor. Selected the registered sensor (1), to show the detailed view.

images/add-new-sensor-list.png

In the sensor details view, press the Deploy sensor button (1).

images/sensor-details-view.png

Once the deployment is done, the sensor values can be visualized in the diagrams live values and historical values.

images/sensor-details-view-deployed.png

images/sensor-details-view-live.png

images/sensor-details-view-hist.png