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

Payload as JSON? #2

Open
jpmens opened this issue Mar 30, 2018 · 1 comment
Open

Payload as JSON? #2

jpmens opened this issue Mar 30, 2018 · 1 comment

Comments

@jpmens
Copy link

jpmens commented Mar 30, 2018

Nice work; this is very interesting.

Are you aware of the OwnTracks project? We provide Open Source apps (iOS and Android) which use an MQTT broker onto which positions from the mobile devices are published and from which positions of, say, friends or family are obtained to show in a list of friends.

We have designed a payload format (which we lovingly call OwnTracks JSON) which uses standard JSON with some defined elements. This is quite extensively documented.

As a matter of interest, we also created a Traccar Protocol decoder (aptly named owntracks) which can be used to feed Traccar with our OwnTracks JSON via HTTP.

I'm mentioning this as it may be something you'd like to support in your traccar-mqtt plugin.

@ivanfmartinez
Copy link
Owner

I know the Owntracks, currently I this this to feed the locations to my openhab instance. The sparated fields are easier to process than a single json.

But if you make a PR with the owntracks format support as one configurable option I can merge .

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

2 participants