-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OwnTracks publishing invalid coordinates #668
Comments
Please tell us which iPhone/iPad model you are using, iOS release and OwnTracks version. Also, when you say occasionally, how frequently would that be? I don't think we've seen this in years. |
I've seen it happen at least twice in the past two months (only started using OwnTracks at the beginning of the year). I started logging the messages while I was integrating this into my Home Assistant setup. When these have occurred, HA marks me as away from home (and when I look at the map, I'm not shown anywhere). As soon as I open the OwnTracks app, it publishes a new message with the details. In both cases, I was sitting at home when it happened. Messages logged when this happens with some data redacted:
I have 2 waypoints configured in the app - one circular region, and in the center of that an iBeacon-based region.
|
Thanks @edgauthier for the details. We do suppress invalid lat/lon when they are 0.0/0.0 already, but we have never seen a case yours before.
Interestingly altitude is once reported as |
Normal altitude when I'm home is between 158 and 162 depending on which floor I'm on. |
Is there anything I can/should try and change from my perspective? |
Does the problem occur once a month as shown in your example above, or does it happen frequently? |
So far, once a month (only 2 occurrences being the ones mentioned above). Logging is still enabled, so I'll be looking for it come April (assuming it's tied to some pattern). |
@edgauthier I'm closing this issue for now. |
We've just seen this happen. Reopening. |
I've seen it happening, too. Once in April and three times in May (I started logging with owntracks in March). This is what I removed from the *.rec-files (redacted with lower case x):
Uneducated guess: Maybe lon is provided as an integer 0, but the check is against double 0.0? iPhone 13 Mini |
[FIX] tentative fix for OwnTracks publishing invalid coordinates #668
A tentative fix in included in versuon 18.0.1 |
Occasionally, OwnTracks will publish a message with invalid coordinates (e.g. the longitude set to "0.000000"). Is there a way to prevent the app from sending these messages?
The text was updated successfully, but these errors were encountered: