//
        // Send the 'identify yourself' broadcast to the heatpump controller
        //
        private void Send_Identify()
        {
            System.Diagnostics.Debug.WriteLine("sending identify command");

            // Show the progress bar and dim the app
            ModalUtils.ShowProgressBar((DependencyObject)this, LayoutRoot);

            // Create the command to send
            HeatPumpIdentifyCommand identifyCommand = new HeatPumpIdentifyCommand();

            identifyCommand.command = "identify";
            identifyCommand.channel = App.ViewModel.settings.pushChannel.ChannelUri.Host + ":" +
                                      App.ViewModel.settings.pushChannel.ChannelUri.Port + ":" +
                                      App.ViewModel.settings.pushChannel.ChannelUri.AbsolutePath;

            NetworkFunctions.SendHeatpumpIdentify(identifyCommand);

            // Set the timeout for sending the command
            ModalUtils.timeoutTimer.Interval = TimeSpan.FromSeconds(15);
            ModalUtils.timeoutTimer.Tick += sendIdentifyTimeout;
            ModalUtils.timeoutTimer.Start();
        }
        // Send the 'identify' command as Json over the network
        public static void SendHeatpumpIdentify(HeatPumpIdentifyCommand heatpumpIdentify)
        {
            if (HomeWifiConnected())
            {
                heatpumpIdentify.channel = null;
            }

            SendJson(heatpumpIdentify);
        }