owntracks / talk

Questions, talk about OwnTracks
32 stars 4 forks source link

HA And OwnTracks Always Updating Its Position? #178

Closed RGAxbaTJWGnBsGTdGbpx closed 7 months ago

RGAxbaTJWGnBsGTdGbpx commented 7 months ago

I'm reaching out here because I'm unsure whether this issue pertains specifically to iOS or if it's related to OwnTracks' capabilities.

I've been experimenting with OwnTracks and haven't found a clear answer to my question: "Will OwnTracks continue to update its location to my central server when it's not running in the background?"

My scenario is straightforward: I want to adjust my thermostat based on my proximity to home. Currently, the app works when it's in the foreground, but it stops updating its location when I switch to another app or force close it.

Additionally, I'm uncertain about which location update mode is best suited for my use case. Ideally, Move mode seems ideal due to its accuracy and ability to self-configure the frequency of location updates to the central server. However, Move mode only functions when the app is in the foreground, which undermines the purpose of my scenario, and it's unable to adjust the time or distance parameters.

Essentially, what I'm looking for is an application capable of consistently sending its location, alongside additional metadata such as a userID, regardless of whether it's active in the foreground, background, or not running in the background at all.

ckrey commented 7 months ago

I think your question has been discussed at length for iOS here: https://github.com/owntracks/ios/issues/776 tl;dr: no reporting if force closed (swipe out)

jpmens commented 7 months ago

Closing as answered.