Oracle by Example brandingTrack Trips in an Oracle IoT Fleet Monitoring Cloud Service Application

section 0Before You Begin

This 15-minute tutorial shows you, a fleet manager, how to track vehicles and trips in the Oracle Internet of Things (IoT) Fleet Monitoring Cloud Service application.

This is the second tutorial in Quick Start Tutorials for the Oracle IoT Fleet Monitoring Cloud Service Application. Read the tutorials sequentially.

Background

Vision Corporation, a tablets and smartphones manufacturer, wants to optimize the supply chain management of its display pickers, glue dispensers, and display mounters. The company is using a new type of glue that will avoid temperature fluctuations and improve the reliability of displays.

To avoid production delays, the company implemented an Oracle IoT Fleet Monitoring Cloud Service application so that it can track glue shipments from the warehouse to the factory. The application is configured to generate alerts (vehicle departure and speed), trigger incidents (vehicle breakdown), and display vehicle status.

In this tutorial, you use the Oracle IoT Fleet Monitoring Cloud Service application to track the trips. You create rules, track alerts, and manage incidents. The Oracle IoT Digital Twin Simulator application generates data about the vehicle.

What Do You Need?


section 1Configure Rules

When a specified condition causes a service disruption, a rule in the Oracle IoT Fleet Monitoring Cloud Service application can trigger an incident or an alert. In this section, you create rules that generate alerts when a truck leaves the warehouse, a driver speeds, or a truck breaks down.

  1. Sign in to your instance of the Oracle IoT Fleet Monitoring Cloud Service application.
  2. Click Menu Menu icon, and then click Rules.
  3. On the Rules page, click Create New Rule Create New icon.
  4. On the Create New Rule page, enter or select the following values, and then click Save and Back:
    • Name: TruckLeavingWarehouse
    • Apply to: Specific Vehicles
    • Specific Vehicles: Kenworth-T680
    • Condition: Location, Exited, WarehouseSantaClara
    • Fulfill When: All Conditions Apply
    • Generate: Alert: (selected)
    • Summary: Truck left the warehouse
    • Type: geofenceViolation - urn:com:oracle:iot:platform:violation:fm:geofence
    • Severity: Significant
  5. Click Create New Rule Create New icon. On the Create New Rule page, enter or select the following values. Click Save and Back:
    • Name: DriverSpeeding
    • Apply to: All Drivers
    • Condition: metric/sys_drivingSpeed, Greater Than, 90
    • Fulfill When: All Conditions Apply
    • Generate: Alert: (selected)
    • Summary: Vehicle driving over the speed limit
    • Type: SpeedViolation - urn:com:oracle:iot:platform:violation:fm:speed
    • Severity: Significant
  6. Click Create New Rule Create New icon. On the Create New Rule page, enter or select the following values, and then click Save:
    • Name: TruckBreakdown
    • Apply to: Vehicle Type
    • Vehicle Type: KenworthVehicleType
    • Condition: sensor/Speed, Equal, 0
    • Fulfill When: All Conditions Apply
    • Generate: Incident: (selected)
    • Summary: Truck Breakdown detected - needs attention
    • Description: Possible breakdown detected
    • Type: Maintenance
    • Priority: High
    • Tags: breakdown
  7. On the Rules page, verify that the three rules are enabled.
    Rules page
    Description of the illustration rules.png

section 2Start a Trip

In this section, you sign in to the Oracle IoT Fleet Monitoring mobile application as a driver, start a trip with the T680 simulated vehicle, and use the SF-SC-01 trip template for the route.

  1. In your mobile device, launch the Oracle IoT Fleet Monitoring mobile application.
  2. On the login screen, enter https://your Oracle IoT Cloud Service instance name/fm for the server URL, and then enter the driver credentials.
  3. On the welcome screen, in the Assigned Vehicle section, tap Next Next icon.
  4. On the Assigned Vehicle screen, select T680, and then tap Confirm. Tap Back Back icon.
  5. On the home screen, in the Create a Trip From a Template section, tap Next Next icon.
  6. On the Trip Templates screen, in the SF-SC-01 section, tap Create Create icon.
  7. On the SF-SC-01 screen, review the route, and tap Next Next icon.
  8. On the Trip Confirmation screen, tap Start Trip.
    Trip Confirmation screen
    Description of the illustration start_trip.png

section 3Track Alerts

In this section, you use the simulator to start the vehicle, modify its speed, and then track the alerts that are triggered in the Oracle IoT Fleet Monitoring Cloud Service application.

  1. Sign in to the Oracle IoT Digital Twin Simulator application at https://your Oracle IoT Cloud Service instance name/ds.
  2. On the Simulations page, click Truck.
  3. On the Truck page, in the row of the device data, click View View icon.
  4. On the Device Status page, in the CONTROLS section, ensure that the value of START is 4120 Network Circle, Santa Clara, and select 1 Market, San Francisco, CA, 94105, US for DESTINATION.
  5. Click DRIVE to DESTINATION, and slide the SPEED bar to 60 KPH.
  6. Sign in to your instance of the Oracle IoT Fleet Monitoring Cloud Service application.
  7. Click Menu Menu icon, and then click Fleet.
  8. On the map, locate the vehicle in Santa Clara, click the Vehicle icon, and then click View View icon.
  9. On the Vehicle: T680 page, click the Alerts tab Alerts icon, and verify that an alert was triggered due to the TruckLeavingWarehouse rule.
  10. Repeat steps 1, 2, and 3, and then, on the Device Status page, slide the SPEED bar to 145 KPH.
  11. Repeat steps 6, 7, and 8, and then, on the Vehicle: T680 page, click the Alerts tab Alerts icon, and verify that an alert was triggered due to the DriverSpeeding rule.
    Alerts page
    Description of the illustration vehicle_alert.png

section 4Track and Manage Incidents

In this section, you create a vehicle breakdown event in the simulator, and then you manage the corresponding incident generated in the Oracle IoT Fleet Monitoring Cloud Service application.

  1. Sign in to the Oracle IoT Digital Twin Simulator application at https://your Oracle IoT Cloud Service instance name/ds.
  2. On the Simulations page, click Truck.
  3. On the Truck page, in the row of the device data, click View View icon.
  4. On the Device Status page, in the EVENTS section, slide the OUT OF FUEL or UNSCHEDULED STOP bar. In the CONTROLS section, notice that the value of STATE changed to stopped.
  5. Sign in to your instance of the Oracle IoT Fleet Monitoring Cloud Service application.
  6. Click Menu Menu icon, and then click Fleet.
  7. Locate the vehicle in Santa Clara, click the Vehicle icon, and then click View View icon.
  8. On the Vehicle: T680 page, click the Incidents tab Incidents icon, and verify that an incident was generated due to vehicle breakdown.
  9. To manage the incident, click View View icon and review the incident details.
    Incident: Truck breakdown detected - needs attention page
    Description of the illustration incident.png
  10. On the Incident: Truck breakdown detected - needs attention page, in the Comments section, enter your comments and click POST. In the Status drop-down list, select Withdrawn, click Save, and then click Back.
  11. To return to the map view, click outside the Vehicle: T680 page.

next stepNext Tutorial

Monitor Fleet Operations in an Oracle IoT Fleet Monitoring Cloud Service Application


more informationWant to Learn More?

Identify Vehicle Issues and Monitor Driver Behavior