thingsboard-python-client-sdk
thingsboard-python-client-sdk copied to clipboard
ThingsBoard client Python SDK
https://github.com/thingsboard/thingsboard-python-client-sdk/blob/7af180c260d4567de2c4af32e2bf297d512f7ca6/tb_gateway_mqtt.py#L149
I've tested Thingsboard API (HTTP using JMeter) with very good results. Now I've been asked to do the same using MQTT. I’m using the docker image described in https://thingsboard.io/docs/user-guide/install/docker/ For...
I've just installed today this library but when trying to run I was getting an error: ``` File "/home/alr/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 979, in connect_async if port
I try to use the tb_device_mqtt library together with the asyncronous opc-ua library asyncua and asyncio.Queue(). With the standard paho-mqtt library the sending of the data works fine. With tb_device_mqtt...
Compared to the Client object from paho.mqtt.client , the TBDeviceMqttClient object does not support the function **proxy_set** to set a proxy server. Workaround is: tb_client = TBDeviceMqttClient(...) tb_client.**_client**.proxy_set(proxy_type=socks.HTTP, proxy_addr="...", proxy_port=...)...
Installing tb-mqtt-client results in the following files in python's `site-packages` directory: ``` __init__.py sdk_utils.py tb_device_http.py tb_device_mqtt.py tb_gateway_mqtt.py utils.py ``` This gives me a few concerns: * The `__init__.py` file at...
After the last commit (7b1ffcc2cdcaa6ee4073f5feaf3085dd59ee84b2), import of `sdk_utils` or anything which depends on it (`tb_device_mqtt` & `tb_gateway_mqtt`) will result in attempted installation of `mmh3`/`pymmh3` via pip. This is counter-intuitive and...
Everything works fine if the timestamp is not included, but when I try to use the function from https://thingsboard.io/docs/reference/python-client-sdk/#using-gateway-apis it gives me an error in ThingsBoard platform logs (using `sudo...
the official example as below: ``` from psutil import cpu_percent, virtual_memory from time import sleep from tb_device_mqtt import TBDeviceMqttClient # dependently of request method we send different data back def...
We're suddenly getting errors today causing gateway to look like fine (logs continue to show incoming messages) but message never seem to reach thingsboard. ``` ""2024-06-18 04:37:41" - |ERROR| -...