Example #1
0
        private void Alarmed()
        {
            Logger.AddEvent(Self.Path.Name + " alarmed!");
            _physicalWebcam.Alarm();
            PhilipsHue.LightsOff();
            _pushBullet.PushNote("Webcam from home", "The webcam has been alarmed.");

            Receive <Disconnected>(connected => Become(Disalarmed));
        }