{"repo":"thingsboard/thingsboard-python-client-sdk","free":true,"listed":false,"github":"https://github.com/thingsboard/thingsboard-python-client-sdk","clone":"git clone https://github.com/thingsboard/thingsboard-python-client-sdk.git","description":"ThingsBoard client Python SDK","language":"Python","stars":130,"topics":["python","mqtt","thingsboard","thingsboard-gateway","sdk"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"ThingsBoard MQTT and HTTP client Python SDK ThingsBoard is an open-source IoT platform for data collection, processing, visualization, and device management. This project is a Python library that provides convenient client SDK for both Device and Gateway APIs. SDK supports: - Unencrypted and encrypted (TLS v1.2) connection - QoS 0 and 1 (MQTT only) - Automatic reconnect - All Device MQTT APIs provided by ThingsBoard - All Gateway MQTT APIs provided by ThingsBoard - Most Device HTTP APIs provided by ThingsBoard - Device Claiming - Firmware updates The Device MQTT API and the Gateway MQTT API are base on the Paho MQTT library. The Device HTTP API is based on the Requests library. Installation To install using pip: Getting Started Client initialization and telemetry publishing MQTT MQTT using TLS TLS connection to localhost. See https://thingsboard.io/docs/user-guide/mqtt-over-ssl/ for more information about client and ThingsBoard configuration. HTTP Using Device APIs TBDeviceMqttClient provides access to Device MQTT APIs of ThingsBoard platform. It allows to publish telemetry and attribute updates, subscribe to attribute changes, send and receive RPC commands, etc. Use TBHTTPClient for the Device HTTP API. Subscription to attributes You can subscribe to attribute updates from the server. The following example demonstrates how to subscribe to attribute updates from the server. MQTT HTTP Note: The HTTP API only allows a subscription to updates for all attribute. Telemetry pack se","default_branch":null,"files":null,"tree":[],"storefront":"/r/thingsboard","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thingsboard/thingsboard-python-client-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}