Alerting when a vehicle leaves the country

Who can do it: Service provider
Where: Wialon Platform Studio, Wialon Platform FleetSpace

Set up a system that automatically sends an online notification whenever a vehicle crosses the national border and leaves the country. This workflow involves three main parts:

  1. Creating the country border geofence
  2. Configuring the action template
  3. Configuring the Logical expression automation
  4. Linking the action template to the automation

Creating the country border geofence

To create the geofence that outlines the country border:

  1. In Wialon Platform FleetSpace, navigate to the Geofences page.
  2. Click the Add button to create a new geofence.
  3. Select the polygon shape (pentagon icon) to draw a custom shape.
  4. On the map, click point by point along the country’s border to outline the polygon.
  5. Double-click the last point to complete the shape.
  6. In the New geofence window, enter a descriptive name (for example, National border).
  7. (Optional): Assign the geofence to a group if your service provider has configured geofence groups.
  8. Click Save.

Configuring the action template

To create a Send online notification action template:

  1. In Wialon Platform Studio, navigate to the Automations tab.
  2. Click Add and select Add action template.
  3. Enter a descriptive name, for example Alert.
  4. Select the Send online notification type.
  5. Enable the action template.
  6. Click Save.

Configuring the “Logical expression” automation

To configure the automation:

  1. On the Automations tab, click the Add automation button.
  2. In the New automation form, on the Settings sub-tab, enter a descriptive name, for example, Vehicle left the area.
  3. In the Type field, select Logical expression.
  4. In the Expression to trigger alarm field, use the specific parameter sent by your device. For example, if you are using Howen Hero-ME32-08, the parameter for the geofence leaving an area is geofence.out.alarm. Find it in the list of parameters and click on it to copy. Learn more about the logical expression format.
  5. Add the operator and condition to the expression: geofence.out.alarm == true
  6. Enable the Geofences toggle:
    • In the Geofence groups field, select a group to which the geofence belongs.
    • In the Geofences field, select the geofences you want to monitor.
  7. Enable the automation using the toggle.
  8. In the Devices to monitor section, select the devices and labels that you want to monitor.
  9. Click Save.

Linking the action template to the automation

To finalize the configuration:

  1. Go to the Associated action templates tab within the automation.
  2. Click Link action template.
  3. From the dropdown list, select the Alert action template.
  4. Customize the notification message, for example: The vehicle has left the country.

After completing these steps, whenever a monitored vehicle leaves the configured National border geofence, an online notification with the message “The vehicle has left the country.” will be displayed in Wialon Platform FleetSpace.

If you find a mistake in the text, please select it and press Ctrl+Enter.

Report a mistake

Your message was sent. Thank you!

An error occurred while submitting the form