Skip to content
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

No longer sending SSID/BSSID #1888

Open
CiaranG opened this issue Oct 19, 2024 · 7 comments
Open

No longer sending SSID/BSSID #1888

CiaranG opened this issue Oct 19, 2024 · 7 comments
Labels
needs-more-info A little more info requested from the submitter

Comments

@CiaranG
Copy link

CiaranG commented Oct 19, 2024

  • App build number: 2.5.3
  • Android version: 14
  • Device: Samsung Galaxy S23
  • Installation source: Google Play

The app no longer sends SSID and BSSID for the connected wifi access point. This was working ok in previous versions - I'm not sure exactly when it stopped.

@jpmens
Copy link
Member

jpmens commented Oct 19, 2024

I'm still seeing them in 2.5.3 (Galaxy S8)

If you're using our Recorder: have you verified that the data isn't in a _type: location record?

@jpmens jpmens added the needs-more-info A little more info requested from the submitter label Oct 19, 2024
@CiaranG
Copy link
Author

CiaranG commented Oct 19, 2024

I'm using my own HTTP endpoint. This is what I see posted:

{'_type': 'location', '_id': '82486537', 'acc': 12, 'alt': 80, 'batt': 71, 'bs': 1, 'cog': 0, 'conn': 'w', 'created_at': 1729344894, 'lat': 0, 'lon': 0, 'm': 2, 'tid': '01', 'topic': 'owntracks/owntracks1/galaxys23', 'tst': 1729344893, 'vac': 3, 'vel': 0}

So conn is w for WiFi, and previously that would have been accompanied by SSID and BSSID in the same message, right?

@jpmens
Copy link
Member

jpmens commented Oct 19, 2024

(I have redacted lat/lon out of your message for your privacy.)

Could you please explicitly publish a message (up-arrow on top right of map)? That should add a "t":"u" element to the JSON. Do SSID/BSSID show then?

@jpmens
Copy link
Member

jpmens commented Oct 19, 2024

Are you also quite sure your endpoint is not removing values? What you posted above is not the JSON string received from the device ...

@CiaranG
Copy link
Author

CiaranG commented Oct 21, 2024

Thanks - I decided the lat/lon didn't really matter as I wasn't at the secret batcave, but it's best not to set a bad example!

Here's what was received as a result of pressing the up-arrow, still no SSID/BSSID...

{'_type': 'location', '_id': '6fd8a7fd', 'acc': 7, 'alt': 80, 'batt': 91, 'bs': 1, 'cog': 108, 'conn': 'w', 'created_at': 172 9491498, 'lat': 0, 'lon': 0, 'm': 2, 't': 'u', 'tid': '01', 'topic': 'owntracks/owntracks1/galaxys23', 'tst': 1729491497, 'vac': 3, 'vel': 5}

The output I posted was just directly parsed from the JSON, nothing removed. To be sure, I logged the raw string prior to parsing, here's an example:

{"_type":"location","_id":"ea0bc971","acc":10,"alt":80,"batt":90,"bs":1,"cog":0,"conn":"w","created_at":1729491883,"lat":0,"lon":0,"m":2,"tid":"01","topic":"owntracks/owntracks1/galaxys23","tst":1729491883,"vac":2,"vel":0}

@jpmens
Copy link
Member

jpmens commented Oct 21, 2024

There's a setting called "extra data" or similar (can't check now). Is that on in the Android OwnTracks app?

@CiaranG
Copy link
Author

CiaranG commented Oct 21, 2024

"Extended data" - it's on, yes. I'm getting the battery status and the connection type, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-more-info A little more info requested from the submitter
Projects
None yet
Development

No branches or pull requests

2 participants