Skip to content
levi2mPublic

About

Track logger for the DJI Osmo Nano: starts the camera over Bluetooth, logs GPS, motion and health data, writes a .fit for Mimo

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Nano Dash

ci

Track logger for the DJI Osmo Nano, for any sport. It starts and stops the camera over Bluetooth with your recording, logs GPS and motion on the phone, and writes a .fit file that DJI Mimo can attach to the footage as speed, route and elevation overlays. No Mimo "sports training" session is needed, and the phone can stay locked in your pocket.

Warning

Unofficial. Not affiliated with, endorsed by or sponsored by DJI or Garmin. Not for safety-critical use. Never operate your phone while recording: start the track before you move off.

What it does

  • Finds and pairs the camera, then starts and stops it with the track. If the link drops it reconnects in the background and still stops the camera at the end. A camera that becomes ready after the track started joins late.
  • Sets the camera's clock to the phone's every time it connects, so the clips and the .fit share one time. This changes the camera's real date and time; the app warns if the phone's automatic time is off.
  • Shows speed and distance in miles when the phone's language region is the US, UK or one of the few other countries that use them, and in kilometres elsewhere. The Settings sheet (top right) switches it, and the choice is kept.
  • Logs the track with the screen off: GPS at 1 Hz, motion sensors at about 45 Hz, pressure.
  • Writes the .fit with the same record fields as Mimo's own export, on real timestamps, plus developer fields (lean angle, lateral and longitudinal acceleration, camera recording flag) estimated from the GPS track.
  • Controls several Nanos at once ("Choose cameras"). With cameras whose clocks differ, each gets its own ride-<camera>.fit.
  • Wear OS remote (optional, off by default): start a track with one tap and stop it with a press and hold from a Galaxy Watch (or another Wear OS 4 watch), with the phone staying in the pocket. Switch on "Quick start from the watch" in the phone app (Settings, top right), choose your watch from the paired devices, and install the watch APK from the release over ADB with developer mode on the watch (the phone app has a "Watch app" row with the steps and shows "Connected before" or "Not seen yet"; Wear OS cannot install an app from the phone, and an installer would need the internet permission this app does not have). Start from the notification needs the phone unlocked on Android 12 and later; Start from the watch does not. The phone keeps one quiet notification while it is on. The link is a Bluetooth serial channel over the watch's existing pairing: no network and no Google libraries. See docs/WEAR_OS.md.
  • Heart rate from a watch (optional; worked once, on one phone and watch): tap "Add health data" on a track card once and allow it in Health Connect (Android 14 and later, read only, one permission, no network); after that, recent tracks get the heart rate the watch recorded, by time, each time the app is open, and it is written into the .fit. Whether Mimo shows it, and for which sport, is not known yet. See docs/HEALTH.md.
  • Opens a track's route in a maps app that reads GPX (OsmAnd, Organic Maps and others): tap the route preview on the track. The app draws no map itself, so it needs no network.
  • Works with screen readers such as TalkBack: section titles are marked as headings, each status row is read as one phrase (for example "GPS: Location is on"), the route preview and the live speed have spoken descriptions, and every control is at least 48 dp. It follows the phone's light or dark theme and large font sizes. The main screen has been checked with TalkBack on one phone. The Settings sheet and the watch screens were written to the same rules and installed, but have not been confirmed with TalkBack yet; reports of anything that reads badly are welcome.
  • Shows its version and build number at the bottom of the screen, with a credit line ("Built by levi2m and his AI agents", where levi2m opens the author's GitHub page). Settings has a "Check for updates" row that opens the releases page in your browser (hidden on F-Droid installs, which F-Droid updates). The app makes no request itself; the build number is the number after the dash in a release tag, for example v0.1.0-58 is build 58.
  • Keeps everything on the phone. The app has no internet permission, and tracks leave only when you tap Share.

Only Mimo draws the overlays, so Mimo is needed once, at the end, to import the .fit with the clip.

Status

Works on a Samsung Galaxy S25 Ultra (Android 17) with one Osmo Nano: real tracks imported in Mimo and lined up with their clips, including a short track on build 32 with the phone locked in a pocket and the screen off, where the 360 ms clock offset, rounded seconds and phone-versus-GPS correction all lined up. The Wear OS remote works end to end on a Galaxy Watch6 Classic paired with that phone. Heart rate from that watch via Health Connect worked once: Samsung wrote about a reading a second and Mimo drew it over a clip (see docs/HEALTH.md). Not yet proven on a real track: GPS fixes outdoors on a track started from the watch, two cameras at once, tracks longer than a few minutes with the screen off, and other watches. Other DJI cameras are untested. See ROADMAP.md.

How to use

  1. Install nano-dash-<tag>.apk (Android 8 or newer) from the latest release, allow location, Bluetooth and notifications. Each release lists the APK's SHA-256 and the signing certificate's; check a download with sha256sum -c <file>.sha256. Updates install over the old version.
  2. Turn the camera on with its wireless connection enabled, close Mimo on the phone, and tap Connect camera. The first time, approve the phone on the camera's screen.
  3. Wait for the GPS row to show a fix, then tap Start tracking and put the phone away.
  4. Tap Stop tracking (or Stop in the notification) when you arrive, and wait for "Saved".
  5. Optional, for heart rate from a watch (Android 14 or newer): tap Add health data on the track and allow Health Connect once. After that, recent tracks get it by themselves when the app is open.
  6. Tap Share .fit on the track, and in Mimo import the .fit together with the clip.

Tracks live in the app's own folder on the phone (reachable over USB) and are deleted with the app, so share the ones you want to keep, or tap "Export all tracks" for one zip of everything.

Build

Needs JDK 21 and the Android SDK (platform 37). From android/:

./gradlew :core:test :app:assembleDebug :wear:assembleDebug

The core module (camera protocol, FIT writer, track assembly) is plain Kotlin with no Android dependency, so its tests run on any JVM, with a fake Nano that reproduces the real camera's timings.

Documents

Licence

Apache-2.0, see LICENSE and NOTICE. The camera protocol notes build on Osmosis (MIT).

About

Track logger for the DJI Osmo Nano: starts the camera over Bluetooth, logs GPS, motion and health data, writes a .fit for Mimo

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages