/// <inheritdoc /> public async Task Activate() { if (_screenMirrorAlgorithm == ScreenMirrorAlgorithm.ScreenMirrorFit || _screenMirrorAlgorithm == ScreenMirrorAlgorithm.ScreenMirrorStretch) { //For screen mirror, we need to enable external control await _nanoleafClient.ExternalControlEndpoint.PrepareForExternalControl(_orchestrator.PanelLayout.DeviceType, _orchestrator.Device.IPAddress); } //Start the screengrabber ScreenGrabber.Start(); _timer.Start(); }