The goal of this repository is to provide an example of how to implement your own custom child device agent (or connector). The agent makes use of the thin-edge.io services such as MQTT and HTTP to enable a cloud agnostic implementation.
Note: The official thin-edge.io (Rust) tedge-agent
service can also be run on child devices, so you should check if you can utilize the out-of-the-box functionality first before using adapting the python agent contained in this repository.
Before getting started, you need to install the following tooling:
-
Start the demo setup
just up
-
Set your target Cumulocity IoT Tenant
set-session
-
Bootstrap thin-edge.io
just bootstrap
-
Navigate the child device in the Cumulocity IoT Device Management page this is launched by the previous step