Open-source maintenance & parts inventory companion for Traccar (separate from traccar)

Tronio 21 days ago

Hi everyone,

I wanted to share a project I’ve been building. An open-source companion service that adds vehicle maintenance logging, spare-parts inventory, and service reminders on top of an existing Traccar deployment.

The idea
Traccar is great for tracking vehicles and has basic maintenance schedules, but we needed more for day-to-day fleet operations. Service history, parts stock levels, cost tracking, and a single place to see what’s due across the fleet. Rather than fork or patch Traccar, this runs as a separate service that talks to Traccar through the REST API and event.forward webhooks.

It uses Traccar’s REST API + event.forward webhooks, stores data in a separate MySQL schema, and enforces the same multi-tenant device visibility as Traccar. Users log in with their Traccar credentials.

see more on the github and feel free to contribute and suggest new changes/features
https://github.com/Marvinjon/track-maintenance

bluelaser 20 days ago

Can you forgo the admin token and just add users via their own tokens? The idea is solid but all that's really needed for integration is the vehicle list and current odometer - may as well run reminders etc on Track Maintenance rather than receiving all the events.

depth7503 19 days ago

I've played around with Lube Logger and was thinking about automating Traccar to keep mileage records current. Have you looked at that project?

Tronio 18 days ago

@bluelaser good call, just pushed that change. It now uses each user's own token instead of an admin token, I also removed the email notifications for now until I can figure out a better way to do it.

@depth7503 yeah, I'm aware of Lubelogger, it's a solid project. The main reason I built this separately was to have something that integrates directly with Traccar and keeps a similar look and feel to Traccar. But I've seen that there have been some people that have integrated it together with a simple script.