Fuel consumption: impulse fuel consumption sensors

To update parameters of impulse fuel consumption sensors, use the command unit/update_fuel_impulse_params:

svc=unit/update_fuel_impulse_params&params={"itemId":<long>,
					    "maxImpulses":<uint>,
					    "skipZero":<bool>}

Parameters

Name Description
itemId unit ID
maxImpulses max impulses
skipZero skip first zero value

Response

{}	/* empty object if execution successful, if not - error code */