How to add Drivers to GpsGate

mceclip4.png

  • A driver is just another user in GpsGate. A driver does not compute as a vehicle. A driver user will be associated with a device that is reporting the DriverID/Ibutton value.
  • The driver user should be created as a separate user from the vehicle. The driver will have assigned the RFID/IButton number in its properties.
  • We use an Event Rule to generate a driver event.
  • The association vehicle-driver will be done automatically by the event rule that we will set up in the next steps.

What do you need to have a driver in GpsGate?

You will need a device that supports RFID/IButton functionality. Ask your device manufacturer or check for compatible devices here.

How to configure the driver in GpsGate

  1. Map the DriverID signal
  2. Create the user Driver
  3. Assign the Driver ID to your driver
  4. Create your Driver ID Event Rule

1. Map the DriverID signal

Inside your application, go to Admin > Device Mapper and assign the Device Input signal to the variable in the right (in this case, we chose Ibutton, could be any other, for example, RFID).

Read more about the device mapper in this article.

2. Create the driver user

If you don’t have yet a Driver, you need to create a user with the type Driver.

mceclip5.png and select  mceclip6.png

3. Assign the Driver ID to your driver

Ensure when you create/modify your Driver, you are assigning the correct identifier (RFID/IButton). You can do that in the user properties, Driver Info -> Driver ID

  • Tip: Create a Tag called Drivers, add all drivers to this tag. Create a Tag called Vehicles, add all drivers to this tag. This is very useful when creating Views, Reports and Event Rules.

4. Create your driver event rule

Now we need to create the event that is going to make possible the association between the RFID/IButton and the Driver created previously. This event is going to be triggered every time the user identifies himself in the car using a Tag or by any other means specific to that device.

To create your Event Rule, go to Admin > Event Rules

Set a name for your rule

Important: do not select any tag in this step. Leave it blank or the Driver ID/Ibutton event will not work properly.

Set the rule as Always active

In 4.Expressions, select the variable you have selected in the Device Mapper (usually Driver ID or IButton

 

In 5. Notifications, select Driver ID. Optional: If you want to add a label in the next step with the Driver name, you can add a new notification type Argument.

Optional: text notifier

In 5. Notifications, you can add the Text notifier

mceclip0.png

For example, if you want to represent the driver name on the Vehicles list:

mceclip1.png

Note: the column Driver Name will become available after saving the event rule and refreshing your browser.

Or on the Map using Marker Attributes:

mceclip2.png

In 6. Presentation, though it is possible to have a map icon alert, we recommend leaving this setting disabled for improving server performance.

mceclip3.png