$npx skillfedfor your agent

tb-mqtt-client

ThingsBoard python client SDK

Worth itPyPI InternetReleased Feb 2026109.8K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tb_mqtt_client-1.13.13-py3-none-any.whl
v1.13.13 · released 2026-02-24 · Python >=3.9 · 3 runtime deps: tb-paho-mqtt-client, requests, orjson

Yes. The package is actively maintained, has no known vulnerabilities, requires only three lightweight dependencies, and provides a straightforward abstraction over MQTT and HTTP protocols for ThingsBoard integration. It is well-suited for any Python IoT application targeting the ThingsBoard platform. Install if you are building a device or gateway client for ThingsBoard.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; ThingsBoard server must be accessible at the specified host and port.
  • Low install friction with a pure-wheel distribution.
  • Actively maintained with recent commits and steady releases since 2019.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache Software License 2.0 (permissive), allowing commercial and private use with minimal restrictions.

last release 2026-02-24 (171 days) · last repo commit 2026-08-14 · 130 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 109,779 downloads/mo, #12,499 on PyPI

Verify before relying

pip install tb-mqtt-client

from tb_mqtt_client import TBDeviceMqttClient

client = TBDeviceMqttClient("127.0.0.1", username="A1_TEST_TOKEN")
client.connect()
client.send_telemetry({"temperature": 41.9})
client.disconnect()
  • Whether TLS v1.2 is the only supported TLS version or if newer versions are also supported
  • Performance characteristics when handling high-frequency telemetry or large device counts
  • Specific version constraints or compatibility notes for tb-paho-mqtt-client, requests, and orjson
Same gist for agents: .md · .json

What it is and what it does

This package provides a Python client library for interacting with ThingsBoard, an open-source IoT platform. It abstracts the complexity of MQTT and HTTP communication, allowing developers to send device telemetry, manage attributes, subscribe to server updates, and handle remote procedure calls without building protocol handlers from scratch.

The SDK supports both device and gateway modes, with MQTT offering QoS 0 and 1 delivery guarantees and automatic reconnection, while HTTP provides a simpler alternative for basic operations. It includes built-in support for TLS encryption, firmware updates, and device claiming. The library wraps tb-paho-mqtt-client for MQTT operations and requests for HTTP, simplifying integration into Python applications that need to communicate with ThingsBoard.

Use it for

  • Send sensor readings and device metrics to ThingsBoard for real-time monitoring and visualization
  • Subscribe to attribute changes from the server to dynamically update device configuration
  • Implement gateway functionality to relay telemetry from constrained devices through a single connection
  • Handle remote procedure calls from ThingsBoard to trigger device actions or retrieve system information
  • Manage secure MQTT connections with TLS certificates for production IoT deployments

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, requires only three lightweight dependencies, and provides a straightforward abstraction over MQTT and HTTP protocols for ThingsBoard integration. It is well-suited for any Python IoT application targeting the ThingsBoard platform. Install if you are building a device or gateway client for ThingsBoard.

Install

tb-mqtt-client on PyPI

Before you install

Low install friction with a pure-wheel distribution. Actively maintained with recent commits and steady releases since 2019. Requires Python 3.9 or later.

Requires Python 3.9 or later; ThingsBoard server must be accessible at the specified host and port.

License in practice

Licensed under Apache Software License 2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install tb-mqtt-client

from tb_mqtt_client import TBDeviceMqttClient

client = TBDeviceMqttClient("127.0.0.1", username="A1_TEST_TOKEN")
client.connect()
client.send_telemetry({"temperature": 41.9})
client.disconnect()

Verify before relying

  • Whether TLS v1.2 is the only supported TLS version or if newer versions are also supported
  • Performance characteristics when handling high-frequency telemetry or large device counts
  • Specific version constraints or compatibility notes for tb-paho-mqtt-client, requests, and orjson

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
tb-paho-mqtt-clientrequestsorjson
MaintenanceActively maintained 171 days since the last release
Last repo commit
First released
Downloads109,779 / month, #12,499 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: tb_mqtt_client-1.13.13-py3-none-any.whl

Tags

Capabilities
thingsboard mqtt clientiot device telemetry pythonmqtt http iot sdkthingsboard python sdkdevice gateway mqtt clientiot platform integrationmqtt telemetry attributes
Topics
iot-platformmqtt-clientdevice-management

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “thingsboard mqtt client”

  • tb-mqtt-clientPython client SDK for ThingsBoard IoT platform, supporting MQTT and…
  • gmqttgmqtt is an async Python MQTT client that connects to MQTT brokers,…
  • aiomqttAn asyncio-native MQTT client that wraps paho-mqtt to provide…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also pymysensors · tb-paho-mqtt-client · awsiotsdk · paho-mqtt · gmqtt · meross-iot · tuya-device-sharing-sdk · yoto-api · scarf-sdk · pysmappee