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.
Metadata
Release files for thingsboard-endpoint 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| thingsboard_endpoint-0.3.1.tar.gz | 41.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| thingsboard_endpoint-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 93.5 kB
Release files / thingsboard_endpoint-0.3.1.tar.gz
| Download URL | thingsboard_endpoint-0.3.1.tar.gz |
|---|---|
| Size | 41.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a72db72d749de32f351ca48afa88020d93cf5fd0f0a34b749234df53a11585f
|
|
BLAKE2b-256 checksum How to use checksums |
bf48df271cd591f012fb29085fdfa30cb5cb7af97f208b767cadb8181f980da1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / thingsboard_endpoint-0.3.1-py3-none-any.whl
| Download URL | thingsboard_endpoint-0.3.1-py3-none-any.whl |
|---|---|
| Size | 52.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e6d629c4532115aafeb676ca152724cdf75a384e775db83a33176f3cadd5259
|
|
BLAKE2b-256 checksum How to use checksums |
f806750edd72998cb323514271bf6d7b9f49755d0d9fe660388ed0693bf50364
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|