Help pushing events to third party service

Dan7 years ago

Hi; apologies if this is going to sound like a stupid question. I've tried to get things working myself but to no avail so my last resort is to hope you can assist.

I'm trying to push events to my Android device using a tool by a developer called 'Join'. The developer offers an api as per the instruction here: https://joaoapps.com/join/api/ and I have copied/pasted the api from my management page.

I have amended my configuratation file (traccar.xml) to show:

<entry key='event.forward.enable'>true</entry>
<entry key='event.forward.url'>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceId=1234abcd&apikey=1234abcd</entry>
<entry key='event.forward.header>traccar</entry>

note: device ID & API have been changed to 1234abcd

initially the server was not starting, the wrapper log showed an error expecting a ; after apikey... I've adjusted the url to now be... ....deviceID=1234abcd&amp;apikey=1234abcd and now the server starts, but I'm not seeing any events push to my device.

Has anyone implemented the device push to Join? Any help on what I need to do to get this working - if at all it will work?

Sorry, I'm not the best at this technical stuff, no matter how hard I try.

Thanks for any responses/help

Dan

Anton Tananaev7 years ago
  1. Your configuration is invalid XML. There is no closing quote in the last attribute.
  2. More importantly you can't just forward Traccar data to that service as it is. Obviously the format is different.
Dan7 years ago

I had a feeling you might tell me it's incompatible...

I guess I'll just have to make do with the email events... My plan was to pull the event to my phone and create a notification.

I'm pretty familiar with this developers apps and tasker and was hoping to be able to use the traccar events to be used within tasker to create notifications, turn smart plugs on etc