Fuel consumption: fuel fillings/thefts detection

To update parameters of fuel fillings/thefts detection, use the command unit/update_fuel_level_params:

svc=unit/update_fuel_level_params&params={"itemId":<long>,
					  "flags":<uint>,
					  "ignoreStayTimeout":<uint>,
					  "minFillingVolume":<double>,
					  "minTheftTimeout":<uint>,
					  "minTheftVolume":<double>,
					  "filterQuality":<ubyte>,
					  "fillingsJoinInterval":<uint>,
					  "theftsJoinInterval":<uint>,
					  "extraFillingTimeout":<uint>
}

Parameters

Name Description
itemId unit ID
flags flags of fillings and thefts (see Fuel consumption)
ignoreStayTimeout ignore the messages after the start of motion, sec
minFillingVolume minimum fuel filling volume, litres
minTheftTimeout minimum stay timeout to detect fuel theft, sec
minTheftVolume minimum fuel theft volume, litres
filterQuality filter quality (0..255)
fillingsJoinInterval timeout to separate consecutive fillings, sec
theftsJoinInterval timeout to separate consecutive thefts, sec
extraFillingTimeout timeout to detect final filling volume, sec

Response

{}	/* empty object if execution successful, if not - error code */
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam