rodswigart
Posts: 8
Joined: Fri Sep 24, 2010 11:50 pm
Location: USA

Event Rules not working/GpsGate events

Sun Sep 11, 2011 7:12 pm

I need a rule expression that is ALWAYS true to do this "GpsGate events to your business system". I have followed the blog precisely but it never triggers. EG No tags so rule applys to all, Always active, Immediate event, command->"custom server", "_externalNotification", tcp. I tried the speed change overtime >0 but it never triggers...

I want to forward all packets to my own server.

Is there a way?

User avatar
johan
GpsGate
Posts: 15423
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Event Rules not working/GpsGate events

Sun Sep 11, 2011 7:46 pm

_externalNotification will only trigger as the event turns true.

What are you trying to do?

Regards,
Johan

GpsGate Support

rodswigart
Posts: 8
Joined: Fri Sep 24, 2010 11:50 pm
Location: USA

RE: Event Rules not working/GpsGate events

Sun Sep 11, 2011 8:13 pm

Goal: when ANY position from anyone comes into the GPSGATE Server, forward that information to my server...

rodswigart
Posts: 8
Joined: Fri Sep 24, 2010 11:50 pm
Location: USA

RE: Event Rules not working/GpsGate events

Sun Sep 11, 2011 8:16 pm

I do not want to poll the gpsgateserver from my server for updates in device positions. I would like for gpsgateserver to send to my server everytime a position is updated.

rodswigart
Posts: 8
Joined: Fri Sep 24, 2010 11:50 pm
Location: USA

RE: Event Rules not working/GpsGate events

Sun Sep 11, 2011 8:21 pm

I had previously had all devices send updates to my server, record the information and then forward the data via a proxy to our gpsgate server. With 3.0 I see I can set up a event rule to have "_externalNotification" via TCP which is exactly what I need.

rodswigart
Posts: 8
Joined: Fri Sep 24, 2010 11:50 pm
Location: USA

RE: Event Rules not working/GpsGate events

Sun Sep 11, 2011 11:13 pm

Are my only option is a custom plugin?


rodswigart
Posts: 8
Joined: Fri Sep 24, 2010 11:50 pm
Location: USA

RE: Event Rules not working/GpsGate events

Mon Sep 12, 2011 1:04 am

Don't have the ability to write my own custom plugin.

Surely, gpsgate server has the ability to (in real time) to forward a users's position to an external server. Any more ideas?

mti
Posts: 268
Joined: Thu Aug 14, 2008 5:02 pm
Contact: Website

RE: Event Rules not working/GpsGate events

Mon Sep 12, 2011 10:32 am

We do develop plugins for several GGS users. If you want we can help you, send us the requirements and we will quote. If it is really "trivial" we will make it for free.

Mcthedog
Posts: 31
Joined: Thu Nov 17, 2011 3:05 pm
Location: United Kingdom
Contact: Website

RE: Event Rules not working/GpsGate events

Mon Nov 28, 2011 4:14 pm

A database trigger (ON INSERT) or an IF TRUE on the event notifier should work here.

--*
Mark@En1gmaEngine.co.uk

Mcthedog
Posts: 31
Joined: Thu Nov 17, 2011 3:05 pm
Location: United Kingdom
Contact: Website

RE: Event Rules not working/GpsGate events

Mon Nov 28, 2011 4:19 pm

Did you sort this out Rod? This is exactly what I'm trying to do too!

--*
Mark@En1gmaEngine.co.uk

Return to “GpsGate Server - How to setup and use”