Skip to content

thin-edge.io example python agent which uses the local thin-edge.io services

License

Notifications You must be signed in to change notification settings

thin-edge/python-tedge-agent

Repository files navigation

python-tedge-agent

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.

Getting started

Before getting started, you need to install the following tooling:

  1. Start the demo setup

    just up
  2. Set your target Cumulocity IoT Tenant

    set-session
  3. Bootstrap thin-edge.io

    just bootstrap
  4. Navigate the child device in the Cumulocity IoT Device Management page this is launched by the previous step