mirror of https://github.com/arendst/Tasmota.git
Fixed MQTT Reconnection Bug
If you restart your wifi router, and you have Tasmota_MQTT Library with wificonfig 5, Tasmota don't realize of this MQTT disconnection.
This commit is contained in:
parent
fd06097095
commit
4325d51824
|
@ -109,7 +109,8 @@ TasmotaMqtt MqttClient;
|
|||
|
||||
bool MqttIsConnected()
|
||||
{
|
||||
return mqtt_connected;
|
||||
//return mqtt_connected;
|
||||
return MqttClient.Connected();
|
||||
}
|
||||
|
||||
void MqttDisconnect()
|
||||
|
|
Loading…
Reference in New Issue