question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

reported GPS not accurate (too low)

See original GitHub issue

Home Assistant Android version: 2.3.3-full Android version: 10 (OnePlus 8Pro) 10 (Pixel 3) 9 (Joying JY-HOS02N4GS-1 (car stereo running android)) Phone model: OnePlus 8Pro Pixel 3 Joying JY-HOS02N4GS-1 (car stereo running android) Home Assistant version: 0.114.4 Last working Home Assistant release (if known): probably never Description of problem: The GPS speed which is reported by the app is not accurate, in fact it is too low. I’m using a mariadb instance for home assistant and dug around a bit.

Selection criteria

  • table: states
  • select: entity_id like device_tracker.%, json value = speed is not null

What I found

  • 28110 entries where the json value is not null over the 3 devices
  • out of the 28110 there are 121 distinct combinations of device and speed
  • highest value for speed overall is 56
  • total of 4 values for speed over 50.

Considering the fact that I live in germany and drive on the autobahn you can see why a maximum speed of 56 has to be a mistake 😂

Traceback (if applicable):


Screenshot of problem: image image

image

Additional information: There is already one topic on the home assistant forum (couldn’t find an issue here on github related to this)

Like I mentioned on the forum, I search through this repo looking for the locaton update functionality and all I could find was the declaration for the speed variable as type int and then the locationupdate/locationdata from Android itself. So as long as android delivers the correct raw data for GPS, we should be fine. That’s at least my uneducated interpretation of it. The thing is though, the GPS speed on my devices is accurate, at least when using other apps utilizing GPS; Waze for example. I’ll install an additional GPS data logger in my car tomorrow, this way I should have two datasets that can be compared.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
hillbickscommented, Sep 4, 2020

Alright, that settles it then. I’ll close the issue and thank you @JBassett and @dshokouhi for your time and explanations.

Have a good one! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Low GPS accuracy? Let's fix it! - speedohelp - Google Sites
To improve location accuracy please try following basic steps: · First, make sure Location Services for the app (under Settings > Privacy) are...
Read more >
GPS Accuracy - GPS.gov
Why does GPS sometimes show me in the wrong place? Many things can degrade GPS positioning accuracy. Common causes include: Satellite signal ......
Read more >
Common Problems with GPS - Hellotracks
One of the most common problems that occur with any GPS is correct tracking. GPS is dependent on various aspects, here are some...
Read more >
Four Reasons Why GPS Is Sometimes Inaccurate - Blog
1. Signal Obstruction ... In a situation where not enough signals are being received, the device may struggle to calculate accurate location ...
Read more >
My device is saying low accuracy on location and I tried every ...
I have tried every fix to fix this method by resting high accuracy on my phone and turning off and on location.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found