Simple assign some time for keep alive argument...
eg->
from umqtt.simple import MQTTClient
client = MQTTClient("client_id", "192.168.0.xxx", port=1883, user=None, password=None, keepalive=30, ssl=False, ssl_params={})
client.on_connect = on_connect
client.connect()
Search found 1 match
- Wed Feb 16, 2022 8:19 am
- Forum: Programs, Libraries and Tools
- Topic: umqtt.simple not working with mosquitto 2.0.12
- Replies: 6
- Views: 6959