TriLife Posted June 4, 2023 Posted June 4, 2023 Greetings, With @Jimbo.Automates's help I solved the conditional use (evening) of GeoFence triggering a program. So here's the next one that has me stomped: I would like GeoFence to only trigger routines when I'm coming home by CAR and not when I'm walking my dogs or otherwise crossing the boundary... When I'm in the car, my Pixel 6a (android) is connected to my car's Android via BT. That could be one way to differentiate between walking/biking and driving. Can this condition be polled prior to sending a message to eISY? The other potential option would be to install UD Mobile on my car, but it being a relatively ancient Android 6 or 7, I'm not sure it can handle it. Also, it would require that my phone be to connected via WiFi hotspot, or that I install a SIM chip in the car, the latter associated with additional monthly costs (if it's even possible)... Not a huge priority, because I usually don't walk my dogs at night, rather a nice to have or a feature request... That brings up another related point: are there plans for a restricted version of UD Mobile with a simplified UI, to install in a car or a family member's phone? Cheers.
MrBill Posted June 4, 2023 Posted June 4, 2023 Make multiple concentric geofences, such as a larger "neighborhood" and smaller "home". Then construct your program(s) such that the larger "neighborhood" boundary must be crossed first. 1
TriLife Posted June 4, 2023 Author Posted June 4, 2023 30 minutes ago, MrBill said: Make multiple concentric geofences, such as a larger "neighborhood" and smaller "home". Then construct your program(s) such that the larger "neighborhood" boundary must be crossed first. Thanks for putting me on the right track @MrBill, Like maybe starting a counter when breaching the neighborhood fence and testing for it still being active when the smaller home fence is breached... And then reset all counters/timers/variables. I'll give that one a spin later on today. Roads are closed for a bicycle race (almost weekly occurrence here in suburban Colombia). Cheers
Javi Posted June 7, 2023 Posted June 7, 2023 On 6/4/2023 at 8:29 AM, TriLife said: When I'm in the car, my Pixel 6a (android) is connected to my car's Android via BT. That could be one way to differentiate between walking/biking and driving. Can this condition be polled prior to sending a message to eISY? On Android I believe you can use Tasker to trigger Bluetooth connected/disconnected and for transportation modes (or whatever it is called) like biking, walking, and driving. The former should be easy to implement and track by updating a variable using REST. The latter is based on a percentage of confidence which may be more difficult. Currently these items are not on our list for UD Mobile. On 6/4/2023 at 8:29 AM, TriLife said: The other potential option would be to install UD Mobile on my car, but it being a relatively ancient Android 6 or 7, I'm not sure it can handle it. Also, it would require that my phone be to connected via WiFi hotspot, or that I install a SIM chip in the car, the latter associated with additional monthly costs (if it's even possible)... We had UD Mobile working with Android Auto in the past but Google rejected our app as it did not fall into the accepted Android Auto categories. They recently added a category which may allow us to resubmit, although I do not have a timeline. On 6/4/2023 at 8:29 AM, TriLife said: That brings up another related point: are there plans for a restricted version of UD Mobile with a simplified UI, to install in a car or a family member's phone? Cheers. Currently a user can hide items then lock edits. For example, add items you would like the family member to access to Favorites, hide the system on the Home Tab, then disable edits. Now they only have access to Favorites and will not be able to change anything on the Home Tab, Admin Tab, Settings Tab, or any Top Menu. 1
Jimbo.Automates Posted June 11, 2023 Posted June 11, 2023 UD Mobile in Android auto would be awesome! Especially if notifications came through as well. I currently have to use telegram to get important notifications so they show up on Android auto.Sent from my Pixel 6 Pro using Tapatalk
TriLife Posted June 11, 2023 Author Posted June 11, 2023 So, yesterday i finally got to use the GeoFence when coming home at night. Instead of triggering when I entered the designated area (200m from location of my home), the routine didn't trigger until I got home and my android phone connected to Wifi. Although I do have LTE reception the whole way. I do have UD location services turned on, set to the default polling interval of 30mins... O do have Google location services turned on as well, btw. Any ideas? Cheers
Javi Posted June 11, 2023 Posted June 11, 2023 2 hours ago, TriLife said: So, yesterday i finally got to use the GeoFence when coming home at night. Instead of triggering when I entered the designated area (200m from location of my home), the routine didn't trigger until I got home and my android phone connected to Wifi. Although I do have LTE reception the whole way. I do have UD location services turned on, set to the default polling interval of 30mins... O do have Google location services turned on as well, btw. Any ideas? Cheers Android OS Geofencing is broken on most devices, see this post, so UDM has its own location service. Usually if you have Google navigation (Maps) running Android OS geofence should trigger within 2 minutes, if not then UDM location services will update at the polling interval or whenever WiFi connects or disconnects. Disconnect waits some time to allow exist of fence. So, If Android OS Geofencing is broken on your device you have a few options such as running Google Maps cuando estas en auto or adding additional fences . Add additional fences with larger/smaller radiuses which increase/decrease polling interval. For example add multiple larger geofences which on enter sets polling interval lower and on exist sets polling interval higher, then when entering the "real" fence set polling back to default. 1
Recommended Posts