Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add Event - refueling for good calculation used fuel and quick search refueling #4581

Open
lukasha12 opened this issue Oct 12, 2020 · 2 comments

Comments

@lukasha12
Copy link
Contributor

If the car refueled, the summary report will show a negative amount of fuel used because, for example:
Fuel start: 5 liters
Fuel consumption: 2 liters
Refueling: 30 liters
Fuel alloy: 33 liters
Now:
Fuel used = fuel start - fuel stop
Fuel used = 5 - 33 = -28 liters

Solution:
Refueling detection:
If current fuel> previous fuel + e.g. 5 liters then
{fueling Event = true
Refueled = current fuel - previous fuel}
Calculation:
Fuel used = fuel start - fuel stop + refueled
Fuel used = 5 - 33 + 30 = 2 liters

Additional benefits:

  • Quick search for refueling and the amount of refueled fuel (event search)
@vaguduguntla
Copy link

How does one calculate the amount of fuel refueled? is this reported by the driver?

@lukasha12
Copy link
Contributor Author

I guess traccar doesn't have that feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants