Arming and disarming the system
We've included a switch on our Web-based control panel so that you can arm and disarm the system from your smartphone. However, this is probably not the most convenient way of doing it, especially when you're rushing out of the house, or you've returned home with a phone whose battery is flat. So, we need to find an additional way of arming and disarming our system at the entry and exit point of our property.
In the zone list table in the previous chapter, you'll notice that I assigned input GP0 on the Raspberry Pi GPIO as our arm/disarm switch input. This input will work in conjunction with our control panel switch.
This input can as be a simple as a toggle switch, or a bit more secure, such as a key switch or electronic keypad. Either way, it will be wired to ground GP0 (GPIO17) on our Raspberry Pi when the system is armed.
If you have switches or other such devices that will be outside and exposed to the elements...