Perfect, It worked for me:
client = MQTTClient(client_id, mqtt_server, keepalive=30) # Just added Keepalive=30
Hope will work for you on ESP8266/ESP32
Search found 1 match
- Tue May 17, 2022 7:52 pm
- Forum: Programs, Libraries and Tools
- Topic: umqtt.simple not working with mosquitto 2.0.12
- Replies: 6
- Views: 6964