Making use of everything
February to April 2026. A trip that measured zero kilometres, a tracker that learned to sleep and wait out tunnels, emergency messages, theft alerts, and finally, a case of its own.

By the end of February, the tracker was no longer just a board sitting on my desk. It came with me on the motorcycle, collecting data, sending positions, and slowly becoming something I could actually rely on.
Or at least, something I hoped I could rely on.
On 28 February, I opened the Rides tab and looked at the first ride I had ever saved.

It was the ride from 19 February, the first time I had taken the tracker out on the motorcycle.
According to the application, I had travelled exactly 0.00 kilometres, in zero minutes, at a maximum speed of 0 km/h.
Not particularly impressive.
The interesting part was that the tracker had actually done its job. During those seven minutes, it had sent 64 GPS positions, reaching speeds of up to 26 km/h.
The problem was somewhere else: the ride recording logic hadn't collected any of them.
Another zero that didn't mean what it said.
The first ride with an actual distance recorded came on the evening of 2 March: 3.2 kilometres.
But before getting there, there were a few more things to figure out.
20 February — Asleep, not gone
One of the most important things for a battery-powered tracker is knowing when to sleep.
The goal was simple: when the motorcycle is parked, the tracker should consume as little power as possible. When someone touches or moves it, it should wake up and start reporting again.
The first ride had already exposed one problem: the tracker could fall asleep while I was riding.
On 20 February, I discovered the opposite problem.
Small vibrations were keeping the motion sensor active, preventing the tracker from ever entering sleep mode. Something as insignificant as a slight movement could keep the device awake and drain its battery.
There was also another problem, this time on the application side.
The application could already tell when the tracker went to sleep. What it couldn't tell was what happened after that.
A sleeping tracker doesn't send positions. Neither does a tracker that has been unplugged, has run out of battery, or has disappeared altogether.
From the application's perspective, a sleeping tracker and a missing one look exactly the same.
I needed a way to distinguish between the two.
On 22 February, I introduced periodic check-ins. Even while sleeping, the tracker would occasionally wake up, activate the modem, send a small message to confirm it was still alive, and go back to sleep.
That gave the application a way to tell the difference between a device that was deliberately conserving battery and one that had actually gone silent.
The following morning, another small issue surfaced: the tracker kept forgetting where home was.
Every time it woke up, the saved home location was gone. Without knowing where home was, it assumed it was away and started behaving accordingly, waking up much more often than necessary.
A small bug, but an important one when battery life is the whole point.
26 February — Tunnels and mountains
Until this point, losing cellular connectivity meant losing data.
If I entered a tunnel or rode through a mountain valley without coverage, the tracker would continue recording GPS positions, but it couldn't send them anywhere.
The result was a broken trail on the map: one position before the signal disappeared, another after it came back, and nothing in between.
On 26 February, I added local position buffering.
When the connection drops, the tracker keeps recording positions and stores them locally. Once connectivity returns, it sends the missing data to the application.
This meant a short loss of signal no longer left a hole in the trail on the map.
The first implementation had a small problem, though.
The saved positions were timestamped when they arrived at the server, rather than when the tracker had actually recorded them.
Consequently, the map displayed them in the wrong order. A perfectly ordinary road could turn into a zigzag.
That was corrected the following day.
The same period also revealed something more frustrating about the GPS.
I discovered what had happened during one of my rides: 35 minutes of a single trip were missing.
The tracker had a mechanism designed to detect a frozen GPS receiver. If it believed the GPS wasn't updating, it would restart it.
Unfortunately, the detection logic was too aggressive.
Three times during that ride, it decided the GPS was stuck when it wasn't. Each restart left the tracker without a position for another ten to twenty minutes while it searched for satellites again.
The mechanism intended to protect the tracking system was actually breaking it.
A useful lesson: sometimes the problem isn't the component you're trying to fix, but the logic around it.
2 March — Making use of everything
By the beginning of March, I started looking beyond basic tracking.
The device came along on every ride, collecting all sorts of information: GPS coordinates, movement, orientation, and battery status.
I wanted to make use of everything it knew.
The first addition was crash notifications.
Inside the application, I implemented a way to register emergency contacts: people who should be notified if something happens to me.
If the tracker detects a crash, each contact receives a text message containing a link to the motorcycle's location.
I also added temporary location sharing. It generates a link that allows someone to follow the motorcycle live on a map for a limited period. After a few hours, the link expires.
Both features made the project feel a little more serious. It wasn't just about knowing where I had parked anymore.
Of course, the first implementation of crash notifications had its own problem.
Sending the messages took long enough that the board assumed it had frozen and restarted itself.
A tracker rebooting in the middle of reporting a crash isn't particularly useful.
I fixed that the same evening.
There was also something I wouldn't discover until much later: every crash the tracker recorded between the introduction of this feature and the end of September turned out to be a false alarm.
Hard braking, potholes, and other sudden movements were being interpreted as crashes.
That would require quite a bit more work, and eventually deserve a story of its own.

The following day, I added another feature to the application: ride replays.
Instead of simply looking at a completed route on the map, I could now replay the entire journey, watching the motorcycle move along the recorded positions with a slider to control playback.
It was a small feature, but it made all that collected GPS data considerably more interesting.
5 March — A new map
The map was becoming an increasingly important part of the application.
As more rides accumulated, I started noticing the limitations of the mapping library I was using, particularly when zooming and panning.
On 5 March, I began migrating the application to MapLibre.
The main reason was performance. MapLibre renders the map using the phone's graphics hardware, making interactions such as zooming and panning considerably smoother.
The migration took until 10 March to complete, but the difference was noticeable.
Markers stopped drifting around while zooming, and the entire map experience became much more responsive.
One particular view benefited from this change: the ability to display every road the tracker had ever travelled on.
As more rides accumulated, the map started filling up with roads, slowly building a picture of everywhere the motorcycle had been.
It was one of those features that made me want to keep riding just to see the map grow.
8 March — Giving it a case
Until now, the tracker had been a bare development board with wires hanging off it.
And I mean really bare.
Before having an enclosure, I'd actually walk around with the board, wires sticking out in every direction, antennas and little LEDs blinking everywhere, just to test how it behaved on the motorcycle.
I used to joke with my friends that I looked like I was carrying a homemade bomb around. It wasn't exactly the most reassuring-looking piece of technology.

But it worked, and that was what mattered at the time.
Luckily, I had some help.
My friend bitzi 3D-printed an enclosure for the tracker.
The first print came out on 8 March, and it didn't take long before it was covered in handwritten notes for the next revision.
The photo at the beginning of this post shows the following morning's progress: the board finally fitted inside the enclosure, with the square GPS antenna visible on the left.
The blurred areas hide the labels containing serial and model numbers.
By the evening of 9 March, it had a lid.
It was starting to look like an actual device.
24 March — When something happens
A good tracking system should do more than show where something is.
It should also tell you when something isn't right.
Throughout March, I spent quite a bit of time improving the theft detection and alerting mechanisms.
On 22 March, the tracker started reporting how fresh its last GPS position was. This allowed the application to distinguish between a recent location and one that might already be several minutes old.
That matters quite a lot when you're trying to figure out where a moving motorcycle actually is.
Two days later, on 24 March, I added phone calls for theft and crash events. Instead of relying exclusively on push notifications or text messages, the system could now call me and play a recorded alert.
A day later, I added a safeguard to prevent a single alarm from triggering an endless sequence of phone calls.
Also on 25 March, theft alerts became independent of acquiring a new GPS position.
Previously, an alert could be delayed while the tracker was waiting for a location fix. Now, if the motorcycle was moved while armed, the notification could be sent immediately, including the last known position.
And on 26 March, the application got a new visual indicator: a red banner displaying THEFT IN PROGRESS.
It appears when the tracker detects that someone is moving the motorcycle while the security system is armed.
By this point, the project was becoming much closer to what I had originally imagined when I first started researching commercial motorcycle trackers.
6 April — A second tracker
By April, mine wasn't the only tracker anymore.

Until now, my tracker had been built around an all-in-one hardware design, with everything integrated into a single device. It worked, but the components made it relatively expensive to replicate.
I started exploring a different approach: splitting the hardware into separate, smaller components. This made it possible to build trackers using cheaper parts without having to reproduce the exact configuration of my original device.
On 6 April, bitzi assembled the separate hardware components into a new tracker and powered it on for the first time. It immediately registered itself with the application.
It was an important step towards making the project easier and cheaper to replicate. The application didn't need to know whether it was talking to my original all-in-one tracker or a device built using a completely different hardware configuration.
21 April — Black, with the Honda wing

On the evening of 21 April, bitzi printed a third enclosure.
This time it was black, with Honda's wing on the lid.
A small cosmetic change, perhaps, but it marked another step in turning the development board into something that actually belonged on a motorcycle.
Looking back at February, the difference was considerable.
What started as a board on my desk had become a tracker that could conserve its battery, recognize movement, buffer GPS positions through tunnels, report crashes, share its location, and alert me when someone moved the motorcycle.
It had an application of its own, its own database, notifications, ride replays, and a physical enclosure.
But there was still one thing missing: a proper long-distance test.
All these features had been developed and tested individually. I had taken short rides, fixed bugs, checked notifications, and watched the data arrive.
Until 19 April, I hadn't tested the whole system on a proper long journey.
That day, the tracker came along for a full day on the road: 354 kilometres, from morning until evening.
It was the first real opportunity to find out whether all those individual improvements could work together outside my desk and workshop.
The tracker had come a long way. Now it was time to see how it would handle a proper day on the road.