How to add a Driver to GpsGate
This guide will show you the steps to setup your driver identification in your GpsGate Server platform. A driver is just a normal user in GpsGate. A driver does not require a license. You can generate reports in the exact same way for drivers as for vehicles. To generate a driver identification event in the platform need to use Event Rules.
The RFID/IButton ID’s are two different names for the same concept. They reference a number to be assigned to an specific driver and not to a vehicle. You need to input the RFID/IButton in the Driver properties and never in the Vehicle/Unit properties.
The association vehicle-driver will be done automatically by the Event Rule that we will setup in the following steps.
You will need a device that supports RFID/IButton functionality. Ask your device manufacturer or check on compatible devices here.
- Map the DriverID signal
- Create the user Driver
- Assign the Driver ID to your driver
- 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).
- Note: the Input in your device (left column) should normally be DriverID but could be any other input according to your device hardware. Check your device’s user manual to see which one is the correct you should select.
2. Create the user Driver
If you don’t have yet a Driver, you need to create a user with the type Driver.
- Note: As any other user (except Device or if you enable the role _Unit), the Driver does not consume a license.
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 ID 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.
Go to Admin > Event Rules and start generating your rule with your preferences.
- Important: do not select any tag in this step. Leave it blank, otherwise the Driver ID event will not work properly.
In the 4. Expressions step, you have to select Driver ID login expression, and assign it to the IButton or variable that you have mapped in the first part of this guide.
- Optional: add a notification type Text which displays Driver name. You can add this to the Vehicle List in Map View and in this way see which driver is using which vehicle. You can see the procedure in this guide
When the driver has identified him/herself in the vehicle the driver will be displayed instantly in the map over the vehicle icon.
- Setup Driver working hours (Flexible Signal Accumulators)
- How to configure SOS alerts in GpsGate Server
Discuss this blog post on the forum please