Skip to main content

ThingsBoard endpoint package

Project description

ThingsBoard Endpoint

Note:

This is not an official project of the ThingsBoard authors! Please refer to ThingsBoard - Open-source IoT Platform for official ThingsBoard projects!

The ThingsBoard Endpoint package adds a data Meta-Model to the ThingsBoard devices sending data over MQTT. This allows to provide a common data model for each device type.

The devices providing telemetry and attributes information to ThingsBoard are named Endpoints to remove confusion added when using names like clients or devices.

Endpoint Data Meta-Model

The object meta-structure is given as follows:

  • An EndPoint can have Nodes
  • Nodes can have Objects
  • Objects can have Objects and/or Attributes

The Attribute objects represent the leafs in the data structure.

An Attribute is responsible to synchronise a variable or an attribute to the cloud. Depending on the write policy the attribute may be changed from the cloud in which case the attribute gets updated on the endpoint.

To set up your endpoint data model you should first think about how you would like to show up your IoT device in the cloud, keeping in mind the EndPoint->Node->Object->Attribute meta-structure implied.

We encourage you to provide the data model using an XML or JSON based file. The file needs then to be parsed and the Endpoint's object structure set up accordingly. There are Factory classes provided to simplify this process (XML only for the moment). The Factory class reads a data model file and creates the Endpoint object.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thingsboard_endpoint-0.2.0.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thingsboard_endpoint-0.2.0-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

Details for the file thingsboard_endpoint-0.2.0.tar.gz.

File metadata

  • Download URL: thingsboard_endpoint-0.2.0.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for thingsboard_endpoint-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b9afef7f6364a351940b44054be5ae97eb3aded24736ea387cc2ef1c72c3b6ca
MD5 3491c46a35e1fd8749b126a5a247babe
BLAKE2b-256 1165698c721b13628f2aba5392761e444c8d1177528ad8bec745f7d998411d55

See more details on using hashes here.

File details

Details for the file thingsboard_endpoint-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for thingsboard_endpoint-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ac7014ad271e81a70d8b37b154614587b30e87af4d9a1f1f49a45ee4ffbf463
MD5 f70377ae171fd5834297f8cac397a05c
BLAKE2b-256 9846304a855f2b1a974e3d16061f13ab9c6129df26de6c75bbd199538e79c862

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page