How to add Drivers to GpsGate

This article describes how to create an event rule that will detect when a Driver has logged on to the platform.

mceclip7.png

Requisites

1. A device that supports RFID/IButton functionality. Ask your device manufacturer or check for compatible devices here.

2. A Driver user created in the system.

Setup

1. Map the Driver input to a variable

In your application, go to Admin > Device Mapper and assign the input signal to a variable in the second column.

Check with your device support if you are unsure about which is the right input for your device.

Read more about the device mapper in this article.

2. Import the Driver login event rule.

Read more about how to import event rules.

3. Select the right input in the rule

Edit the Driver login event rule 4. Expressions and select the right input according to your selection in the device mapper in step 1.

mceclip3.png

Both device mapper variable and event rule variable should match

mceclip0.png

Driver options in the event rule

mceclip6.png

  • Autologout at midnight: when a driver is logged into the vehicle on a given day, it will be logged out automatically after 23:59 on that day (the event will be finished automatically at 00:00 the following day).
  • Ignore zero-like data: many devices send the driver information only once or at certain irregular intervals and between these intervals they send the RFID/Ibutton value empty/null. If this option is enabled, these conditions will be ignored and still consider the driver logged into the vehicle.

Adding driver information to the Workspace

Vehicle panel

1. Refresh the browser after importing the Driver login event rule.

2. Add the column Driver name

3. Save the workspace.

mceclip0.png

Read more about how to edit your workspace.

Map

To add the Driver name to the map, select Driver Name using Marker Attributes

mceclip1.png

Report

The Driver login event rule, already contains the Driver name report attribute. To edit this variable, simply edit the Driver login event rule > 5. Notifications

mceclip2.png

Read more about report arguments here.