Trip & Idle with parking report

This guide explains how to use a more advanced Trip & Idle report that handles the 'Parked' state. With this report, you have more detailed information about vehicle usage.

In this report:

  • Run: Ignition = ON and Speed > 0
  • Idle: Ignition = ON and Speed = 0
  • Parked: Ignition OFF and Speed = 0

mceclip0.png

Requirements

  • Configure the driver (if you want to display driver-related information).
  • Configure the idle_time parameter inside the script. (Default value is 120 seconds, meaning if the vehicle stops for longer than 120 seconds with the engine running (Ignition ON), the vehicle state will change to Idle.)
  • To edit the event rule script you need to enable the privilege _EditScriptExpression under the application Privileges and Features.

Screenshot 2024-06-24 at 11.40.53.png

Report setup

1. Download TripIdleParkingFiles.zip.

  • Trip & Idle & Parking report.xml > the report.
  • Trip & Idle parking rule.xml > Event Rule that collects data.

2. Import Trip & Idle & Parking report.

3. Enable the report into your application.

4. Import the Trip & Idle parking rule.

5. Create an instance of the Trip & Idle & Parking report:

Screenshot 2024-06-24 at 11.28.07.png

6. Select the default parameters you want for the report. Make sure the Trip & Idle parking rule is selected in the EventRule parameter.

Screenshot 2024-06-24 at 11.29.16.png

8. Save the report instance.

Now your report is ready to run.

Adding more columns to your reports

You can add more columns using Report Arguments. For the full list of variables that you can add using report arguments, click here.

Reprocess the report after you have made any change to the Event Rule for the changes to take effect.

Troubleshooting

  • Problem 1: 'I only see Run and Parked trip state and I never see Idle'.
    Solution: Verify the idle time variable in your script and adjust it to suit your business.
  • Problem 2: 'I customized the event rule, but I do not see the changes I made when rendering a new report'.
    Solution: Reprocess the report.