Events
Here are the list of events provided by McEasy:
Device Events
ID | Type | Name | Code |
---|---|---|---|
1 | Data Update | Location | DVC-DU1/L1 |
2 | Data Update | Temperature | DVC-DU1/T1 |
3 | Data Update | Fuel | DVC-DU1/F1 |
4 | Alarm | Overspeed | DVC-A1/O1 |
5 | Alarm | Geofence | DVC-A1/G1 |
6 | Alarm | Temperature | DVC-A1/T1 |
7 | Alarm | Fuel | DVC-A1/F1 |
8 | Alarm | Door | DVC-A1/D1 |
9 | Alarm | Tamper | DVC-A1/T2 |
10 | Alarm | Harsh Braking | DVC-A1/HB1 |
11 | Alarm | Harsh Acceleration | DVC-A1/HA1 |
12 | Alarm | Sharp Turn | DVC-A1/ST1 |
13 | Alarm | Engine | DVC-A1/E1 |
14 | Alarm | SOS | DVC-A1/S1 |
15 | Data Update | Status Fleet Task | API-DU1/SF1 |
16 | Data Update | POP/POD | API-DU1/PP1 |
17 | Data Update | Location with Fleet Task | DVC-DU1/LF1 |
18 | Alarm | Fatigue | DVC-A1/F2 |
19 | Alarm | Close Eye | DVC-A1/CE1 |
20 | Alarm | Yawn | DVC-A1/Y1 |
21 | Alarm | Distraction | DVC-A1/D2 |
22 | Alarm | Smoking | DVC-A1/S2 |
23 | Alarm | Phone Call | DVC-A1/PC1 |
24 | Alarm | Missing Face | DVC-A1/MF1 |
25 | Alarm | Seatbelt | DVC-A1/S3 |
26 | Alarm | Shock | DVC-A1/S4 |
Data Structure
All time related data -- unless specified otherwise -- will have the following format: YYYY-MM-DD HH:MI:SS +0000
.
And they are sent in Greenwich (UTC) timezone.
Location Data Update (DVC-DU/L1)
{
license_plate: string,
hull_no: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
speed: int,
direction: int,
engine_on: bool,
last_packet: string,
last_receive: string,
last_motion: string,
motion_status: string
}
Temperature Data Update (DVC-DU/T1)
{
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
temperature_num: int,
temperature: float,
engine_on: bool
}
Fuel Data Update (DVC-DU/F1)
{
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
liter: float,
percentage: float,
engine_on: bool
}
Overspeed Alarm (DVC-A1/O1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
speed: int
}
Geofence Alarm (DVC-A1/G1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
condition: string, // Going in or out of geofence. Possible values: in, out
geofence: string // Name of the geofence
}
Temperature Alarm (DVC-A1/T1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
condition: string, // Higher or Lower than alert threshold. Possible values: lower, higher
temperature: float,
origin: string // Origin of the temperature alert. Possible values: refrigerator, engine
}
Fuel Alarm (DVC-A1/F1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
condition: string, // Gaining or Losing fuel. Possible values: gain, loss
percentage: float,
capacity: float
}
Door Alarm (DVC-A1/D1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
door_num: int, // Indicates which door sensor it is. Possible values: 1, 2
condition: string, // Is door opened or closed. Possible values: open, close
address: string // Address of the coordinates
}
Tamper Alarm (DVC-A1/T2)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
}
Harsh Braking Alarm (DVC-A1/HB1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
}
Harsh Acceleration Alarm (DVC-A1/HA1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
}
Sharp Turn Alarm (DVC-A1/ST1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
}
Engine Alarm (DVC-A1/E1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
condition: string, // Is engine on or off. Possible values: On, Off
}
SOS Alarm (DVC-A1/S1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float
}
Location with Fleet Task Data Update (DVC-DU/LF1)
{
license_plate: string,
hull_no: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
speed: int,
direction: int,
engine_on: bool,
last_packet: string,
last_receive: string,
last_motion: string,
motion_status: string
}
Fatigue Alarm (DVC-A1/F2)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}
Close Eye Alarm (DVC-A1/CE1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}
Yawn Alarm (DVC-A1/Y1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}
Distraction Alarm (DVC-A1/D2)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}
Smoking Alarm (DVC-A1/S2)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}
Phone Call Alarm (DVC-A1/PC1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}
Missing Face Alarm (DVC-A1/MF1)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}
Seatbelt Alarm (DVC-A1/S3)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}
Shock Alarm (DVC-A1/S4)
{
event_timestamp: string,
license_plate: string,
imei: string,
driver: string,
latitude: float,
longitude: float,
geofences: [string],
engine_on: bool,
link: string
}