owntracks / ios

OwnTracks' iPhone App
http://owntracks.org
Other
331 stars 91 forks source link

OwnTracks not providing notifications #795

Closed dhitchenor closed 1 month ago

dhitchenor commented 3 months ago

Hi @ckrey

First things, first; nice work on the app, I saw the FLOSS weekly talk with @jpmens and I believe his praises were certainly justified.

I've been toying with OwnTracks and Mosquitto, I personally use android which seems to be working fine, however, there is user that uses my infrastructure whom uses the OwnTracks iOS app. Their issue is that OwnTracks does not provide any notifications; all their other apps do. Notifications, like entering and exiting regions are fairly important to this user.

They are using the latest version of the iOS app, the server runs Mosquitto 2.0.18, (without TLS for now.. for testing), Mosquitto runs dynamic security, and an ACL file, both of which seem to be working fine. Notifications for the OwnTracks app are turned on, in the settings locally on their phone.

What are you're thoughts?

ckrey commented 3 months ago

@dhitchenor thanks for reporting Notifications used to work well for a long time but there seems to be an issue wirh the latest iOS update. Need to investigate.

Would you be so kind the enable the history tab by setting “maxHistory” to a value > zero, e.g. 100

The you can check if the events are not received at all or if just the notifications did not work.

jpmens commented 3 months ago

I thought lack of notifications was on my iPhone only (13 mini, iOS 17.4.1)...

History is enabled here, and you'll recognize this last notification I got:

07.06.24 22:42:49  XX enters SP34
jpmens commented 3 months ago

and of course (how could it be different with computers), moments after writing the above, I see

rabbit-11046

ckrey commented 3 months ago

But the latter is Pushover, not OwnTracks

jpmens commented 3 months ago

The icon is blue; is there a difference? 🤦 Sorry for the noise.

jpmens commented 3 months ago

image

Here's one.

dhitchenor commented 3 months ago

I thought lack of notifications was on my iPhone only (13 mini, iOS 17.4.1)...

History is enabled here, and you'll recognize this last notification I got:

07.06.24 22:42:49  XX enters SP34

Hi @jpmens, I appreciate your reply; its good to know that this isn't a localised issue.

@dhitchenor thanks for reporting Notifications used to work well for a long time but there seems to be an issue wirh the latest iOS update. Need to investigate.

Would you be so kind the enable the history tab by setting “maxHistory” to a value > zero, e.g. 100

The you can check if the events are not received at all or if just the notifications did not work.

Hi @ckrey,

I'll update you, once I've had the opportunity to follow your instructions.

dhitchenor commented 3 months ago

Hi @ckrey,

We've turned on history, the history tab appeared.

It remains blank, and we've been moving in and out of a region.

Logs are as follows (some things might be a little weird, as I had to sanitise it):

2024-06-09T20:44:38.041Z  [OwnTracking] processed location for friend owntracks/some__one/android_phone
2024-06-09T20:44:38.044Z  [OwnTracking processLocation] waypoint added number.6293,number.402 (±15 m) ✈︎150 m (±1 m) 0 km/h 0 deg. 5/6/2024, 17:26:50 5/6/2024, 18:03:01 1%
2024-06-09T20:44:38.044Z  [OwnTracking] processed location for friend owntracks/some___one/some___oneandroid_tablet
2024-06-09T20:44:38.046Z  [OwnTracking processLocation] waypoint added number.3965,number.06 (±35 m) ✈︎17 m (±12 m) - 0 deg. 6/6/2024, 06:23:52 6/6/2024, 06:24:21 87%
2024-06-09T20:44:38.046Z  [OwnTracking] processed location for friend owntracks/someone/iPhone11
2024-06-09T20:44:38.049Z  [OwnTracking] processed card for friend friend owntracks/some__one/android_phone
2024-06-09T20:44:38.050Z  [OwnTracking] processed card for friend friend owntracks/some___one/some___oneandroid_tablet
2024-06-09T20:44:40.786Z  [LocationManager] set monitoring=1
2024-06-09T20:44:40.790Z  [LocationManager] set monitoring=1
2024-06-09T20:44:40.794Z  [LocationManager] set monitoring=1
2024-06-09T20:44:40.814Z  [Connection] sendData(801):owntracks/someone/AppleiPhone11/dump {"_type":"dump","configuration":{"_type":"configuration","allowinvalidcerts":false,"allowRemoteLocation":true,"auth":true,"cleanSession":false,"clientId":"someone iPhone","clientpkcs":"","cmd":false,"deviceId":"AppleiPhone11","downgrade":0,"encryptionKey":"","extendedData":true,"host":"host_site","ignoreInaccurateLocations":0,"ignoreStaleLocations":0,"keepalive":60,"locatorDisplacement":200,"locatorInterval":180,"locked":false,"maxHistory":100,"mode":0,"monitoring":1,"mqttProtocolLevel":4,"osmCopyright":"","osmTemplate":"","passphrase":"","pas__ord":"pas__ord","port":1883,"positions":50,"pubQos":1,"pubRetain":true,"pubTopicBase":"","ranging":false,"sub":true,"subQos":1,"subTopic":"","tid":"__","tls":false,"usePas__ord":true,"username":"someone","waypoints":[],"ws":false}} q1 r0
2024-06-09T20:44:40.819Z  [Connection] sendData mid=6
2024-06-09T20:44:40.891Z  [Connection] messageDelivered mid=6
2024-06-09T20:44:41.878Z  [LocationManager] set monitoring=1
2024-06-09T20:44:41.882Z  [LocationManager] set monitoring=1
2024-06-09T20:44:41.887Z  [LocationManager] set monitoring=1
2024-06-09T20:44:41.906Z  [Connection] sendData(801):owntracks/someone/AppleiPhone11/dump {"_type":"dump","configuration":{"_type":"configuration","allowinvalidcerts":false,"allowRemoteLocation":true,"auth":true,"cleanSession":false,"clientId":"someone iPhone","clientpkcs":"","cmd":false,"deviceId":"AppleiPhone11","downgrade":0,"encryptionKey":"","extendedData":true,"host":"host_site","ignoreInaccurateLocations":0,"ignoreStaleLocations":0,"keepalive":60,"locatorDisplacement":200,"locatorInterval":180,"locked":false,"maxHistory":100,"mode":0,"monitoring":1,"mqttProtocolLevel":4,"osmCopyright":"","osmTemplate":"","passphrase":"","pas__ord":"pas__ord","port":1883,"positions":50,"pubQos":1,"pubRetain":true,"pubTopicBase":"","ranging":false,"sub":true,"subQos":1,"subTopic":"","tid":"__","tls":false,"usePas__ord":true,"username":"someone","waypoints":[],"ws":false}} q1 r0
2024-06-09T20:44:41.910Z  [Connection] sendData mid=7
2024-06-09T20:44:41.950Z  [Connection] messageDelivered mid=7
2024-06-09T20:44:42.869Z  [OwnTracksAppDelegate] connectionOff
2024-06-09T20:44:42.869Z  [Connection] disconnect
2024-06-09T20:44:42.869Z  [Connection] state closing (4)
2024-06-09T20:44:42.871Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-09T20:44:42.871Z  [Connection] state closed (5)
2024-06-09T20:44:42.871Z  [Connection] state starting (0)
2024-06-09T20:44:42.881Z  [LocationManager] set monitoring=1
2024-06-09T20:44:42.884Z  [LocationManager] set monitoring=1
2024-06-09T20:44:42.888Z  [LocationManager] set monitoring=1
2024-06-09T20:44:42.899Z  [OwnTracksAppDelegate] reconnect
2024-06-09T20:44:42.899Z  [Connection] disconnect
2024-06-09T20:44:42.900Z  [Connection] state closing (4)
2024-06-09T20:44:42.900Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-09T20:44:42.900Z  [Connection] state closed (5)
2024-06-09T20:44:42.900Z  [Connection] state starting (0)
2024-06-09T20:44:42.905Z  [Connection] someone iPhone connectTo: someone:<pas__d>@host_site:1883 v4 MQTT PLAIN (60) c0 / owntracks/someone/AppleiPhone11 {"_type":"lwt","tst":1717965883} q1 r0 as someone iPhone 0 (null)
2024-06-09T20:44:42.905Z  [Connection] state connecting (1)
2024-06-09T20:44:42.955Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-09T20:44:42.955Z  [Connection] connected sessionPresent 0
2024-06-09T20:44:42.955Z  [Connection] state connected (3)
2024-06-09T20:44:53.140Z  [Connection] idle
2024-06-09T20:44:57.228Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:44:59.836Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:44:59.836Z  [Connection] connectToLast
2024-06-09T20:44:59.836Z  [Connection] not starting (3), can't connect
2024-06-09T20:44:59.844Z  [LocationManager] startBackgroundTimer
2024-06-09T20:45:07.100Z  [OwnTracksAppDelegate] sendEmpty
2024-06-09T20:45:07.102Z  [Connection] sendData(0):owntracks/someone/AppleiPhone11  q1 r1
2024-06-09T20:45:07.112Z  [Connection] sendData mid=8
2024-06-09T20:45:07.139Z  [Connection] messageDelivered mid=8
2024-06-09T20:45:09.846Z  [LocationManager] Location: <number.39656251,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 06:45:05 Timezone last: <number.39656067,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 06:44:59 Timezone Δs:6.011133/180.000000 Δm:0.204090/200.000000
2024-06-09T20:45:11.942Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:45:12.524Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:45:12.524Z  [Connection] connectToLast
2024-06-09T20:45:12.524Z  [Connection] not starting (3), can't connect
2024-06-09T20:45:12.526Z  [LocationManager] startBackgroundTimer
2024-06-09T20:45:12.527Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:45:22.529Z  [LocationManager] Location: <number.39656251,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 06:45:14 Timezone last: <number.39656067,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 06:45:12 Timezone Δs:1.881697/180.000000 Δm:0.204090/200.000000
2024-06-09T20:45:33.529Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:45:33.529Z  [Connection] connectToLast
2024-06-09T20:45:33.529Z  [Connection] not starting (3), can't connect
2024-06-09T20:45:33.533Z  [LocationManager] startBackgroundTimer
2024-06-09T20:45:42.603Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:45:43.477Z  [OwnTracksAppDelegate] applicationDidEnterBackground
2024-06-09T20:45:43.478Z  [Connection] disconnect
2024-06-09T20:45:43.478Z  [Connection] state closing (4)
2024-06-09T20:45:43.479Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-09T20:45:43.479Z  [Connection] state closed (5)
2024-06-09T20:45:43.479Z  [Connection] state starting (0)
2024-06-09T20:45:43.787Z  [LocationManager] Location: <number.39656067,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 06:45:42 Timezone last: <number.39656067,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 06:45:42 Timezone Δs:0.000000/180.000000 Δm:0.000000/200.000000
2024-06-09T20:51:06.003Z  [Connection] idle
2024-06-09T20:51:06.319Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:51:06.319Z  [Connection] connectToLast
2024-06-09T20:51:06.319Z  [Connection] state connecting (1)
2024-06-09T20:51:06.327Z  [LocationManager] startBackgroundTimer
2024-06-09T20:51:06.433Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-09T20:51:06.433Z  [Connection] connected sessionPresent 1
2024-06-09T20:51:06.433Z  [Connection] state connected (3)
2024-06-09T20:51:16.326Z  [LocationManager] Location: <number.39656251,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 06:51:14 Timezone last: <number.39656067,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 06:51:06 Timezone Δs:8.469078/180.000000 Δm:0.204090/200.000000
2024-06-09T20:51:56.697Z  [Connection] idle
2024-06-09T20:52:01.068Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:52:01.606Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:52:01.606Z  [Connection] connectToLast
2024-06-09T20:52:01.606Z  [Connection] not starting (3), can't connect
2024-06-09T20:52:01.610Z  [LocationManager] startBackgroundTimer
2024-06-09T20:52:01.629Z  [LocationManager] Location: <number.39681707,+number.05964197> +/- 5.07m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:52:01 Timezone last: <number.39680481,+number.05964197> +/- 5.07m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:52:01 Timezone Δs:-0.617188/180.000000 Δm:1.359100/200.000000
2024-06-09T20:52:02.038Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:52:02.617Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:52:02.617Z  [Connection] connectToLast
2024-06-09T20:52:02.617Z  [Connection] not starting (3), can't connect
2024-06-09T20:52:02.621Z  [LocationManager] startBackgroundTimer
2024-06-09T20:52:02.626Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:52:02.654Z  [LocationManager] Location: <number.39681707,+number.05964197> +/- 5.07m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:52:02 Timezone last: <number.39680481,+number.05964197> +/- 5.07m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:52:02 Timezone Δs:-0.651728/180.000000 Δm:1.359100/200.000000
2024-06-09T20:52:06.884Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:52:06.884Z  [Connection] connectToLast
2024-06-09T20:52:06.884Z  [Connection] not starting (3), can't connect
2024-06-09T20:52:06.888Z  [LocationManager] startBackgroundTimer
2024-06-09T20:52:06.915Z  [LocationManager] Location: <number.39681707,+number.05964197> +/- 5.05m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:52:06 Timezone last: <number.39680481,+number.05964197> +/- 5.05m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:52:06 Timezone Δs:-0.894493/180.000000 Δm:1.359100/200.000000
2024-06-09T20:52:56.694Z  [Connection] idle
2024-06-09T20:53:56.694Z  [Connection] idle
2024-06-09T20:54:30.037Z  [OwnTracksAppDelegate] sendRegion <Region: 0x282909fe0> (entity: Region; id: 0x280b59780 <x-coredata:///Region/tF493E135-37DA-47FC-8DB1-E73CBBF5C41D58>; data: {
    belongsTo = "0x280b6e000 <x-coredata:///Friend/tF493E135-37DA-47FC-8DB1-E73CBBF5C41D57>";
    lat = "number.396475";
    lon = "number.0596";
    major = 0;
    minor = 0;
    name = "someone\U2019s House";
    radius = 18;
    rid = 625f62;
    tst = "2024-06-09 20:53:39 +0000";
    uuid = "";
})
2024-06-09T20:54:30.041Z  [Connection] sendData(119):owntracks/someone/AppleiPhone11/waypoint {"_type":"waypoint","desc":"someone’s House","lat":number.396475,"lon":number.0596,"rad":18,"rid":"625f62","tst":1717966419} q1 r0
2024-06-09T20:54:30.051Z  [Connection] sendData mid=9
2024-06-09T20:54:30.078Z  [Connection] messageDelivered mid=9
2024-06-09T20:54:56.693Z  [Connection] idle
2024-06-09T20:55:42.473Z  [OwnTracksAppDelegate] sendRegion <Region: 0x282966b20> (entity: Region; id: 0x280b84d40 <x-coredata:///Region/tF493E135-37DA-47FC-8DB1-E73CBBF5C41D60>; data: {
    belongsTo = "0x8a7fb7efb89c13f5 <x-coredata://0EC31EE2-7DA9-40F2-BFE7-72CF91BBD2D7/Friend/p5>";
    lat = "number.62932";
    lon = "number.40205";
    major = 0;
    minor = 0;
    name = "some__one\U2019s House";
    radius = 12;
    rid = 3029e4;
    tst = "2024-06-09 20:54:56 +0000";
    uuid = "";
})
2024-06-09T20:55:42.478Z  [Connection] sendData(117):owntracks/someone/AppleiPhone11/waypoint {"_type":"waypoint","desc":"some__one’s House","lat":number.62932,"lon":number.40205,"rad":12,"rid":"3029e4","tst":1717966496} q1 r0
2024-06-09T20:55:42.487Z  [Connection] sendData mid=10
2024-06-09T20:55:42.510Z  [Connection] messageDelivered mid=10
2024-06-09T20:55:47.125Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:55:48.009Z  [OwnTracksAppDelegate] applicationDidEnterBackground
2024-06-09T20:55:48.010Z  [Connection] disconnect
2024-06-09T20:55:48.010Z  [Connection] state closing (4)
2024-06-09T20:55:48.012Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-09T20:55:48.012Z  [Connection] state closed (5)
2024-06-09T20:55:48.012Z  [Connection] state starting (0)
2024-06-09T20:55:48.740Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:55:48.740Z  [Connection] connectToLast
2024-06-09T20:55:48.740Z  [Connection] state connecting (1)
2024-06-09T20:55:48.749Z  [LocationManager] startBackgroundTimer
2024-06-09T20:55:48.784Z  [LocationManager] Location: <number.39686895,+number.05967076> +/- 4.99m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:55:48 Timezone last: <number.39686584,+number.05967076> +/- 4.99m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:55:48 Timezone Δs:-0.006119/180.000000 Δm:0.343705/200.000000
2024-06-09T20:55:48.851Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-09T20:55:48.851Z  [Connection] connected sessionPresent 1
2024-06-09T20:55:48.851Z  [Connection] state connected (3)
2024-06-09T20:55:56.692Z  [Connection] idle
2024-06-09T20:56:03.498Z  [LocationManager] set monitoring=1
2024-06-09T20:56:03.503Z  [LocationManager] set monitoring=1
2024-06-09T20:56:03.507Z  [LocationManager] set monitoring=1
2024-06-09T20:56:03.522Z  [Connection] sendData(273):owntracks/someone/AppleiPhone11/waypoints {"_type":"waypoints","waypoints":[{"_type":"waypoint","desc":"some__one’s House","lat":number.62932,"lon":number.40205,"rad":12,"rid":"3029e4","tst":1717966496},{"_type":"waypoint","desc":"someone’s House","lat":number.396475,"lon":number.0596,"rad":18,"rid":"625f62","tst":1717966419}]} q1 r0
2024-06-09T20:56:03.526Z  [Connection] sendData mid=11
2024-06-09T20:56:03.554Z  [Connection] messageDelivered mid=11
2024-06-09T20:56:04.298Z  [LocationManager] set monitoring=1
2024-06-09T20:56:04.301Z  [LocationManager] set monitoring=1
2024-06-09T20:56:04.305Z  [LocationManager] set monitoring=1
2024-06-09T20:56:04.319Z  [Connection] sendData(273):owntracks/someone/AppleiPhone11/waypoints {"_type":"waypoints","waypoints":[{"_type":"waypoint","desc":"some__one’s House","lat":number.62932,"lon":number.40205,"rad":12,"rid":"3029e4","tst":1717966496},{"_type":"waypoint","desc":"someone’s House","lat":number.396475,"lon":number.0596,"rad":18,"rid":"625f62","tst":1717966419}]} q1 r0
2024-06-09T20:56:04.323Z  [Connection] sendData mid=12
2024-06-09T20:56:04.341Z  [Connection] messageDelivered mid=12
2024-06-09T20:56:05.082Z  [LocationManager] set monitoring=1
2024-06-09T20:56:05.086Z  [LocationManager] set monitoring=1
2024-06-09T20:56:05.090Z  [LocationManager] set monitoring=1
2024-06-09T20:56:05.105Z  [Connection] sendData(273):owntracks/someone/AppleiPhone11/waypoints {"_type":"waypoints","waypoints":[{"_type":"waypoint","desc":"some__one’s House","lat":number.62932,"lon":number.40205,"rad":12,"rid":"3029e4","tst":1717966496},{"_type":"waypoint","desc":"someone’s House","lat":number.396475,"lon":number.0596,"rad":18,"rid":"625f62","tst":1717966419}]} q1 r0
2024-06-09T20:56:05.109Z  [Connection] sendData mid=13
2024-06-09T20:56:05.133Z  [Connection] messageDelivered mid=13
2024-06-09T20:56:15.565Z  [OwnTracksAppDelegate] connectionOff
2024-06-09T20:56:15.565Z  [Connection] disconnect
2024-06-09T20:56:15.565Z  [Connection] state closing (4)
2024-06-09T20:56:15.566Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-09T20:56:15.566Z  [Connection] state closed (5)
2024-06-09T20:56:15.566Z  [Connection] state starting (0)
2024-06-09T20:56:15.573Z  [LocationManager] set monitoring=1
2024-06-09T20:56:15.576Z  [LocationManager] set monitoring=1
2024-06-09T20:56:15.580Z  [LocationManager] set monitoring=1
2024-06-09T20:56:15.592Z  [OwnTracksAppDelegate] reconnect
2024-06-09T20:56:15.592Z  [Connection] disconnect
2024-06-09T20:56:15.592Z  [Connection] state closing (4)
2024-06-09T20:56:15.593Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-09T20:56:15.593Z  [Connection] state closed (5)
2024-06-09T20:56:15.593Z  [Connection] state starting (0)
2024-06-09T20:56:15.597Z  [Connection] someone iPhone connectTo: someone:<pas__d>@host_site:1883 v4 MQTT PLAIN (60) c0 / owntracks/someone/AppleiPhone11 {"_type":"lwt","tst":1717966576} q1 r0 as someone iPhone 0 (null)
2024-06-09T20:56:15.597Z  [Connection] state connecting (1)
2024-06-09T20:56:15.652Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-09T20:56:15.652Z  [Connection] connected sessionPresent 1
2024-06-09T20:56:15.652Z  [Connection] state connected (3)
2024-06-09T20:56:16.474Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:56:17.056Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:56:17.056Z  [Connection] connectToLast
2024-06-09T20:56:17.056Z  [Connection] not starting (3), can't connect
2024-06-09T20:56:17.061Z  [LocationManager] startBackgroundTimer
2024-06-09T20:56:17.094Z  [LocationManager] Location: <number.39684991,+number.05964939> +/- 4.99m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:56:17 Timezone last: <number.39683533,+number.05964939> +/- 4.99m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:56:17 Timezone Δs:-0.004324/180.000000 Δm:1.615878/200.000000
2024-06-09T20:56:17.721Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:56:18.287Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:56:18.287Z  [Connection] connectToLast
2024-06-09T20:56:18.287Z  [Connection] not starting (3), can't connect
2024-06-09T20:56:18.292Z  [LocationManager] startBackgroundTimer
2024-06-09T20:56:18.296Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:56:18.323Z  [LocationManager] Location: <number.39684991,+number.05964939> +/- 4.98m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:56:18 Timezone last: <number.39683533,+number.05964939> +/- 4.98m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:56:18 Timezone Δs:-0.022111/180.000000 Δm:1.615878/200.000000
2024-06-09T20:56:19.188Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:56:19.188Z  [Connection] connectToLast
2024-06-09T20:56:19.188Z  [Connection] not starting (3), can't connect
2024-06-09T20:56:19.193Z  [LocationManager] startBackgroundTimer
2024-06-09T20:56:19.225Z  [LocationManager] Location: <number.39684991,+number.05964939> +/- 4.99m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:56:19 Timezone last: <number.39683533,+number.05964939> +/- 4.99m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:56:19 Timezone Δs:0.010455/180.000000 Δm:1.615878/200.000000
2024-06-09T20:56:35.490Z  [LocationManager] removeHoldDown some__one’s House [0]
2024-06-09T20:56:35.490Z  [LocationManager] removeHoldDown someone’s House [0]
2024-06-09T20:56:44.798Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:56:44.812Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:56:44.812Z  [Connection] connectToLast
2024-06-09T20:56:44.812Z  [Connection] not starting (3), can't connect
2024-06-09T20:56:44.816Z  [LocationManager] startBackgroundTimer
2024-06-09T20:56:44.840Z  [LocationManager] Location: <number.39683297,+number.05964532> +/- 5.10m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:56:44 Timezone last: <number.39682007,+number.05964532> +/- 5.10m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:56:44 Timezone Δs:-0.005046/180.000000 Δm:1.429763/200.000000
2024-06-09T20:56:56.688Z  [Connection] idle
2024-06-09T20:57:41.981Z  [Connection] sendData(546):owntracks/someone/AppleiPhone11/status {"_type":"status","iOS":{"altimeterAuthorizationStatus":"CMAuthorizationStatusNotDetermined","altimeterIsRelativeAltitudeAvailable":true,"backgroundRefreshStatus":"UIBackgroundRefreshStatusAvailable","deviceIdentifierForVendor":"03EA1B10-D4E9-45F5-9C41-86B3EE9EB7F3","deviceModel":"iPhone","deviceSystemName":"iOS","deviceSystemVersion":"16.3.1","deviceUserInterfaceIdiom":"UIUserInterfaceIdiomPhone","locale":"en_AU","localeUsesMetricSystem":true,"locationManagerAuthorizationStatus":"kCLAuthorizationStatusAuthorizedAlways","version":"17.3.1"}} q1 r0
2024-06-09T20:57:41.990Z  [Connection] sendData mid=14
2024-06-09T20:57:42.018Z  [Connection] messageDelivered mid=14
2024-06-09T20:57:42.705Z  [Connection] sendData(546):owntracks/someone/AppleiPhone11/status {"_type":"status","iOS":{"altimeterAuthorizationStatus":"CMAuthorizationStatusNotDetermined","altimeterIsRelativeAltitudeAvailable":true,"backgroundRefreshStatus":"UIBackgroundRefreshStatusAvailable","deviceIdentifierForVendor":"03EA1B10-D4E9-45F5-9C41-86B3EE9EB7F3","deviceModel":"iPhone","deviceSystemName":"iOS","deviceSystemVersion":"16.3.1","deviceUserInterfaceIdiom":"UIUserInterfaceIdiomPhone","locale":"en_AU","localeUsesMetricSystem":true,"locationManagerAuthorizationStatus":"kCLAuthorizationStatusAuthorizedAlways","version":"17.3.1"}} q1 r0
2024-06-09T20:57:42.713Z  [Connection] sendData mid=15
2024-06-09T20:57:42.738Z  [Connection] messageDelivered mid=15
2024-06-09T20:57:43.168Z  [Connection] sendData(546):owntracks/someone/AppleiPhone11/status {"_type":"status","iOS":{"altimeterAuthorizationStatus":"CMAuthorizationStatusNotDetermined","altimeterIsRelativeAltitudeAvailable":true,"backgroundRefreshStatus":"UIBackgroundRefreshStatusAvailable","deviceIdentifierForVendor":"03EA1B10-D4E9-45F5-9C41-86B3EE9EB7F3","deviceModel":"iPhone","deviceSystemName":"iOS","deviceSystemVersion":"16.3.1","deviceUserInterfaceIdiom":"UIUserInterfaceIdiomPhone","locale":"en_AU","localeUsesMetricSystem":true,"locationManagerAuthorizationStatus":"kCLAuthorizationStatusAuthorizedAlways","version":"17.3.1"}} q1 r0
2024-06-09T20:57:43.176Z  [Connection] sendData mid=16
2024-06-09T20:57:43.200Z  [Connection] messageDelivered mid=16
2024-06-09T20:57:56.689Z  [Connection] idle
2024-06-09T20:58:36.883Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:58:36.965Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:58:36.965Z  [Connection] connectToLast
2024-06-09T20:58:36.965Z  [Connection] not starting (3), can't connect
2024-06-09T20:58:36.970Z  [LocationManager] startBackgroundTimer
2024-06-09T20:58:36.992Z  [LocationManager] Location: <number.39671595,+number.05963043> +/- 7.88m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:58:36 Timezone last: <number.39671326,+number.05963043> +/- 7.88m (speed 0.00 mps / course -1.00) @ 10/6/2024, 06:58:36 Timezone Δs:-0.004821/180.000000 Δm:0.298296/200.000000
2024-06-09T20:58:56.692Z  [Connection] idle
2024-06-09T20:59:05.641Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T20:59:06.781Z  [OwnTracksAppDelegate] applicationDidEnterBackground
2024-06-09T20:59:06.782Z  [Connection] disconnect
2024-06-09T20:59:06.782Z  [Connection] state closing (4)
2024-06-09T20:59:06.782Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-09T20:59:06.782Z  [Connection] state closed (5)
2024-06-09T20:59:06.782Z  [Connection] state starting (0)
2024-06-09T20:59:14.196Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T20:59:14.196Z  [Connection] connectToLast
2024-06-09T20:59:14.196Z  [Connection] state connecting (1)
2024-06-09T20:59:14.206Z  [LocationManager] startBackgroundTimer
2024-06-09T20:59:14.239Z  [LocationManager] Location: <number.39669957,+number.05964025> +/- 7.33m (speed 0.13 mps / course -1.00) @ 10/6/2024, 06:59:14 Timezone last: <number.39669800,+number.05964025> +/- 7.33m (speed 0.13 mps / course -1.00) @ 10/6/2024, 06:59:14 Timezone Δs:-0.008066/180.000000 Δm:0.174611/200.000000
2024-06-09T20:59:14.258Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-09T20:59:14.258Z  [Connection] connected sessionPresent 1
2024-06-09T20:59:14.258Z  [Connection] state connected (3)
2024-06-09T20:59:56.689Z  [Connection] idle
2024-06-09T21:00:56.690Z  [Connection] idle
2024-06-09T21:01:12.694Z  [Connection] sendData(546):owntracks/someone/AppleiPhone11/status {"_type":"status","iOS":{"altimeterAuthorizationStatus":"CMAuthorizationStatusNotDetermined","altimeterIsRelativeAltitudeAvailable":true,"backgroundRefreshStatus":"UIBackgroundRefreshStatusAvailable","deviceIdentifierForVendor":"03EA1B10-D4E9-45F5-9C41-86B3EE9EB7F3","deviceModel":"iPhone","deviceSystemName":"iOS","deviceSystemVersion":"16.3.1","deviceUserInterfaceIdiom":"UIUserInterfaceIdiomPhone","locale":"en_AU","localeUsesMetricSystem":true,"locationManagerAuthorizationStatus":"kCLAuthorizationStatusAuthorizedAlways","version":"17.3.1"}} q1 r0
2024-06-09T21:01:12.704Z  [Connection] sendData mid=17
2024-06-09T21:01:12.735Z  [Connection] messageDelivered mid=17
2024-06-09T21:01:18.427Z  [OwnTracksAppDelegate] sendNow <number.39666626,+number.05962726> +/- 9.77m (speed 0.00 mps / course -1.00) @ 10/6/2024, 07:01:19 Timezone withPOI (null)
2024-06-09T21:01:18.466Z  [Connection] sendData(274):owntracks/someone/AppleiPhone11 {"_type":"location","acc":10,"alt":12,"batt":66,"bs":1,"BSSID":"BSID","conn":"w","inregions":["someone’s House"],"inrids":["625f62"],"lat":number.396666,"lon":number.059627,"m":1,"p":101.726,"SSID":"wifi2","t":"u","tid":"__","tst":1717966879,"vac":1,"vel":0} q1 r1
2024-06-09T21:01:18.469Z  [Connection] sendData mid=18
2024-06-09T21:01:18.501Z  [Connection] messageDelivered mid=18
2024-06-09T21:01:50.800Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T21:01:50.802Z  [OwnTracksAppDelegate] applicationDidEnterBackground
2024-06-09T21:01:50.803Z  [Connection] disconnect
2024-06-09T21:01:50.803Z  [Connection] state closing (4)
2024-06-09T21:01:50.804Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-09T21:01:50.804Z  [Connection] state closed (5)
2024-06-09T21:01:50.804Z  [Connection] state starting (0)
2024-06-09T21:01:55.626Z  [OwnTracksAppDelegate] doRefresh
2024-06-09T21:01:55.634Z  [LocationManager] startBackgroundTimer
2024-06-09T21:01:55.634Z  [Connection] connectToLast
2024-06-09T21:01:55.634Z  [Connection] state connecting (1)
2024-06-09T21:01:55.661Z  [LocationManager] Location: <number.39671262,+number.05962741> +/- 6.95m (speed 0.00 mps / course -1.00) @ 10/6/2024, 07:01:55 Timezone last: <number.39672852,+number.05962700> +/- 7.59m (speed 0.25 mps / course -1.00) @ 10/6/2024, 07:01:52 Timezone Δs:2.861653/180.000000 Δm:1.762240/200.000000
2024-06-09T21:01:55.743Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-09T21:01:55.743Z  [Connection] connected sessionPresent 1
2024-06-09T21:01:55.743Z  [Connection] state connected (3)
2024-06-09T21:01:56.686Z  [Connection] idle
2024-06-09T21:02:00.713Z  [LocationManager] stopInBackground
2024-06-09T21:02:06.743Z  [OwnTracksAppDelegate] disconnectInBackground
2024-06-09T21:02:06.743Z  [Connection] disconnect
2024-06-09T21:02:06.743Z  [Connection] state closing (4)
2024-06-09T21:02:06.745Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-09T21:02:06.745Z  [Connection] state closed (5)
2024-06-09T21:02:06.745Z  [Connection] state starting (0)
2024-06-09T21:07:35.289Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-09T21:07:35.289Z  [Connection] connectToLast
2024-06-09T21:07:35.289Z  [Connection] state connecting (1)
2024-06-09T21:07:35.297Z  [LocationManager] startBackgroundTimer
2024-06-09T21:07:35.372Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-09T21:07:35.372Z  [Connection] connected sessionPresent 1
2024-06-09T21:07:35.372Z  [Connection] state connected (3)
2024-06-09T21:07:35.675Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-09T21:07:36.613Z  [OwnTracksAppDelegate] applicationDidEnterBackground
2024-06-09T21:07:36.615Z  [Connection] disconnect
2024-06-09T21:07:36.615Z  [Connection] state closing (4)
2024-06-09T21:07:36.616Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-09T21:07:36.616Z  [Connection] state closed (5)
2024-06-09T21:07:36.616Z  [Connection] state starting (0)
2024-06-09T21:07:45.298Z  [LocationManager] Location: <number.39656251,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 07:07:44 Timezone last: <number.39656067,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 07:07:35 Timezone Δs:8.821546/180.000000 Δm:0.204090/200.000000
2024-06-10T09:02:15.584Z  [Connection] idle
2024-06-10T09:02:15.648Z  [OwnTracksAppDelegate] applicationWillTerminate
2024-06-10T09:02:15.650Z  [Connection] disconnect
2024-06-10T09:02:15.650Z  [Connection] state closing (4)
2024-06-10T09:02:15.654Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-10T09:02:15.654Z  [Connection] state closed (5)
2024-06-10T09:02:15.654Z  [Connection] state starting (0)
2024-06-10T10:21:38.110Z  [OwnTracksAppDelegate] OwnTracks starting 17.3.1/en_AU (null)
2024-06-10T10:21:38.129Z  [OwnTracksAppDelegate] UIBackgroundRefreshStatusAvailable
2024-06-10T10:21:38.131Z  [Connection] sodium_init succeeded
2024-06-10T10:21:38.131Z  [Connection] state starting (0)
2024-06-10T10:21:38.135Z  [Connection] (null) connectTo: someone:<pas__d>@host_site:1883 v4 MQTT PLAIN (60) c0 / owntracks/someone/AppleiPhone11 {"_type":"lwt","tst":1718014898} q1 r0 as someone iPhone 0 (null)
2024-06-10T10:21:38.135Z  [Connection] new session
2024-06-10T10:21:38.135Z  [OwnTracksAppDelegate] UNUserNotificationCenter requestAuthorizationWithOptions granted:1 error:(null)
2024-06-10T10:21:38.136Z  [Connection] state connecting (1)
2024-06-10T10:21:38.154Z  [LocationManager] set monitoring=1
2024-06-10T10:21:38.166Z  [LocationManager] set monitoring=1
2024-06-10T10:21:38.166Z  [LocationManager] set monitoring=1
2024-06-10T10:21:38.202Z  [LocationManager] didChangeAuthorizationStatus to 3
2024-06-10T10:21:38.203Z  [LocationManager] Location: <number.39656251,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 06:26:31 Timezone last: <+0.00000000,+0.00000000> +/- 0.00m (speed -1.00 mps / course -1.00) @ 10/6/2024, 20:21:38 Timezone Δs:-50106.891369/180.000000 Δm:15837281.543593/200.000000
2024-06-10T10:21:38.256Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-10T10:21:38.256Z  [Connection] connected sessionPresent 1
2024-06-10T10:21:38.256Z  [Connection] state connected (3)
2024-06-10T10:21:38.256Z  [Connection] subscribe owntracks/+/+ qos=1
2024-06-10T10:21:38.257Z  [Connection] subscription mid=2
2024-06-10T10:21:38.257Z  [Connection] subscribe owntracks/+/+/event qos=1
2024-06-10T10:21:38.257Z  [Connection] subscription mid=3
2024-06-10T10:21:38.257Z  [Connection] subscribe owntracks/+/+/info qos=1
2024-06-10T10:21:38.257Z  [Connection] subscription mid=4
2024-06-10T10:21:38.257Z  [Connection] subscribe owntracks/someone/AppleiPhone11/cmd qos=1
2024-06-10T10:21:38.257Z  [Connection] subscription mid=5
2024-06-10T10:21:38.280Z  [Connection] subAckReceived mid=2 rc=(
    1
) up=(null)
2024-06-10T10:21:38.301Z  [Connection] received topic=owntracks/some__one/android_phone dataString(206)={"_type":"location","acc":15,"alt":55,"batt":71,"bs":1,"conn":"m","created_at":1717968416,"inregions":["someone's House"],"lat":number.3966553,"lon":number.059611,"m":1,"tid":"__","tst":1717967256,"vac":1,"vel":0}
2024-06-10T10:21:38.301Z  [Connection] received topic=owntracks/some___one/some___oneandroid_tablet dataString(257)={"_type":"location","BSSID":"BSSID","SSID":"wifi","acc":15,"alt":150,"batt":1,"bs":1,"conn":"w","created_at":1717574581,"inregions":["some_one's House"],"lat":number.6292503,"lon":number.4019827,"m":1,"t":"p","tid":"LH","tst":1717572410,"vac":1,"vel":0}
2024-06-10T10:21:38.302Z  [Connection] received topic=owntracks/someone/iPhone11 dataString(289)={"_type":"location","acc":35,"alt":17,"batt":87,"bs":1,"BSSID":"BSID","conn":"w","created_at":1717619061,"inregions":["someone’s House"],"inrids":["c1b57b"],"lat":number.396545,"lon":number.059731,"m":1,"p":101.442,"SSID":"wifi2","t":"v","tid":"__","tst":1717619032,"vac":12}
2024-06-10T10:21:38.302Z  [Connection] received topic=owntracks/someone/AppleiPhone11 dataString(272)={"_type":"location","acc":10,"alt":12,"batt":66,"bs":1,"BSSID":"BSID","conn":"w","inregions":["someone’s House"],"inrids":["625f62"],"lat":number.396666,"lon":number.059627,"m":1,"p":101.726,"SSID":"wifi2","t":"u","tid":"__","tst":1717966879,"vac":1,"vel":0}
2024-06-10T10:21:38.309Z  [Connection] subAckReceived mid=3 rc=(
    1
) up=(null)
2024-06-10T10:21:38.309Z  [Connection] subAckReceived mid=4 rc=(
    1
) up=(null)
2024-06-10T10:21:38.314Z  [Connection] received topic=owntracks/some__one/android_phone/info dataString(6519)={
  "_type": "card",
  "name": "some__one Phone",
  "face": "FACE...
2024-06-10T10:21:38.316Z  [Connection] received topic=owntracks/some___one/some___oneandroid_tablet/info dataString(6number)={
  "_type": "card",
  "name": "some___one Tablet",
  "face": "FACE...
2024-06-10T10:21:38.316Z  [Connection] subAckReceived mid=5 rc=(
    1
) up=(null)
2024-06-10T10:21:38.407Z  [ViewController] viewDidLoad mapView region number.6934 132.913 48.7977 41.8799
2024-06-10T10:21:38.542Z  [LocationManager] removeHoldDown some__one’s House [0]
2024-06-10T10:21:38.542Z  [LocationManager] removeHoldDown someone’s House [0]
2024-06-10T10:21:38.573Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-10T10:21:38.573Z  [Connection] connectToLast
2024-06-10T10:21:38.573Z  [Connection] not starting (3), can't connect
2024-06-10T10:21:38.578Z  [LocationManager] startBackgroundTimer
2024-06-10T10:21:38.686Z  [OwnTracking processLocation] waypoint added number.3967,number.06 (±15 m) ✈︎55 m (±1 m) 0 km/h 0 deg. 10/6/2024, 07:07:36 10/6/2024, 07:26:56 71%
2024-06-10T10:21:38.688Z  [OwnTracking] processed location for friend owntracks/some__one/android_phone
2024-06-10T10:21:38.702Z  [OwnTracking processLocation] waypoint added number.6293,number.402 (±15 m) ✈︎150 m (±1 m) 0 km/h 0 deg. 5/6/2024, 17:26:50 5/6/2024, 18:03:01 1%
2024-06-10T10:21:38.703Z  [OwnTracking] processed location for friend owntracks/some___one/some___oneandroid_tablet
2024-06-10T10:21:38.705Z  [OwnTracking processLocation] waypoint added number.3965,number.06 (±35 m) ✈︎17 m (±12 m) - 0 deg. 6/6/2024, 06:23:52 6/6/2024, 06:24:21 87%
2024-06-10T10:21:38.708Z  [OwnTracking] processed location for friend owntracks/someone/iPhone11
2024-06-10T10:21:38.710Z  [OwnTracking] unhandled record type for own device _type:location
2024-06-10T10:21:38.711Z  [OwnTracking] processed card for friend friend owntracks/some__one/android_phone
2024-06-10T10:21:38.713Z  [OwnTracking] processed card for friend friend owntracks/some___one/some___oneandroid_tablet
2024-06-10T10:21:48.580Z  [LocationManager] Location: <number.39656251,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 20:21:46 Timezone last: <number.39656067,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 20:21:43 Timezone Δs:3.109307/180.000000 Δm:0.204090/200.000000
2024-06-10T10:22:13.542Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-10T10:22:15.287Z  [OwnTracksAppDelegate] applicationDidEnterBackground
2024-06-10T10:22:15.288Z  [Connection] disconnect
2024-06-10T10:22:15.288Z  [Connection] state closing (4)
2024-06-10T10:22:15.289Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-10T10:22:15.289Z  [Connection] state closed (5)
2024-06-10T10:22:15.290Z  [Connection] state starting (0)
2024-06-10T10:22:23.053Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-10T10:22:23.053Z  [Connection] connectToLast
2024-06-10T10:22:23.053Z  [Connection] state connecting (1)
2024-06-10T10:22:23.067Z  [LocationManager] startBackgroundTimer
2024-06-10T10:22:23.113Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-10T10:22:23.113Z  [Connection] connected sessionPresent 1
2024-06-10T10:22:23.113Z  [Connection] state connected (3)
2024-06-10T10:22:33.068Z  [LocationManager] Location: <number.39656251,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 20:22:29 Timezone last: <number.39656067,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 20:22:23 Timezone Δs:6.165267/180.000000 Δm:0.204090/200.000000
2024-06-10T10:22:38.134Z  [Connection] idle
2024-06-10T10:22:53.299Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-10T10:22:54.782Z  [OwnTracksAppDelegate] applicationDidEnterBackground
2024-06-10T10:22:54.783Z  [Connection] disconnect
2024-06-10T10:22:54.783Z  [Connection] state closing (4)
2024-06-10T10:22:54.784Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-10T10:22:54.784Z  [Connection] state closed (5)
2024-06-10T10:22:54.784Z  [Connection] state starting (0)
2024-06-10T10:23:02.403Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-10T10:23:02.403Z  [Connection] connectToLast
2024-06-10T10:23:02.403Z  [Connection] state connecting (1)
2024-06-10T10:23:02.409Z  [LocationManager] startBackgroundTimer
2024-06-10T10:23:02.668Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-10T10:23:02.668Z  [Connection] connected sessionPresent 1
2024-06-10T10:23:02.668Z  [Connection] state connected (3)
2024-06-10T10:23:12.414Z  [LocationManager] Location: <number.39656251,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 20:23:08 Timezone last: <number.39656067,+number.05970340> +/- 16.06m (speed -1.00 mps / course -1.00) @ 10/6/2024, 20:23:02 Timezone Δs:6.226379/180.000000 Δm:0.204090/200.000000
2024-06-10T10:23:13.858Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-10T10:23:15.190Z  [OwnTracksAppDelegate] applicationDidEnterBackground
2024-06-10T10:23:15.191Z  [Connection] disconnect
2024-06-10T10:23:15.191Z  [Connection] state closing (4)
2024-06-10T10:23:15.192Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-10T10:23:15.192Z  [Connection] state closed (5)
2024-06-10T10:23:15.192Z  [Connection] state starting (0)
2024-06-10T10:35:07.847Z  [Connection] idle
2024-06-10T10:35:07.875Z  [LocationManager] didChangeAuthorizationStatus to 3
2024-06-10T10:35:07.879Z  [LocationManager] didVisit number.3966,number.06 ha=21.2552 a=0001-01-01 00:00:00 +0000 d=2024-06-10 10:33:16 +0000
2024-06-10T10:35:07.901Z  [Connection] sendData(233):owntracks/someone/AppleiPhone11 {"_type":"location","acc":5,"alt":24,"batt":95,"bs":1,"cog":249,"conn":"m","inregions":["someone’s House"],"inrids":["625f62"],"lat":number.398239,"lon":number.047123,"m":1,"p":101.791,"t":"v","tid":"__","tst":1718015708,"vac":3,"vel":55} q1 r1
2024-06-10T10:35:07.901Z  [Connection] connectToLast
2024-06-10T10:35:07.901Z  [Connection] state connecting (1)
2024-06-10T10:35:07.913Z  [MQTTSession] queueing message 6
2024-06-10T10:35:07.914Z  [Connection] sendData mid=6
2024-06-10T10:35:08.119Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-10T10:35:08.119Z  [Connection] connected sessionPresent 1
2024-06-10T10:35:08.119Z  [Connection] state connected (3)
2024-06-10T10:35:08.160Z  [Connection] received topic=owntracks/someone/AppleiPhone11 dataString(231)={"_type":"location","acc":5,"alt":24,"batt":95,"bs":1,"cog":249,"conn":"m","inregions":["someone’s House"],"inrids":["625f62"],"lat":number.398239,"lon":number.047123,"m":1,"p":101.791,"t":"v","tid":"__","tst":1718015708,"vac":3,"vel":55}
2024-06-10T10:35:08.176Z  [OwnTracking] unhandled record type for own device _type:location
2024-06-10T10:35:08.183Z  [Connection] messageDelivered mid=6
2024-06-10T10:35:09.810Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-10T10:35:09.810Z  [Connection] connectToLast
2024-06-10T10:35:09.810Z  [Connection] not starting (3), can't connect
2024-06-10T10:35:09.818Z  [LocationManager] startBackgroundTimer
2024-06-10T10:35:09.854Z  [LocationManager] Location: <number.39834093,+number.04683071> +/- 4.99m (speed 15.33 mps / course 248.63) @ 10/6/2024, 20:35:09 Timezone last: <number.39833069,+number.04683071> +/- 4.99m (speed 15.33 mps / course 248.63) @ 10/6/2024, 20:35:09 Timezone Δs:-0.830087/180.000000 Δm:1.135073/200.000000
2024-06-10T10:35:14.866Z  [OwnTracksAppDelegate] sendNow <number.39866178,+number.04588083> +/- 5.06m (speed 16.11 mps / course 248.75) @ 10/6/2024, 20:35:15 Timezone withPOI (null)
2024-06-10T10:35:14.879Z  [Connection] sendData(180):owntracks/someone/AppleiPhone11 {"_type":"location","acc":5,"alt":18,"batt":91,"bs":1,"cog":249,"conn":"m","lat":number.398662,"lon":number.045881,"m":1,"p":101.702,"t":"u","tid":"__","tst":1718015715,"vac":3,"vel":58} q1 r1
2024-06-10T10:35:14.882Z  [Connection] sendData mid=7
2024-06-10T10:35:14.939Z  [Connection] received topic=owntracks/someone/AppleiPhone11 dataString(180)={"_type":"location","acc":5,"alt":18,"batt":91,"bs":1,"cog":249,"conn":"m","lat":number.398662,"lon":number.045881,"m":1,"p":101.702,"t":"u","tid":"__","tst":1718015715,"vac":3,"vel":58}
2024-06-10T10:35:14.944Z  [OwnTracking] unhandled record type for own device _type:location
2024-06-10T10:35:14.974Z  [Connection] messageDelivered mid=7
2024-06-10T10:35:18.885Z  [OwnTracksAppDelegate] disconnectInBackground
2024-06-10T10:35:18.885Z  [Connection] disconnect
2024-06-10T10:35:18.885Z  [Connection] state closing (4)
2024-06-10T10:35:18.887Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-10T10:35:18.887Z  [Connection] state closed (5)
2024-06-10T10:35:18.887Z  [Connection] state starting (0)
2024-06-10T10:35:38.341Z  [Connection] idle
2024-06-10T10:36:22.738Z  [Connection] sendData(546):owntracks/someone/AppleiPhone11/status {"_type":"status","iOS":{"altimeterAuthorizationStatus":"CMAuthorizationStatusNotDetermined","altimeterIsRelativeAltitudeAvailable":true,"backgroundRefreshStatus":"UIBackgroundRefreshStatusAvailable","deviceIdentifierForVendor":"03EA1B10-D4E9-45F5-9C41-86B3EE9EB7F3","deviceModel":"iPhone","deviceSystemName":"iOS","deviceSystemVersion":"16.3.1","deviceUserInterfaceIdiom":"UIUserInterfaceIdiomPhone","locale":"en_AU","localeUsesMetricSystem":true,"locationManagerAuthorizationStatus":"kCLAuthorizationStatusAuthorizedAlways","version":"17.3.1"}} q1 r0
2024-06-10T10:36:22.738Z  [Connection] connectToLast
2024-06-10T10:36:22.739Z  [Connection] state connecting (1)
2024-06-10T10:36:22.749Z  [MQTTSession] queueing message 8
2024-06-10T10:36:22.751Z  [Connection] sendData mid=8
2024-06-10T10:36:22.837Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-10T10:36:22.837Z  [Connection] connected sessionPresent 1
2024-06-10T10:36:22.837Z  [Connection] state connected (3)
2024-06-10T10:36:22.911Z  [Connection] messageDelivered mid=8
2024-06-10T10:36:24.110Z  [Connection] sendData(546):owntracks/someone/AppleiPhone11/status {"_type":"status","iOS":{"altimeterAuthorizationStatus":"CMAuthorizationStatusNotDetermined","altimeterIsRelativeAltitudeAvailable":true,"backgroundRefreshStatus":"UIBackgroundRefreshStatusAvailable","deviceIdentifierForVendor":"03EA1B10-D4E9-45F5-9C41-86B3EE9EB7F3","deviceModel":"iPhone","deviceSystemName":"iOS","deviceSystemVersion":"16.3.1","deviceUserInterfaceIdiom":"UIUserInterfaceIdiomPhone","locale":"en_AU","localeUsesMetricSystem":true,"locationManagerAuthorizationStatus":"kCLAuthorizationStatusAuthorizedAlways","version":"17.3.1"}} q1 r0
2024-06-10T10:36:24.119Z  [Connection] sendData mid=9
2024-06-10T10:36:24.192Z  [Connection] messageDelivered mid=9
2024-06-10T10:36:24.918Z  [Connection] sendData(546):owntracks/someone/AppleiPhone11/status {"_type":"status","iOS":{"altimeterAuthorizationStatus":"CMAuthorizationStatusNotDetermined","altimeterIsRelativeAltitudeAvailable":true,"backgroundRefreshStatus":"UIBackgroundRefreshStatusAvailable","deviceIdentifierForVendor":"03EA1B10-D4E9-45F5-9C41-86B3EE9EB7F3","deviceModel":"iPhone","deviceSystemName":"iOS","deviceSystemVersion":"16.3.1","deviceUserInterfaceIdiom":"UIUserInterfaceIdiomPhone","locale":"en_AU","localeUsesMetricSystem":true,"locationManagerAuthorizationStatus":"kCLAuthorizationStatusAuthorizedAlways","version":"17.3.1"}} q1 r0
2024-06-10T10:36:24.928Z  [Connection] sendData mid=10
2024-06-10T10:36:24.992Z  [Connection] messageDelivered mid=10
2024-06-10T10:36:25.968Z  [Connection] sendData(546):owntracks/someone/AppleiPhone11/status {"_type":"status","iOS":{"altimeterAuthorizationStatus":"CMAuthorizationStatusNotDetermined","altimeterIsRelativeAltitudeAvailable":true,"backgroundRefreshStatus":"UIBackgroundRefreshStatusAvailable","deviceIdentifierForVendor":"03EA1B10-D4E9-45F5-9C41-86B3EE9EB7F3","deviceModel":"iPhone","deviceSystemName":"iOS","deviceSystemVersion":"16.3.1","deviceUserInterfaceIdiom":"UIUserInterfaceIdiomPhone","locale":"en_AU","localeUsesMetricSystem":true,"locationManagerAuthorizationStatus":"kCLAuthorizationStatusAuthorizedAlways","version":"17.3.1"}} q1 r0
2024-06-10T10:36:25.977Z  [Connection] sendData mid=11
2024-06-10T10:36:26.026Z  [Connection] messageDelivered mid=11
2024-06-10T10:36:26.793Z  [Connection] sendData(546):owntracks/someone/AppleiPhone11/status {"_type":"status","iOS":{"altimeterAuthorizationStatus":"CMAuthorizationStatusNotDetermined","altimeterIsRelativeAltitudeAvailable":true,"backgroundRefreshStatus":"UIBackgroundRefreshStatusAvailable","deviceIdentifierForVendor":"03EA1B10-D4E9-45F5-9C41-86B3EE9EB7F3","deviceModel":"iPhone","deviceSystemName":"iOS","deviceSystemVersion":"16.3.1","deviceUserInterfaceIdiom":"UIUserInterfaceIdiomPhone","locale":"en_AU","localeUsesMetricSystem":true,"locationManagerAuthorizationStatus":"kCLAuthorizationStatusAuthorizedAlways","version":"17.3.1"}} q1 r0
2024-06-10T10:36:26.802Z  [Connection] sendData mid=12
2024-06-10T10:36:26.844Z  [Connection] messageDelivered mid=12
2024-06-10T10:36:28.591Z  [LocationManager] set monitoring=1
2024-06-10T10:36:28.598Z  [LocationManager] set monitoring=1
2024-06-10T10:36:28.602Z  [LocationManager] set monitoring=1
2024-06-10T10:36:28.620Z  [Connection] sendData(1038):owntracks/someone/AppleiPhone11/dump {"_type":"dump","configuration":{"_type":"configuration","allowinvalidcerts":false,"allowRemoteLocation":true,"auth":true,"cleanSession":false,"clientId":"someone iPhone","clientpkcs":"","cmd":false,"deviceId":"AppleiPhone11","downgrade":0,"encryptionKey":"","extendedData":true,"host":"host_site","ignoreInaccurateLocations":0,"ignoreStaleLocations":0,"keepalive":60,"locatorDisplacement":200,"locatorInterval":180,"locked":false,"maxHistory":100,"mode":0,"monitoring":1,"mqttProtocolLevel":4,"osmCopyright":"","osmTemplate":"","passphrase":"","pas__ord":"pas__ord","port":1883,"positions":50,"pubQos":1,"pubRetain":true,"pubTopicBase":"","ranging":false,"sub":true,"subQos":1,"subTopic":"","tid":"__","tls":false,"usePas__ord":true,"username":"someone","waypoints":[{"_type":"waypoint","desc":"someone’s House","lat":number.396475,"lon":number.0596,"rad":18,"rid":"625f62","tst":1717966419},{"_type":"waypoint","desc":"some__one’s House","lat":number.62932,"lon":number.40205,"rad":12,"rid":"3029e4","tst":1717966496}],"ws":false}} q1 r0
2024-06-10T10:36:28.623Z  [Connection] sendData mid=13
2024-06-10T10:36:28.710Z  [Connection] messageDelivered mid=13
2024-06-10T10:36:29.385Z  [LocationManager] set monitoring=1
2024-06-10T10:36:29.388Z  [LocationManager] set monitoring=1
2024-06-10T10:36:29.392Z  [LocationManager] set monitoring=1
2024-06-10T10:36:29.409Z  [Connection] sendData(1038):owntracks/someone/AppleiPhone11/dump {"_type":"dump","configuration":{"_type":"configuration","allowinvalidcerts":false,"allowRemoteLocation":true,"auth":true,"cleanSession":false,"clientId":"someone iPhone","clientpkcs":"","cmd":false,"deviceId":"AppleiPhone11","downgrade":0,"encryptionKey":"","extendedData":true,"host":"host_site","ignoreInaccurateLocations":0,"ignoreStaleLocations":0,"keepalive":60,"locatorDisplacement":200,"locatorInterval":180,"locked":false,"maxHistory":100,"mode":0,"monitoring":1,"mqttProtocolLevel":4,"osmCopyright":"","osmTemplate":"","passphrase":"","pas__ord":"pas__ord","port":1883,"positions":50,"pubQos":1,"pubRetain":true,"pubTopicBase":"","ranging":false,"sub":true,"subQos":1,"subTopic":"","tid":"__","tls":false,"usePas__ord":true,"username":"someone","waypoints":[{"_type":"waypoint","desc":"someone’s House","lat":number.396475,"lon":number.0596,"rad":18,"rid":"625f62","tst":1717966419},{"_type":"waypoint","desc":"some__one’s House","lat":number.62932,"lon":number.40205,"rad":12,"rid":"3029e4","tst":1717966496}],"ws":false}} q1 r0
2024-06-10T10:36:29.412Z  [Connection] sendData mid=14
2024-06-10T10:36:29.458Z  [Connection] messageDelivered mid=14
2024-06-10T10:36:35.372Z  [OwnTracksAppDelegate] connectionOff
2024-06-10T10:36:35.372Z  [Connection] disconnect
2024-06-10T10:36:35.372Z  [Connection] state closing (4)
2024-06-10T10:36:35.374Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-10T10:36:35.375Z  [Connection] state closed (5)
2024-06-10T10:36:35.375Z  [Connection] state starting (0)
2024-06-10T10:36:35.383Z  [LocationManager] set monitoring=1
2024-06-10T10:36:35.386Z  [LocationManager] set monitoring=1
2024-06-10T10:36:35.389Z  [LocationManager] set monitoring=1
2024-06-10T10:36:35.401Z  [OwnTracksAppDelegate] reconnect
2024-06-10T10:36:35.401Z  [Connection] disconnect
2024-06-10T10:36:35.401Z  [Connection] state closing (4)
2024-06-10T10:36:35.402Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-10T10:36:35.402Z  [Connection] state closed (5)
2024-06-10T10:36:35.402Z  [Connection] state starting (0)
2024-06-10T10:36:35.406Z  [Connection] someone iPhone connectTo: someone:<pas__d>@host_site:1883 v4 MQTT PLAIN (60) c0 / owntracks/someone/AppleiPhone11 {"_type":"lwt","tst":1718015795} q1 r0 as someone iPhone 0 (null)
2024-06-10T10:36:35.406Z  [Connection] state connecting (1)
2024-06-10T10:36:35.515Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-10T10:36:35.515Z  [Connection] connected sessionPresent 1
2024-06-10T10:36:35.515Z  [Connection] state connected (3)
2024-06-10T10:36:36.350Z  [Connection] sendData(546):owntracks/someone/AppleiPhone11/status {"_type":"status","iOS":{"altimeterAuthorizationStatus":"CMAuthorizationStatusNotDetermined","altimeterIsRelativeAltitudeAvailable":true,"backgroundRefreshStatus":"UIBackgroundRefreshStatusAvailable","deviceIdentifierForVendor":"03EA1B10-D4E9-45F5-9C41-86B3EE9EB7F3","deviceModel":"iPhone","deviceSystemName":"iOS","deviceSystemVersion":"16.3.1","deviceUserInterfaceIdiom":"UIUserInterfaceIdiomPhone","locale":"en_AU","localeUsesMetricSystem":true,"locationManagerAuthorizationStatus":"kCLAuthorizationStatusAuthorizedAlways","version":"17.3.1"}} q1 r0
2024-06-10T10:36:36.359Z  [Connection] sendData mid=15
2024-06-10T10:36:36.416Z  [Connection] messageDelivered mid=15
2024-06-10T10:36:38.340Z  [Connection] idle
2024-06-10T10:37:08.239Z  [OwnTracksAppDelegate] applicationWillResignActive
2024-06-10T10:37:10.558Z  [OwnTracksAppDelegate] applicationDidEnterBackground
2024-06-10T10:37:10.560Z  [Connection] disconnect
2024-06-10T10:37:10.560Z  [Connection] state closing (4)
2024-06-10T10:37:10.561Z  [Connection] connection closed MQTT eventCode: (2) (null)
2024-06-10T10:37:10.561Z  [Connection] state closed (5)
2024-06-10T10:37:10.561Z  [Connection] state starting (0)
2024-06-10T10:37:50.639Z  [Connection] idle
2024-06-10T10:37:50.948Z  [OwnTracksAppDelegate] applicationDidBecomeActive
2024-06-10T10:37:50.948Z  [Connection] connectToLast
2024-06-10T10:37:50.948Z  [Connection] state connecting (1)
2024-06-10T10:37:50.958Z  [LocationManager] startBackgroundTimer
2024-06-10T10:37:50.998Z  [LocationManager] Location: <number.41159655,+number.03394189> +/- 5.16m (speed 13.12 mps / course 176.62) @ 10/6/2024, 20:37:50 Timezone last: <number.41159058,+number.03394189> +/- 5.16m (speed 13.12 mps / course 176.62) @ 10/6/2024, 20:37:50 Timezone Δs:-0.968563/180.000000 Δm:0.662363/200.000000
2024-06-10T10:37:51.038Z  [Connection] connected MQTT eventCode: (0) (null)
2024-06-10T10:37:51.038Z  [Connection] connected sessionPresent 1
2024-06-10T10:37:51.038Z  [Connection] state connected (3)
ckrey commented 3 months ago

iOS does not detect your regions, probably because you specified a radius which is too small. Region detection usually works well with a radius of 50 or 100 meters

ckrey commented 3 months ago

When you enter or exit a region, please check on the regions tab if the color of the region changes from blue (cold=outside) to red (hot=inside) accordingly. When the color changes, iOS has detected the transition

dhitchenor commented 3 months ago

Ahh I see. Thank you for the reply, @ckrey.

The user and I, have identical regions on our iOS , and android devices (respectively), and it seems to work fairly well on the android device; the ranges are between ~10 - ~20 metres, as you are most likely aware.

Not to 'nitpick' here, but a radius of ~50+ metres is much too large. Almost unreasonable (IMO), especially for users within a major city.

When you enter or exit a region, please check on the regions tab if the color of the region changes from blue (cold=outside) to red (hot=inside) accordingly. When the color changes, iOS has detected the transition

As requested though, I'll double check the colour of the regions, when the user is available, and get back to you.

ckrey commented 3 months ago

Thanks for checking the region colors. For detection in Background we rely on the algorithms implemented in iOS. It is not documented, but from experience they seem to use the distance between the center of the region and the reported location plus the accuracy of the location. In your example I see accuracies of 5 m (best) to 16 meters.

dhitchenor commented 3 months ago

No worries @ckrey,

We've done some testing with the regions, and the colours, and they work as you describe. That all seems to be working well.

Would you like me to check anything else?

ckrey commented 3 months ago

Thanks. Can you confirm that notifications are send and recorded in history when you see the colors change. Those 3 things should go together or none of them because they all depend on the region enter/leave detection.

dhitchenor commented 3 months ago

Definitely confirmed @ckrey. The history has always been and remains accurate. I've checked it, personally

dhitchenor commented 3 months ago

Hi @ckrey, how is it going? Did you end up finding the root of the issue?

I just thought I would update about the history. The iOS users history is populated with some of the other users, but not all.

All the other users are running android.

How are you going @jpmens ?

ckrey commented 3 months ago

@dhitchenor unfortunately not yet

one more clarifcation: Are you missing the notifications of the iPhone itself entering/leaving regions, or the notifications about other mobile phones entering/leaving regions?

dhitchenor commented 1 month ago

hi @ckrey,

Notifications do not appear for anything (almost) at all, with respects to OwnTracks.. the history within the app is fine, but getting notifications from OwnTracks, in general, seems impossible on iOS, given the previously proposed circumstance.

On an unfortunate, but related point, that user has actually stopped using OwnTracks due to this issue, so I won't be able to provide you any further testing/information, regarding iOS.

My apologies @ckrey.. I appreciate your insight, nonetheless

I hope this finds you well

ckrey commented 1 month ago

Cannot reproduce here. Region detection and Notifications work well when app is not swiped out, location authorization is given „always“ and Notifications are not limited by user (Focus mode, etc.) Notification of other users entering regions is by design only given next when app connects to backend the next time.

jpmens commented 1 month ago

I was also going to add: @dhitchenor are you quite sure the user isn't swiping out (up) the OwnTracks app? Some users wrongly believe the fairy tale that swiping out apps saves memory or whatnot, and doing that on OwnTracks obviously means it's then not there for a while which could well describe the behaviour you are seeing.

dhitchenor commented 1 month ago

Hi @jpmens, Thank you for your reply, however as I mentioned earllier, they have since moved on; so (to be absolutely honest) I couldn't say for sure.