Это старая версия документа.
Детектор поездок
Чтобы получить настройки детектора поездок, нужно использовать команду unit/get_trip_detector:
svc=unit/get_trip_detector¶ms={"itemId":<long>}
Параметры
| Название | Описание |
| itemId | ID объекта |
Возвращаемый результат
{
"type":<uint>, /* type of trip detection algorithm */
"gpsCorrection":<uint>, /* allow GPS correction */
"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 trip detection algorithms
| Type | Description |
| 1 | GPS speed based |
| 2 | GPS coordinates(position) based |
| 3 | Ignition sensor based |
| 4 | Absolute mileage sensor based (mileage) |
| 5 | Relative odometer sensor based (odometer) |