It’s a (very) long read but you can find lost’s of information about using your Homey as a Surveillance system in the Heimdall topic, including several methods to Arm and Disarm
(TIP: It features a Delayed Alarm function that can mitigate the problem of a first method of disarming failing/unavailable giving you the opportunity to use an alternative method of disarming)