-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
esp8266/Arduino
#6454Labels
bugType - Confirmated BugType - Confirmated BugfixedResult - The work on the issue has endedResult - The work on the issue has ended
Description
Hi
It is a known Tasmota issue (Wiki) that when a Sonoff try to connect to a MQTT server that is DOWN (IP and Port, both down), the pubsubclient library hangs for 5 second on each reconnection attempt making a Sonoff unresponsive.
So, looking for a work around for this, found this other MQTT Library (https://github.com/i-n-g-o/esp-mqtt-arduino). I tested on ESP8266 and with Home Assistant, and it has no lag when losing connection to MQTT Server. It has a different approach for conecting to an MQTT Server that is not using the wificlient library like pubsubclient.
What about changing the library so as to make Tasmota faster?
Metadata
Metadata
Assignees
Labels
bugType - Confirmated BugType - Confirmated BugfixedResult - The work on the issue has endedResult - The work on the issue has ended