Trip detection
To get trip detection settings, use the command unit/get_trip_detector:
svc=unit/get_trip_detector¶ms={"itemId":<long>}
Parameters
Name | Description |
itemId | unit ID |
Response
{
"type":<uint>, /* type of movement detection (see below) */
"gpsCorrection":<uint>, /* allow GPS correction: 0 - no, 1 - yes */
"minSat":<uint>, /* min satellites count */
"minMovingSpeed":<uint>, /* min moving speed, km/h */
"minStayTime":<uint>, /* min parking time, seconds */
"maxMessagesDistance":<uint>, /* max distance between messages, meters */
"minTripTime":<uint>, /* min trip time, seconds */
"minTripDistance":<uint> /* min trip distance, meters */
}
Types of movement detection:
Value | Description |
1 | GPS speed |
2 | GPS coordinates |
3 | Engine ignition sensor |
4 | Mileage sensor |
5 | Relative odometer |