To update parameters of impulse fuel consumption sensors, use the command unit/update_fuel_impulse_params:
svc=unit/update_fuel_impulse_params¶ms={"itemId":<long>, "maxImpulses":<uint>, "skipZero":<bool>}
Name | Description |
---|---|
itemId | unit ID |
maxImpulses | max impulses |
skipZero | skip first zero value |
{} /* empty object if execution successful, if not - error code */
|