Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

paho mqtt reconnect in python

You can use reconnect and reconnect_delay_set to reconnect to the broker again.

client.reconnect()
client.reconnect_delay_set(1,30)
Source by github.com #
 
PREVIOUS NEXT
Tagged: #paho #mqtt #reconnect #python
ADD COMMENT
Topic
Name
3+7 =