Goefencing - enter/exit when I start the app

Plarsson

Getting the hang of it
Joined
Aug 17, 2020
Messages
79
Reaction score
35
Location
Sverige
Hi,

I got geofencing setup on my system and in general it works quite well. However, sometimes when I start the app, it directly sense that Im inside or outside the geofence when Im actually not.
That is,
  • If Im inside the geofence and starting the app - > it thinks that Im outside the geofence and activates away profile
  • If Im outside the geofence and starting the app - > it thinks that Im inside the geofence and activates home profile

It is not always, just sometimes and it seems sporadically doing so. I think I tried most of the things to fix it
  • Updated both app and BI to latest
  • Reset geofence and added it again to my phone
  • Removed phone in BI and added it again
  • BI app has access to my location on my phone, and I have tried both with and without better precision using wifi and bluetooth.
  • BI app has permission to read location in background
  • Im not using any power saving functionality on my phone

I have a Samsung s10 with Android 11, also latest update.

Anyone having the same type of problem, or know something I can test to solve the problem?

Thanks!
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
747
Reaction score
735
Location
SF Bay Area
For the 2nd bullet, is this what you did to reset the geofence?

1633097954294.jpeg

After this reset it might be worth trying these steps:
  1. disable the geofence in the app (geofence radius = Off)
  2. reboot your device
  3. go outdoors and confirm your location using Google maps and/or a GPS app **
  4. set the geofence in the app using your device’s now confirmed location
** I like the GPS Status app. I wait for the app to show a strong fix and a minimum error.
 
Last edited:

Plarsson

Getting the hang of it
Joined
Aug 17, 2020
Messages
79
Reaction score
35
Location
Sverige
For the 2nd bullet, is this what you did to reset the geofence?

View attachment 103376

After this reset it might be worth trying these steps:
  1. disable the geofence in the app (geofence radius = Off)
  2. reboot your device
  3. go outdoors and confirm your location using Google maps and/or a GPS app **
  4. set the geofence in the app using your device’s now confirmed location
** I like the GPS Status app. I wait for the app to show a strong fix and a minimum error.
Yes, exactly that except the gps app, I used google maps only
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
747
Reaction score
735
Location
SF Bay Area
Bummer.

a few more thoughts...
  1. Is this geofencing behavior is something new - that is, did it work previously and now it's misbehaving?
  2. I had a thought that on restarting your device might be using its previous, not the current location.
    I guess we could eliminate this possibility if the problem persists when you repeatedly restart the device from the same location after confirming your location.
  3. If I understand correctly, geofence triggering on Android devices is managed by the operating system for all apps. Apps that use geofencing submit geofence requests & parameters to the OS. That said, maybe this is something specific to your device's current OS. Is the OS version up to date?
 

Plarsson

Getting the hang of it
Joined
Aug 17, 2020
Messages
79
Reaction score
35
Location
Sverige
1. It comes infrequently but always been like this. Installed the bi app on my wifes phone today and the problem is there as well!! Could it be a server side problem?

2. Yes

3. Latest version. Also latest on my wifes samsung s8.

Appreciate all the help!
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
747
Reaction score
735
Location
SF Bay Area
I've had my own struggles with geofencing on Android...

If you are handy with programming you try the ideas in this post...
 

Plarsson

Getting the hang of it
Joined
Aug 17, 2020
Messages
79
Reaction score
35
Location
Sverige
Well, I probably could if I had the time.

Too bad there arent any more data to get from the app such as current position, the defined geofence etc.
 
Top