Command disabled: backlink

Table of Contents

Trip detection

To get trip detection settings, use the command unit/get_trip_detector:

svc=unit/get_trip_detector&params={"itemId":<long>}

Parameters

Name Description
itemId unit ID

Response

{
	"lock_msgs_to_roads":<uint>,	/* lock message to roads: 0 - no, 1 - yes */
	"trip_detection":{		/* trip detection */
		"type":<uint>,			/* type of movement detection (see below) */
		"has_gps_correction":<uint>,	/* allow GPS correction: 0 - no, 1 - yes */
		"min_sat":<uint>,		/* min satellites count */
		"min_moving_speed":<uint>,	/* min moving speed, km/h */
		"min_stay_time":<uint>,		/* min parking time, seconds */
		"max_msgs_distance":<uint>,	/* max distance between messages, meters */
		"min_trip_time":<uint>,		/* min trip time, seconds */
		"min_trip_distance":<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
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam