Morava Events
Morava Events is a plugin that is not activated by default. It must be enabled within the mobile application's settings. This plugin empowers drivers to trigger specific actions under particular circumstances, referred to as routines.
Each routine consists of four main components:
-
Conditions:
These are the criteria or triggers that must be satisfied for the routine to execute (e.g., entering a location, specific vehicle metrics, or a media check). -
Actions:
These define the tasks or operations that are performed once the conditions are met, such as playing a song, recording audio, or sending notifications. -
Cooldown (Optional):
This is a specified period after a routine's execution during which the routine cannot be triggered again, preventing it from activating too frequently. -
Delay (Optional):
This is the waiting period after conditions are met and before the routine starts, allowing for any necessary preparation or confirmation.
If no Cooldown is set, the following logic is applied: when the conditions are met, the routine is activated immediately. The next activation is only possible once the conditions have been cleared and then met again.
When the defined conditions are met, Morava ensures that the selected actions are executed sequentially.
Upon entering the city of Jagodina in Serbia, Morava Events will automatically trigger a special system routine. This routine is built into the system and executes regardless of any other conditions, even if the driver has not activated the Events plugin.
Conditions & Actions Explained
To use some of these conditions and actions, it is necessary to have a connected Spotify account and an active Spotify Premium subscription.
Conditions
| Condition | Description |
|---|---|
| Location Trigger | Detects when a driver enters or exits a specific area. |
| Vehicle Data (ODB) | Monitors key parameters such as speed, RPM, and engine temperature. |
| Media Verification | Checks for a specific song by its title, artist, or via a Spotify link. |
| Temperature Comparison | Evaluates if the temperature is lower than, higher than, or equal to a specified value. |
| Time Check | Validates the current time against a defined clock value. |
| Date Check | Confirms if the current day or month matches a predetermined value. |
Actions
| Action | Description |
|---|---|
| Play Music | Initiates playback of a specified song from Spotify. |
| Record Audio | Allows the driver to record or upload an audio file (up to 30 seconds in duration). |
| Send Notification | Dispatches notifications to connected clients. |
| Display Message | Triggers an event (e.g., "blackscreen") with a custom message to be sent to a socket server for an on-screen display. |