A tour of thin-edge
After following this tutorial you will have an overview of the installation and configuration of thin-edge.io. As an example, a Raspberry Pi is used. This tutorial explains in small steps to reach the goal of sending data to Cumulocity IoT and performing some additional device management tasks.
Apama Plugin
The Apama plugin, part of the Apama thin-edge support package, can be used to install Apama projects using the Cumulocity software management feature.
Child Device Configuration Management
Configuration management can be enabled for child devices using the same c8y-configuration-plugin,
Child Device Configuration Management
After following this tutorial, you will know how to manage various configuration files on child-devices connected to a thin-edge device.
Child Device Firmware Management
Firmware management can be enabled for child devices using the c8y-firmware-plugin.
Configuration Management
With thin-edge.io, you can manage config files on a device by using the Cumulocity configuration management feature as a part of Device Management.
Connecting to Cumulocity IoT
The very first step to enable thin-edge.io is to connect your device to the cloud.
Custom Fragments
Default fragments
Health Monitoring
The health of a thin-edge.io service or any other service that is running on the thin-edge.io device
Log management
You can now access any type of logs directly from your Cumulocity UI, using the
Remote Access
To access a device remotely that runs thin-edge.io, a plugin of the operation plugin concept is used. The tedge-mapper is checking for cloud remote access operation and is triggering the particular plugin. You can use the remote access tab in device management to access the device via SSH or VNC.
SmartRest Template
Custom SmartRest Templates can be used to extend the functionality of a device to support more operations than what the static SmartREST templates offer.
Supported Operations
Concepts
Thin Edge Cumulocity HTTP Proxy
The tedge-mapper (when running in c8y mode) hosts a proxy server to access the Cumulocity HTTP API from the
Token
How to retrieve a JWT (JSON Web Token) to authenticate on Cumulocity