| | |
| | | }); |
| | | bool canRemote = false; |
| | | if (CommonPage.IsRemote) { |
| | | await SmartHome.MqttCommon.StartCloudMqtt (); |
| | | //await SmartHome.MqttCommon.StartCloudMqtt (); |
| | | SmartHome.MqttCommon.MqttRemoteSend (new byte [] { }, 3); |
| | | } |
| | | foreach (var gatewayFileName in gateWayList) { |
| | |
| | | if (UserConfig.Instance.CheckHomeGateways ()) { |
| | | if (!string.IsNullOrEmpty (UserConfig.Instance.CurrentRegion.HomeGateways[0].GatewayUniqueId)) { |
| | | Shared.SimpleControl.CommonPage.IsRemote = true; |
| | | await SmartHome.MqttCommon.StartCloudMqtt (); |
| | | //await SmartHome.MqttCommon.StartCloudMqtt (); |
| | | } |
| | | } |
| | | } |