diff --git a/Service/Cloud/Client/CloudClient.cs b/Service/Cloud/Client/CloudClient.cs index b539ec2..d805b61 100644 --- a/Service/Cloud/Client/CloudClient.cs +++ b/Service/Cloud/Client/CloudClient.cs @@ -343,7 +343,10 @@ public class CloudClient : IMqttClientConnectedHandler, IMqttApplicationMessageR { Log.Info("cloud disconnect"); Connected = false; - + if (AutoReConnect) + { + Connect(); + } return Task.CompletedTask; }