Before 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.
- Configure an Oracle IoT Fleet Monitoring Cloud Service Application
- Track Trips in an Oracle IoT Fleet Monitoring Cloud Service Application
- Monitor Fleet Operations in an Oracle IoT Fleet Monitoring Cloud Service Application
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?
- Access to an instance of Oracle Internet of Things Cloud Service
- Access to an instance of Oracle IoT Fleet Monitoring Cloud Service
- A mobile device with the Oracle IoT Fleet Monitoring mobile application installed
- The driver credentials of the Oracle IoT Fleet Monitoring mobile application
Configure 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.
- Sign in to your instance of the Oracle IoT Fleet Monitoring Cloud Service application.
- Click Menu
, and then click Rules. - On the Rules page, click Create New Rule
. - 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: m:geofence
- Severity: Significant
- Name:
- Click Create New Rule
. On the Create New Rule page, enter or select the following values. Click Save and Back:
- Name:
DriverSpeeding - Apply to: All Drivers
- Condition: , Greater Than, 90
- Fulfill When: All Conditions Apply
- Generate: Alert: (selected)
- Summary:
Vehicle driving over the speed limit - Type: :speed
- Severity: Significant
- Name:
- Click Create New Rule
. 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
- Name:
- On the Rules page, verify that the three rules are enabled.
Description of the illustration rules.png
Start 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.
- In your mobile device, launch the Oracle IoT Fleet Monitoring mobile application.
- On the login screen, enter
https://your Oracle IoT Cloud Service instance name/fmfor the server URL, and then enter the driver credentials. - On the welcome screen, in the Assigned Vehicle section, tap Next
. - On the Assigned Vehicle screen, select T680, and then tap Confirm. Tap Back
. - On the home screen, in the Create a Trip From a Template section, tap Next
. - On the Trip Templates screen, in the SF-SC-01 section, tap Create
. - On the SF-SC-01 screen, review the route, and tap Next
. - On the Trip Confirmation screen, tap Start Trip.
Description of the illustration start_trip.png
Track 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.
- Sign in to the Oracle IoT Digital Twin Simulator application at
https://your Oracle IoT Cloud Service instance name/ds. - On the Simulations page, click Truck.
- On the Truck page, in the row of the device data, click View
. - 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.
- Click DRIVE to DESTINATION, and slide the SPEED bar to 60 KPH.
- Sign in to your instance of the Oracle IoT Fleet Monitoring Cloud Service application.
- Click Menu
, and then click Fleet. - On the map, locate the vehicle in Santa Clara, click the Vehicle icon, and then click View
. - On the Vehicle: T680 page, click the Alerts tab
, and verify that an alert was triggered due to the TruckLeavingWarehouse rule. - Repeat steps 1, 2, and 3, and then, on the Device Status page, slide the SPEED bar to 145 KPH.
- Repeat steps 6, 7, and 8, and then, on the Vehicle: T680 page, click the Alerts tab
, and verify that an alert was triggered due to the DriverSpeeding rule.

Description of the illustration vehicle_alert.png
Track 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.
- Sign in to the Oracle IoT Digital Twin Simulator application at
https://your Oracle IoT Cloud Service instance name/ds. - On the Simulations page, click Truck.
- On the Truck page, in the row of the device data, click View
. - 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.
- Sign in to your instance of the Oracle IoT Fleet Monitoring Cloud Service application.
- Click Menu
, and then click Fleet. - Locate the vehicle in Santa Clara, click the Vehicle icon, and then click View
. - On the Vehicle: T680 page, click the Incidents tab
, and verify that an incident was generated due to vehicle breakdown. - To manage the incident, click View
and review the incident details.

Description of the illustration incident.png - 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.
- To return to the map view, click outside the Vehicle: T680 page.
Next Tutorial
Monitor Fleet Operations in an Oracle IoT Fleet Monitoring Cloud Service Application
Track Trips in an Oracle IoT Fleet Monitoring Cloud Service Application