-
Notifications
You must be signed in to change notification settings - Fork 14
Quick Start
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:
- Registration of the Raspberry Pi
- Registration of the operator that extracts temperature sensor values and send it to the MBP
- Registration of the temperature sensor
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).
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.
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.
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).
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
Universität Stuttgart - MBP Team 🔧