paho.mqtt.python
paho.mqtt.python copied to clipboard
paho.mqtt.python
Hi all: Sometimes my MQTT client needs to close its connection to the broker and immediately open a new one with a different client id, will message and subscriptions. That...
Change ConnectionError to more generic OSError. This allows client.py to catch more failures (such as socket timeouts) and gracefully reconnect in these cases. Also some minor cleanups in exception handling.
TLS-PSK
Hi, How do I configure TLS-PSK for use with paho.mqtt.python? tls_set does not have arguments for PSK options.
Hello, I have an issue by running the following code on a Raspberry Pi: ``` import paho.mqtt.client as mqtt BROKER_URL = "my.mqtt.broker" BROKER_PORT = 1883 BROKER_USERNAME = "test" BROKER_PASSWORD =...
My Env is: ``` Python 3.9.7 (default, Sep 16 2021, 08:50:36) [Clang 10.0.0 ] :: Anaconda, Inc. on darwin paho-mqtt==1.6.1 ``` I am trying to build an application that receives...
https://github.com/eclipse/paho.mqtt.python/blob/9782ab81fe7ee3a05e74c7f3e1d03d5611ea4be4/src/paho/mqtt/client.py#L3726 at here, the `Host` of header will be conbined with `host` and `port`. let's say if I want to connect to `wss://mqtt.example.com`, and I should write the code like...
We are currently investigating an issue in our software, and came across this weird construction that might or might not be related to the problems we're experiencing. In v1.6.1 the...
I modified [client_sub-class.py](https://github.com/eclipse/paho.mqtt.python/blob/master/examples/client_sub-class.py) to use MQTTv5 like below. However I got an error. Is there any way to use MQTTv5 for a class which inherits `mqtt.Client` class? My code (MQTTv5...
There seems to be an issue that is causing my codebase a deadlock that seem related to #168 and #235. when using version 1.4.0 of the project. I have a...