To update parameters of fuel fillings/thefts detection, use the command unit/update_fuel_level_params:
svc=unit/update_fuel_level_params¶ms={"itemId":<long>, "flags":<uint>, "ignoreStayTimeout":<uint>, "minFillingVolume":<double>, "minTheftTimeout":<uint>, "minTheftVolume":<double>, "filterQuality":<ubyte>, "fillingsJoinInterval":<uint>, "theftsJoinInterval":<uint>, "extraFillingTimeout":<uint> }
| 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 | 
{} /* empty object if execution successful, if not - error code */