Routine Ignoring Presence Device and Location - Please Help?

Hi All,

I hope someone can help me resolve a presence issue I have started to have. Here is the scenario:

My wife and I both have Samsung mobile devices, I am the owner of the Home Location and my wife is a member. I have a routine that iF both devices leave the geolocation of our house, the SHM is set to Armed (Away), if one person arrives back home, SHM disarms, if only one person leave, SHM remains in the disarmed state.

This routine has worked for years, but I have just recently noticed that if my wife leaves the house alone, SHM changes to Armed (Away), despite me still being at home. When I check the location of my device on the app under Life - Find, I can see my device is with me at home

It appears to be ignoring the presence of my device, and it thinks we have both left the location.

I checked the routine and it is definitely set to ‘When All Members Leave’, and it shows both myself and my wife. I’ve checked the settings on my St app and the ‘Get your location from this phone’ is ON.

Yesterday, I deleted the routine entirely and rebuilt it, to no avail. I also logged into the my.smartthings Web app and looked at the Advanced Users section, and I could see my device, you can see below just now:

My understand is it is in there twice, once for the device and once for the presence sensor,

Yesterday, I disabled the ‘Get you location from this phone’, and it disappeared from the above list, I then re-enabled it in the hope that might clear a stuck status, but no.

I can’t think of anything else to try, other than potentially rebuilding my Home location / resetting my hub, but I want to avoid that due to all the integrations I have, routines etc I have in STs

Any help or ideas would be greatly appreciated, as this is currently breaking my security system for my home.

Thanks!

Turn it off on all devices, wait a minute and turn it back on. You have to check the routines afterwards.

What you need to do is use the Advanced Web App (or some other tool capable of reading the API) to look at the details of your phone device (the one that’s in your Location)
You want to know if the presenceSensor capability’s presence attribute is present or not present as that is what counts when it comes to the Member Location in Routines. It could be it is currently stuck on Not Present.

It is a mystery why the mobile app doesn’t tell us what the current location status of each member is, especially as they have a section in the Location settings especially for Members but no, they completely hide the device from the app.

Please don’t reset your hub.

I have noticed that since the last release I am loosing reporting of geo-location presence at all. Tried all the usual on/off/reboot fixes but just doesn’t want to report an away state.

Not the first time this has happened and in the past it has resolved so :crossed_fingers: it will this time…

In the mean time I am using, and can recommend, the WiFi edge driver made by @dotan_shai. Works a treat and is reliable…

(with some routines to set location mode and arm/disarm STHM)

If the presence isn’t seen to be changing for your phone on arrival and departure, check things like battery optimisation for the SmartThings app. You need it to be running in the background to be able to receive geofence events from your phone’s location services.

The app used to be particularly good at checking the settings when turning location access on and off. Not so much now, I feel.

Unlikely as it may seem, also play with the geofence radius in your Location settings.

Thanks for the shout-out, @TheHundredthIdiot! :folded_hands: Glad it’s working well for you, and using it for location mode and STHM arm/disarm is exactly what it’s built for :+1:

For anyone else here whose geofence presence stopped reporting “away”: WiFi Presence SD runs locally on the hub and doesn’t depend on the SmartThings app or phone location, so app updates don’t affect it. Details and setup are here:

A tip for arm/disarm routines: set Away after to about 10 minutes, so a sleeping phone never triggers a false “away” :locked:

I set up a virtual presence sensor tied to the phone presence, and used that instead for all my routines. That gives me visibility of my status (and manual control if I need to force it on/off), and if it stops updating and I have to flip the setting, I only have two routines that need to be re-linked.

For each member, I use phone presence to set a virtual presence sensor to represent the ST derived home presence, and then use that one to set the virtual presence sensor I use in Rules, with the option of combining the SmartThings sourced presence with a virtual presence sensor I set from a private Google Home household (or any other presence sources I might come up with).

I also use the phone presence to set virtual presence sensors for three non-overlapping Geoplaces (known as Linked Places in the app) and to make sure only one out of the three and the home thinks I am present (if I am present in Geoplace A I am not present in B, C or at home).

There is also a virtual presence sensor set from the shared Google Home household which I could, if I wish, also use in Routines that work with ‘all away’ or ‘someone home’.

Thanks for all the suggestions. I would appear that after 3-4 years of perfectly working presence and routine, that battery optimisation was turned on for the ST app, as soon as I set it to unrestricted, it started to work. I created a virtual switch for my presence to turn it on and off based on being in and out of the house respectively. I created a notification to tell me when that changed, and the first 3 times i left my house, it triggered each time go and coming home.

Appreciate the suggestions!