Make http request if device is inside of geofence

Aleksandr4 years ago

Hi,

I would be very happy, if anyone could help me out, how can I make the http request to open certain web-page(let's say google.com) if the device is inside of geofence or status changed(f.e. from online to unknown).

Regards,
Sasha

Anton Tananaev4 years ago

I don't really understand the question. Do you want server to open google.com web page?

Aleksandr4 years ago

Yes, my objective is to be able to open the web-page(f.e. google.com) if the device is inside of geofence or device status has changed(f.e. from online to unknown). I want to do all of this from Traccar GUI. I thought maybe it is possible with computed properties, but it only changes the other properties.

Anton Tananaev4 years ago

Sounds like you want the web app to open a page, not the server. It's not possible with computed attributes. You need to change the code.

Aleksandr4 years ago

yes, the most straightforward solution is to change the code, but I don't have access to the server, on which the web app is running. Hence, I was hoping that I can do it with Traccar web app.

Aleksandr4 years ago

Но в любом случае спасибо большое. Я благодарен за оперативный ответ) С уважением, Саша :)

Ahmad4 years ago

Aleksandr,

Look into the services offered by http://ifttt.com

For example, if email contains "entered geofence" then call http://whatever