thingsboard-python-client-sdk
thingsboard-python-client-sdk copied to clipboard
ThingsBoard client Python SDK
Hi From a fresh install of python (anaconda distribution) python 3.11.7 i am getting an import error for pymmh3 when importing the following: `from tb_device_mqtt import TBDeviceMqttClient, TBPublishInfo` version of...
I'm using `tb-mqtt-client` version 1.9.9 When connecting to a gateway device, I keep getting the following message: `MQTT client was disconnected with reason code 7 (The connection was lost.)` This...
Hi, I use a [InHand IG502](https://inhandgo.com/products/ingateway502-industrial-cellular-gateway?srsltid=AfmBOoqrHOWbxQ-ZIREpBIYN1HsQ4OBplCTifVMaGQrwsWiU9bm9luSK) device has a gateway for other sensors. I use TBGatewayMqttClient class to communicate with Thingsboard. Sensor send telemetry to Thingsboard at different rate, varying...
At this time, it is only possible to perform firmware updates, not software updates: https://thingsboard.io/docs/user-guide/ota-updates/#firmware-vs-software From what I have seen, the process is the same; it would be enough to...
Description: This PR introduces a complete rewrite of the Python Client SDK using an asynchronous, event‑driven architecture built on top of [gmqtt](https://github.com/wialon/gmqtt). The new implementation is optimized for high‑throughput telemetry...
**Title:** `tb_device_mqtt._publish_data` triggers warning when publishing before `is_connected()` returns `True` **Description:** Has anyone experienced this issue with **uv 0.8.8**? (Tested with both `requires-python = "==3.11.*"` and `requires-python = ">=3.12"`.) In...
Hi everyone, Previously, the FOTA (Firmware Over-The-Air) feature was implemented only as an internal example and was not accessible to users. With this PR, the Firmware OTA update functionality is...
### Description When sending telemetry data, each message incorrectly consumes two tokens from the message rate limit bucket instead of the expected one. This causes the client to hit the...
Hi, I want to implement the OTA firmware update on my device and I am using the TBDeviceMqttClient. I managed to configure Thingsboard to automatically receive the firmware update binary...
the get_firmware_update in tb_device_mqtt.py no longer works after v1.10.7: __updating_thread was removed after v1.10.7 AttributeError: 'TBDeviceMqttClient' object has no attribute '_TBDeviceMqttClient__updating_thread'. ``` def get_firmware_update(self): self._client.subscribe("v2/fw/response/+") self.send_telemetry(self.current_firmware_info) self.__request_firmware_info() self.__updating_thread.start() ```