Skip to content

reported GPS not accurate (too low) #880

@hillbicks

Description

@hillbicks

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions