How to modify the default trip definition value

Read about trip definition here.

Modify the trip definition

Follow these steps in order to change the Trip Definition value:

1. Map the Ignition input on the Device Mapper

First, you must verify that you have correctly mapped the signal you want to use in our Trip Definition. In this example, we'll use Ignition in the Device Mapper.

In the application, go to Admin > Device Mappers and map your Ignition variable. The input this comes from depends on your device brand and model. Consult with your device manufacturer's support to learn more about Ignition detection for your particular device.

Screenshot 2023-08-24 at 15.55.35.png

2. Change the Trip Definition to Device input - Variable

Open the Device Mapper again, and choose your device.

Scroll down on the Setup page to find Trip Definition.

Screenshot 2023-09-05 at 11.05.59.png

2.1 In Type, select Device Input
2.2 In Minimum Idle Time, select the amount of time that will define a standstill.
2.3 In Input, select the variable that will generate the new trip definition (e.g. Ignition).
2.4 Save the device mapper configuration.

3. Reprocess the tracks

After changing the Input in the Trip Definition, reprocess tracking data to reflect the new values for your standstills.

Read how to reprocess tracking data here.

Result

Trip definition with the default value: GPS Movement Trip definition with: Ignition
blog_fatpoints_ignition_003.jpg blog_fatpoints_ignition_004.jpg

 

3. Change the Trip Definition to Device input - Script 

Enable the privileges: _EditDeviceMapperScript and refresh the browser.

Read more about how to access Privileges and Features guide.

Screenshot 2023-08-24 at 15.38.52.png

Open the Device Mapper again, and choose your device.

Go to Scripts and click on +Script 

Screenshot 2023-08-24 at 16.08.57.png

Fill in the name of the Script and the variable.

Click on Script editor and write your code.

Screenshot 2023-08-24 at 16.10.31.png

Save the code and the setup script. 

Scroll down on the Setup page to find Trip Definition. It is now available the Device input - Script.
Save the setup.

Screenshot 2023-08-24 at 16.14.53.png