Hubitat geo fence not updating Samsung S25

C8-Pro
2.4.3.137

I use 2 phones to determine if someone is home. For the last couple of months it has been very unreliable.

The phones are Samsung S25's. All the normal stuff has been checked... access all the time... battery not optimized, etc.

I have 2 simple rules. When each phone arrives or departs, a virtual switch is turned ON or OFF accordingly. (when it works).

Currently phone 1 is inside the geo fence.

The device page shows it NOT PRESENT.

Obviously the virtual switch did not change to ON because it is NOT PRESENT.

If I move the location somewhere and then back, it will update to PRESENT. I've even had luck enlarging the geo fence and it will update. I'm really as large as I want to go right now.

I have uninstalled the Hubitat App and reinstalled on each phone at least 3 different times.

We used to have Samsung S22's and never had this issue. That said, I can't tell if this is a Phone/Location issue or a Hubitat issue. Anyone have any ideas?

A couple things I have done in the past in this comment I made a while back.

I Highly recommend that GPS status app as a first thing to check. If your compass calibration is off, then it will cause presence sensing to go haywire (I have NO idea why the Google API cannot rely on your GPS coordinates and ignore the compass. But that is what it is). I mentioned it in the above link, but I just commented again on this with a picture of a "bad" compass calibration. (If you have just recently started using a magnetic mount, or case with a magnet closure, those will kill the compass calibration almost instantly)

ALSO, one other thing I found was related to the fact that I had my boundary set at a point where my phone had no cellular or wifi (or possibly where it was switching between the two.) This was causing me to be able to sneak out of the boundary. When I actually should have been triggering the switch to out or in boundary, the message couldn't get there because I had no network. It looks like you might be in a rural area too. I fixed that by increasing my boundary to a point where I knew I had coverage out of the house. This was affecting both Hubitat AND Tasker presence and might have been happening long before I realized this was also an issue.

I installed this and checked. It was green to start but I re-calibrated anyway. We'll see what happens.

My geofence is about a half mile. We do have sketchy cellular, but not bad enough to drop calls. My WIFI is strong and I can be outside and 300 feet away from the router and still have it.

I am...

I'm going to also try this. I turned ON Mobile Data always active. Might help with the scenario you mentioned about times it is switching...

Doing this on phone 1, not phone 2. I'll see if this makes a difference.

I got trapped going down the rabbit hole of all the other posts in your response!!! LOL.

EDIT: I did turn ON "use hub WIFI as present" about a week ago but that seems to do nothing...

It may bot be related but i have also seen were my phone mobile device abd hubitat got out of sync and stopped updating all together. The solution ended up being as follows.

  1. Log my phone out of the hubitat mobile app.
  2. Remove any phone device that was associated with my phone
  3. Log my phone back into the hubitat app and let it setup a new device.

After that it worked again.

It could easily not be the case but figured i would through that out there just in case.

1 Like

Thanks for the suggestion. I did uninstall the Hubitat App more than 3 times. Each time I reinstalled, I logged back in and I presumed it created a new device.

So far on phone 1, I took @tray_e 's advise and recalibrated the compass. Then I turned ON Mobile Data always active. So far (only a couple hours), phone 1 is staying present where phone 2 changed to Not Present 2 hours ago. It has been sitting on the counter for the last 4 hours.

Sometimes (after updates or losing power long enough to have to shut the hub down), I have to just go into hubitat for the presence sensors and just tap "arrived" or "departed" (as applicable) to resync my devices. I totally forgot about that as it has not happened in a while.

1 Like

No luck on the above testing... Phone 1 has not left the geofence for 48 hours, yet it still changed to NOT PRESENT. Have you tried using Amazon Alexa INSTEAD for presence/arrival/departure? I'm not sure where/how it gets its location information....

Is there a way to see the logs for the cell phone "Present" "Not Present"? When I look under the device information, the logs are always blank.

I have the same issues on my S24U and C-7 hub. The hubitat app shows me as inside the geofence, yet is marked as not present.

It's been roughly a month of seemingly random "not present" alerts while at the house. All other presence sensors seem to be functioning normally, only the hubitat app is having issues.

Issue has continued through an android OS update, hubitat app update, hub update, even a switch to the beta app.

Mine worked fine as well until a month or so ago as well. I thought about going to Own Tracks but seems more involved than I want to get. Looking into an Alexa Routine but not sure how reliable that will be either...

I also use owntracks. It has been pretty solid, outside of a weird double update situation that I'm pretty sure is caused by my wifi range.

I may need to decide if I want to remove the hubitat app from my Combined Presence combiner for a while

Did you find Own Tracks difficult to set up? I thought I read I need a server for it to work...

Removed my Presence rules from Hubitat and went with Alexa Routines for each phone. Only one day so not a big sample, but so far we are present when home and not present when gone......

I've also been experiencing random departure/arrival triggers for both of our phones. I thought it corresponded with the latest Android update, but it sounds like others have the issue as well.

My solution was to remove the Hubitat app from Combined Presence and rely on Own Tracks and Wi-Fi until I feel like doing more troubleshooting (not high on my list :joy:).

Update: Yeah it's only day 2, BUT, presence is working perfectly coming and going. Only thing I'm using to trigger a virtual switch is the Amazon Alexa Routine. So it seems that something is "OFF" with the Hubitat Geofence....

The hardest part was reading all the way through the community thread.

It seems intimidating at first, but it's just an app on your phone connected to the app on hubitat hub

1 Like