Arm Hubitat Safety Monitor to Away

I'm slowly replacing my current security system and a wink hub. Is there a way to use Geofencing to arm the Hubitat Safety Monitor to away. I currently do this with Ismart Alarm and IFTTT and it works out well. I also have the rule disarm the alarm when I come back into the geofenced area. that would be really nice too.

I looked around and I went into the rule machine app. I saw a trigger for location but either that's not what it's for or I just don't understand how to use it.

Yes. That is what I do except I use two Iris Smart Fobs as presence detectors. I could use the Hubitat app and our phones, but we already had the Fobs.

This is the rule I use (thanks to Bruce for showing me how):

It has been very reliable. It is not easy to find the IF/THEN, ELSE, and ENDIF statements, but they are there, just not at the top level so you have to look for it. This second picture should help:

The orange FALSE indicates the current state of presence. Since we are home, the evaluation is FALSE. If we were away, it would change to TRUE. That threw me a bit at first until I realized what was happening.

You can also use the mode manager app to set your hub to away mode based on presence sensors, including your phone if you install the hubitat mobile app.

Then you can set hubitat safety monitor to arm/disarm based on mode changing to/from away.

If you use rule machine to arm/disarm HSM based on presence directly, you’ll also want to install the mobile app for access to geolocation. There are other ways to use geolocation with your phone, but might as well start simple with the hubitat app’s geolocation feature.

1 Like

thanks all this is a new system but I'll get the hang of it :slight_smile: . I used to use stringify before they called it quits and man do I miss that.

Definitely read through the documentation for the various built-in apps, and if you try to get a handle on how to create automations without jumping straight to rule machine, you may find things are a little easier to wrap your head around.

Rule machine is great though for creating logic that can’t be easily accomplished with other apps like mode manager, simple lighting, thermostat scheduler, etc.

Perhaps I should explain why I am not using mode manager with presence to arm/disarm. I found that it conflicted with what I wanted to do with my thermostat. I use the modes with the thermostat since I was having problems with the day/night schedule based on times. With modes, it is working well. The problem was when the Mode Manager switched from night to day, it was disarming the HSM from night mode, even though that was not what I wanted.

Setting up the rule for presence to use with the HSM was not trivial and were it not for the help I received from Bruce, I could not have done it. It is reliable. I don't use the geofence with the Android app, but I could. If I did not already have the smart fobs, I would.