1

Is there a way to get entrances to geofences?

Тема: Is there a way to get entrances to geofences?

Hi,
I am trying to get how many times entered a device to a geofence. I am using notifications, but I cant find where does the notification saves events o messages to manage manually.
Thanks!

2

Is there a way to get entrances to geofences?

Re: Is there a way to get entrances to geofences?

Hello,
Try to use Geofence table: http://docs.gurtam.com/en/hosting/user/ … /geofences along with Grouping parameter: http://docs.gurtam.com/en/hosting/user/ … #grouping.

Quality Assurance Engineer
3

Is there a way to get entrances to geofences?

Re: Is there a way to get entrances to geofences?

ilma пишет:

Hello,
Try to use Geofence table: http://docs.gurtam.com/en/hosting/user/ … /geofences along with Grouping parameter: http://docs.gurtam.com/en/hosting/user/ … #grouping.

Hi, thanks. But I am using wialon SDK, is there an easy way to get with the remoteAPI?

4

Is there a way to get entrances to geofences?

Re: Is there a way to get entrances to geofences?

glizarraga, can you provide more details on what you want to achieve?

At the dark side of telematics...
5

Is there a way to get entrances to geofences?

Re: Is there a way to get entrances to geofences?

shal пишет:

glizarraga, can you provide more details on what you want to achieve?

I have notifications (messages and event types ) when devices entering or exiting from certain geofences. But I cant find where to see this notifications, or how to use the message loader to achieve this. Or if there is a report template with this information.

Cheers! Thanks for your atention.

6

Is there a way to get entrances to geofences?

Re: Is there a way to get entrances to geofences?

glizarraga,

when you exexute a request  resource/get_notification_data you can receive a parameter "ac" - alarms count
For example, it can show how much device has visited a geofences (in or out)

As for report you can execute one with table Geofences. This report shows when and how often a unit visited different geofences.
Table type and name is recieved by request svc=report/get_report_data&params
"id":31,"n":"unit_zones_visit","l":"Geofences"

Diana Cheley
Wialon Hosting Expert
Gurtam
7

Is there a way to get entrances to geofences?

Re: Is there a way to get entrances to geofences?

glizarraga, you can subscribe to new messages over the resource and listen to events periodically.

At the dark side of telematics...
8

Is there a way to get entrances to geofences?

Re: Is there a way to get entrances to geofences?

chdi пишет:

glizarraga,

when you exexute a request  resource/get_notification_data you can receive a parameter "ac" - alarms count
For example, it can show how much device has visited a geofences (in or out)

As for report you can execute one with table Geofences. This report shows when and how often a unit visited different geofences.
Table type and name is recieved by request svc=report/get_report_data&params
"id":31,"n":"unit_zones_visit","l":"Geofences"

Hi thanks for your response,
I located the alarms count parameter but I also need the time that where executed.
Can you explain more detailed the reporte that I can execute? I am trying this, but I get and empty result:

svc=report/get_report_data&params={"itemId":764053,"col":[31]}&sid=0ba6903a12810ac8f57475e5ef9d2f57

9

Is there a way to get entrances to geofences?

Re: Is there a way to get entrances to geofences?

Dear glizarraga,

request "get_report_data&params" only allows to receive all available templates data which you can use in other requests for reports:
names of tables, list of columns, list of labels and so on
It can only shows what exact parameters should be used when you create or execute a report:
reportTemplateId     template ID
"n":<text>,    /* table type */
"p":<text>,    /* table parameters */
and others

The steps are following:
You create a  report (or it can already be created on site monitoring)
Then you execute a report svc=report/exec_report and request about tables data: report/get_result_rows
http://sdk.wialon.com/wiki/en/sidebar/r … ables_data

Diana Cheley
Wialon Hosting Expert
Gurtam