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

topic not reported in http mode #512

Closed
thomasdelaet opened this issue Aug 23, 2017 · 7 comments
Closed

topic not reported in http mode #512

thomasdelaet opened this issue Aug 23, 2017 · 7 comments

Comments

@thomasdelaet
Copy link

  • App build number: 1.2.7
  • Android version: 7.0
  • Device: Google Pixel C

Hey, first of all thanks for this fantastic app!

I'm writing an HTTP interface for OwnTracks to work with home assistant. When testing this in HTTP mode, the iPhone version of the client app includes topic name in the JSON body of the POST request but the Android version doesn't. Is this a bug or something I'm doing wrong?

Thanks.

@jpmens
Copy link
Member

jpmens commented Aug 23, 2017

This is not a bug; we chose to not add that for the time being, other things being more pressing. You can construct a pseudo-topic from the tid if you need something.

@thomasdelaet
Copy link
Author

Clear. Thanks

@balloob
Copy link

balloob commented Sep 25, 2017

As an easy workaround, for Home Assistant we're going to make the url be /api/owntracks/<user>/<device>.

@realjax
Copy link

realjax commented Jun 6, 2018

we chose to not add that for the time being
Is this still the case? I'm not seeing it either..

@jpmens
Copy link
Member

jpmens commented Jun 6, 2018

That is still the case.

@realjax
Copy link

realjax commented Jun 6, 2018

Ah, I see. Shame there's still nothing mentioned in the docs then. I did see my username end up as a x-limit-d header so I supposed I can get it that way... any way I can get to the device id ?

@realjax
Copy link

realjax commented Jun 6, 2018

Ah wait it IS mentioned :) I stand corrected :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants