glacier991 Posted January 28 Posted January 28 I have been educating myself with help from the forum on geofencing and have been able to create a working geofence model. So, now I have a working geofence and have been able to use the boundary crossing to trigger events (at present, lights) using it. My question arises from a delay in the action triggered. I had tested out my programming, and lo and behold, it triggered on the lights...about 10 minutes after my arrival. Clearly there are considerations about delay. Any tips or suggestions on how to mitigate those, or give reasonable expectations for planning geofence use?
dbuss Posted January 29 Posted January 29 I have been educating myself with help from the forum on geofencing and have been able to create a working geofence model. So, now I have a working geofence and have been able to use the boundary crossing to trigger events (at present, lights) using it. My question arises from a delay in the action triggered. I had tested out my programming, and lo and behold, it triggered on the lights...about 10 minutes after my arrival. Clearly there are considerations about delay. Any tips or suggestions on how to mitigate those, or give reasonable expectations for planning geofence use?Was the 10 minute delay in geofence detecting you entering the geofence or was the 10 minute delay in the program triggering the lights after the geofence detected you entering the geofence? Sent from my SM-G998U using Tapatalk
Geddy Posted January 29 Posted January 29 @glacier991 Questions to learn more to try to help: What phone system are you using? Android or Apple? Are you using UD Mobile or another app/system to trigger boundary crossing? When testing is UD Mobile active on the screen, running in the background, or stopped/forced quit? If using UD Mobile while at the location go to Geofence and hit “Trigger Enter Command”. Is the result instant or delayed? How recently have you setup the Geofence? You might need to set 2 fences with one further out for some GPS signal delays. Have you rebooted your phone lately? (Random, but just a step in troubleshooting 101)
gzahar Posted January 29 Posted January 29 And make sure the GPS app is allowed to always use your location, not just when you use the app. Although this setting usually doesn’t result in delayed crossings, but misses them altogether. Could depend on the app though. 1
Javi Posted January 29 Posted January 29 18 hours ago, glacier991 said: I have been educating myself with help from the forum on geofencing and have been able to create a working geofence model. So, now I have a working geofence and have been able to use the boundary crossing to trigger events (at present, lights) using it. My question arises from a delay in the action triggered. I had tested out my programming, and lo and behold, it triggered on the lights...about 10 minutes after my arrival. Clearly there are considerations about delay. Any tips or suggestions on how to mitigate those, or give reasonable expectations for planning geofence use? Both Apple and Google say fences can be delayed by ~2 minutes, so this must be considered with setting the Geofence radius. Geofencing is broken at the Operating System Level for most Android Devices which is the reason UD Mobile on Android implements a location service. The Location Service is not as good as OS level Geofencing so either the polling needs to be triggered or your mobile device must connect/disconnect from WiFi before the Location Service will trigger a crossing. If using the Location Service you can increase/decrease polling intervals on fence crossings, so using multiple fences may make this more timely. 1
glacier991 Posted January 30 Author Posted January 30 (edited) Well, after reading the replies, I walked back through everything I had done to date. My Android Galaxy 23 was insured to have Location services always on! Here is the result, by my timing I entered the geo fence at 16 minutes past, almost exactly. When I got home it showed the geo fence bring triggered at 17:52, including the run program command. Not bad at all. I am taking the 2 minute suggestion of Javi as a rule of thumb when I want a desired result when I arrive home. I have increased my geofence radius to accomplish this. Thanks all. Everyone of you provided pieces of this solution. So grateful. On this new install I promised myself that if I encountered an issue I would not move forward until I had it fixed. I have another thread on the PLM and x10 reception I abandoned in violation of the promise to self.. And I got it solved too! A two-fer day. All thanks to information and ideas received here. Chris Edited January 30 by glacier991 Spell check!! 2
Recommended Posts