Repository navigation
Releases
LibreTag 0.14.6
LibreTag Android app 0.14.6 (preview)
Signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Android 8.0 or newer.
A round of interface and reliability fixes across the Android app and the web app (0.5.1).
Commands and guard alarms
- A guard alarm now puts Lost and Open in map first under the red plate, while Stop guarding and Guard new spot sit beside them as quieter text actions so you cannot dismiss an alarm by accident.
- Sending a new command while another is still waiting now asks before replacing it, and Stop Lost mode asks for confirmation instead of ending Lost mode on a single tap.
- A command that was already sent or is retrying can still be cancelled from its slip (with a short warning when it went out recently), stopping further retries.
- Bluetooth scan is now reachable from the tag menu and from the detail screen during Lost mode.
Diagnosis, sharing and notifications
- Actionable findings on the Why card (node down, no answers, counter ahead, firmware behind, restarting) now show their action buttons directly on the card.
- Calm diagnoses (for example when the tag is with you or on the cable) no longer contradict themselves with "reports missed", "Overdue" or a warning ring on the map.
- Scanning a shared tag is now available from the app menu and from the first step of Add tag even when you already have tags. Closing the share QR sheet no longer logs a phantom share, and Stop sharing explains that a key change over USB in Service is needed to revoke access.
- Notifications now include Wi-Fi fixes and repeater area estimates, skip blank trailing punctuation, and format past times cleanly.
- The Connections screen updates from live state instead of rebuilding every two seconds, and invalid relay URLs or owner npubs show an inline error instead of closing the dialog.
Firmware
Unchanged: the app carries tracker firmware 0.10.4 (firmware-0.10.4.md).
Upgrading
Install over 0.14.5. Bridges stay at Android 0.6.0 and Python 0.7.0. The web app is updated to 0.5.1 with the same protocol and command fixes.
LibreTag 0.14.5
In Czechia the tag now starts a flood in the kraj it is in (cz-pha, cz-stc, cz-jhc, cz-plz, cz-kvk, cz-ulk, cz-lbk, cz-hkk, cz-pak, cz-vys, cz-jmk, cz-olk, cz-zlk, cz-msk, the codes of meshcore.cz), then in cz, as it already did in Slovakia. Before, floods in Czechia went out without a scope. The app shows the real tracking interval when tracking was switched on outside it, and no longer counts a confirmation as refused when a report reached it from two relays.
| Part | Version | Release notes |
|---|---|---|
| Tracker firmware | 0.10.4 | docs/release-notes/firmware-0.10.4.md |
| Android app | 0.14.5 | docs/release-notes/app-0.14.5.md |
| Android bridge ("Nostr bridge") | 0.6.0, unchanged | docs/release-notes/bridge-android-0.6.0.md (APK in the v0.14.2 release) |
Python bridge (nostrmesh) |
0.7.0, unchanged | docs/release-notes/bridge-python-0.7.0.md |
| Web app | 0.5.0, unchanged | already live |
Install the app over 0.14.4; it offers the firmware update to your tags. Bridge operators in Czechia: list your own kraj, the neighbouring kraje you hear tags from, and cz in your regions (docs/nostr-mesh-bridge.md).
APK signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Checksums of all files are in SHA256SUMS. Licences of the code and data inside the firmware images (Slovak borders from OpenStreetMap under the ODbL, Czech borders from ČÚZK under CC BY 4.0): THIRD_PARTY_NOTICES.md.
This is a preview. Battery life with the quiet mesh hasn't been measured yet, and the Czech scopes haven't been tried on Czech repeaters yet.
LibreTag 0.14.4
A small fix: the app no longer warns that the tracker keeps restarting after restarts you caused yourself (the reset button, switching it on, reboot, dfu, a firmware update). Two firmware updates in a row were enough to raise it. Unexplained restarts now need three within 6 hours, or two if one was a crash, watchdog reset or brown-out.
| Part | Version | Release notes |
|---|---|---|
| Android app | 0.14.4 | docs/release-notes/app-0.14.4.md |
| Tracker firmware | 0.10.3, unchanged | docs/release-notes/firmware-0.10.3.md (images in the v0.14.3 release) |
| Android bridge ("Nostr bridge") | 0.6.0, unchanged | docs/release-notes/bridge-android-0.6.0.md (APK in the v0.14.2 release) |
Python bridge (nostrmesh) |
0.7.0, unchanged | docs/release-notes/bridge-python-0.7.0.md |
| Web app | 0.5.0, unchanged | already live |
Install over 0.14.3. APK signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Checksum in SHA256SUMS.
This is a preview. Battery life with the quiet mesh hasn't been measured yet.
LibreTag 0.14.3: the kraj as the flood scope
The tag now starts a flood in the Slovak kraj it is in (sk-ba, sk-tt, sk-tn, sk-nr, sk-za, sk-bb, sk-po, sk-ke) instead of the whole country, using a map built into the firmware. The app sends both kinds of confirmation for every flood, so a bridge can answer a tag on the move along the path its report just took. The app also finds MeshCore Hub, our Zapstore build of MeshCore Open with the Local API.
| Part | Version | Release notes |
|---|---|---|
| Tracker firmware | 0.10.3 | docs/release-notes/firmware-0.10.3.md |
| Android app | 0.14.3 | docs/release-notes/app-0.14.3.md |
| Android bridge ("Nostr bridge") | 0.6.0, unchanged | docs/release-notes/bridge-android-0.6.0.md (APK in the v0.14.2 release) |
Python bridge (nostrmesh) |
0.7.0, unchanged | docs/release-notes/bridge-python-0.7.0.md |
| Web app | 0.5.0, unchanged | already live |
Install the app over 0.14.2; it offers the firmware update to your tags. Bridge operators in Slovakia: list your own kraj, the neighbouring kraje you hear tags from, and sk in your regions (docs/nostr-mesh-bridge.md).
APK signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Checksums of all files are in SHA256SUMS. Licences of the code and data inside the firmware images (the kraj borders are OpenStreetMap data under the ODbL): THIRD_PARTY_NOTICES.md.
This is a preview. Battery life with the quiet mesh hasn't been measured yet.
LibreTag 0.14.2: the quiet mesh
The quiet mesh. The tag's regular report is now a zero-hop hello that your own MeshCore node or a nearby Nostr bridge hears, and your app confirms it with a short ACK sent back the same way. A flood is the fallback, when a report has to arrive and nobody confirmed it, and it starts in the narrowest scope. Commands arrive in listening slots the app works out. The more bridges there are, the fewer floods, and anyone can run one.
Update every part together. None of them works with 0.9 tags or 0.13 apps.
| Part | Version | Release notes |
|---|---|---|
| Tracker firmware | 0.10.2 | docs/release-notes/firmware-0.10.2.md |
| Android app | 0.14.2 | docs/release-notes/app-0.14.2.md |
| Android bridge ("Nostr bridge") | 0.6.0 | docs/release-notes/bridge-android-0.6.0.md |
Python bridge (nostrmesh) |
0.7.0 | docs/release-notes/bridge-python-0.7.0.md |
| Web app | 0.5.0 | already live |
APK signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Checksums of all files are in SHA256SUMS. Licences of the code inside the firmware images: THIRD_PARTY_NOTICES.md.
This is a preview. Battery life with the quiet mesh hasn't been measured yet.
LibreTag 0.13.3: share a tag with full access
LibreTag Android app 0.13.3 (preview)
Signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Android 8.0 or newer.
Share a tag with full access
Share in the tag's menu has a third level next to View only and View and control. Full access also hands over the tag's console key, so the other phone can do what yours does over the cable and Bluetooth: change the tag's settings, connect over Bluetooth, wake the tag over Bluetooth and update its firmware. It's meant for your own second phone, a tablet or a laptop.
- Before the code shows, the app warns you. Whoever has the code can change the tag's settings, give it a new key or unpair it, and you can't take the code back. Share it only with your own devices or with someone you trust completely.
- Copy link under the code puts the share link on the clipboard (marked as sensitive, so Android doesn't preview it), for a computer or a phone you can't scan from. It works at every level.
- The other phone scans the code with Add tag as before. A tag shared with full access shows Service and Share in its menu. If you already follow that tag, scanning a new code replaces the old level.
- The code carries no pairing key. The other phone can't read where the tag was before you shared it, and it can't send the tag's own Nostr messages.
- If the other phone gives the tag a new key (Service > New key), it becomes the tag's owner and your phone loses the tag. That's what the warning is about.
Smaller changes
-
The Track button no longer says "1 h". It opens the dialog where you pick how often and for how long.
-
The firmware update screen is now translated into Slovak, Czech, German, Spanish and Dutch. It was English only.
The console from a laptop
The tools in the repository's host/ folder take the same link. libretag share import keeps the keys in a file only you can read (~/.config/libretag/tags/, mode 600) and never prints them. libretag console unlocks the tag on USB and runs console commands, and tools/blecon.py run --tag does the same over Bluetooth. That's enough for a script, or an agent, working on your own tag:
cd host
pbpaste | uv run libretag share import -
uv run libretag console -c statusUpgrading
Install over 0.13.1. Tracker firmware 0.9.5 or newer, as before. The app carries firmware 0.9.6 and offers the update over the cable or Bluetooth. Both phones need 0.13.3 for full access. An older app reads a full-access code as View and control.
LibreTag tracker firmware 0.9.6 (preview)
This release fixes one case: a tag that comes back across a border without a GPS fix.
What changed
- The tag remembers the network it was on before it last switched networks by country (radio settings and region). The memory survives a restart.
- When a report has no GPS fix and the tag has heard nothing on its current network for 3 listening windows in a row, it sends the report a second time on that previous network.
- The second copy goes out only if the previous network uses other radio settings than the current one, the network is not set by hand, and the tag is under its daily limit of 200 transmissions.
- The tag still changes its network only after a GPS fix. It listens on its current network after the copy, so it can't tell whether anyone on the previous network heard it.
- Console:
statushas aprevious network:line, andnetworkwithout an argument shows the current and the previous network.
Why
In a field test a tag crossed from Slovakia into Czechia and switched to the Czech network. It came back in a bag without a GPS fix and kept sending on the Czech network, where nobody could hear it.
Install
As for 0.9.5: UF2 drag-and-drop or serial DFU for the Wio Tracker L1, esptool for the Heltec (README.md). The pairing and the settings survive the update.
Known limits
- Built for both boards, not yet run on a tag.
- While the tag stays silent without a fix, each report costs two transmissions instead of one.
- The Heltec board has no GPS, so it never switches networks and never sends this copy.
Source
ZephCore commit da3513aa6d08 (pinned in firmware/zephcore.lock) plus the 42 patches in firmware/zephcore-patches/.
Files
| File | What |
|---|---|
libretag-0.13.3.apk |
Android app (carries firmware 0.9.6 for updates from the app) |
libretag-tracker-0.9.6-wio_tracker_l1.uf2 |
Wio Tracker L1 firmware, drag onto the UF2 drive |
libretag-tracker-0.9.6-wio_tracker_l1-dfu.zip |
Wio Tracker L1 firmware, serial DFU package |
libretag-tracker-0.9.6-heltec_wifi_lora32_v3.bin |
Heltec V3 firmware (esptool), no GPS |
nostrmesh-bridge-0.5.0.apk |
Android bridge, unchanged |
SHA256SUMS |
checksums |
The web app 0.4.0 is live at https://cypherpunk.today/libretag/app/ and updates itself.
LibreTag 0.13.1
LibreTag Android app 0.13.1 (preview)
Signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Android 8.0 or newer.
Open Bluetooth on a tag the app has lost track of
Before, Open Bluetooth remotely sent a request that only fits the tag's last report the app heard. If the tag had moved on (it was out of range for a day or two and the app missed its reports), the tag never accepted the request, even with the phone right next to it.
The phone now also sends a wake-up request over Bluetooth that doesn't depend on the tag's reports. The tag looks for it every time it wakes up and opens its Bluetooth for 3 minutes.
- The tag's screen says the phone is waiting for the tag to wake up, and roughly when that should be. Keep the phone near the tag.
- The phone waits for up to two report periods, at least 2 hours. Stop waiting cancels it.
- When the tag answers, the app connects by itself. If you left the screen, a notification tells you the tag is listening; tap it to connect.
- The request still goes through your MeshCore node or the Nostr bridges as before.
Fixes
- "Checking for missed reports…" no longer stays on screen after the app has finished checking. If the check failed (a relay dropped mid-query), the app now tries again instead of showing that line for good.
- The Bluetooth scan for a tag's console no longer gets stuck on after a "scan failed 1" error, which kept the radio scanning until the app was closed.
Upgrading
Install over 0.13.0. The app needs tracker firmware 0.9.5 or newer. A tag with older firmware shows "Update firmware" on its screen. Update it over the cable first.
LibreTag tracker firmware 0.9.5 (preview)
This release has one change. The owner's phone can open the tag's Bluetooth console from next to the tag, even when it has missed the tag's reports.
What changed
- The tag now also looks for a "console wake" advert from the owner's phone in every Bluetooth scan it runs at a wake-up. When it finds one from its owner, it opens the Bluetooth console for 3 minutes, as the
BLE_CONSOLEcommand does. - The advert is keyed with the pairing's USB key, not with the report counter. A phone that missed reports, or a tag that moved on to new keys while out of range, still match.
- The same rules as for the command apply: a paired tag, a battery above the transmit floor, and no window after 5 failed logins since the last restart. The tag sends no report for it.
- Each advert carries a random salt, so adverts of two sessions cannot be linked, and the tag refuses a salt it already took since its last restart.
- Console:
blecmdshowswake_seen=andwake_taken=.
Why
In the field a tag was out of mesh range for almost two days. Next to it, the owner asked the app to open Bluetooth. The command was sealed for the last report the phone had heard, the tag had long moved past it, and it never matched.
Install
As for 0.9.4: UF2 drag-and-drop or serial DFU for the Wio Tracker L1, esptool for the Heltec (README.md). The pairing survives the update. The app needs 0.13.1 to send the wake advert.
Known limits
- The wake advert has been tested against the reference vectors only, not yet on air between a phone and a tag.
- The window opens at the tag's next wake-up, so it can take up to one wake-up interval.
Source
ZephCore commit da3513aa6d08 (pinned in firmware/zephcore.lock) plus the 41 patches in firmware/zephcore-patches/.
Files
Signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Checksums: SHA256SUMS. The Nostr bridge APK is unchanged (0.5.0).
LibreTag 0.13.0
Android app 0.13.0, Nostr bridge for Android 0.5.0 and Python bridge 0.6.0 now use the shared MeshCore Local API client. They need MeshCore Open test build localapi-test-10 or later (or a meshcored that sends the new pairing string). Tracker firmware stays 0.9.4; its files are the same as in v0.12.0.
APK signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d
LibreTag Android app 0.13.0 (preview)
This release changes how the app talks to MeshCore Open. The tags, the map and the commands work as in 0.12.0.
Signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Android 8.0 or newer.
You need a newer MeshCore Open
The "own node" path now speaks the MeshCore Local API, protocol 1, through its shared client library. Pairing signs only the new string meshcore-local-api-pair-v1:<nonce>, so the app no longer pairs with older MeshCore Open builds.
- Install MeshCore Open test build
localapi-test-10or later: https://github.com/jooray/meshcore-open/releases/tag/localapi-test-10. Withlocalapi-test-9or older the connection fails (Connections shows the error), and the app works over Nostr only. - Your pairing is kept. The app uses the same key as before, so MeshCore Open does not ask you to approve it again unless you reinstalled MeshCore Open.
What changed
- The app's own Local API client is gone. It now uses the
meshcore-local-apilibrary (Kotlin, v0.1.0), the same one the Nostr bridge uses. - The app uses a server feature only when the server lists it in
hello.capabilities. Zero-hop commands from your own node still needtx_path_data; without it the app does not send them from the node, so they never turn into a flood. A region on floods is used only when the server listsregions. - Reports heard while the app was off are fetched again on reconnect only when the server lists
replay. A report the server sends twice is shown once.
Upgrading
Update MeshCore Open to localapi-test-10 or later first, then LibreTag. Tags need no update; firmware 0.9.4 stays current.
Nostr bridge for Android 0.5.0 (preview)
The Nostr bridge (app.nostrmesh) moves to the shared MeshCore Local API client. What it bridges, and how, stays as in 0.4.0.
You need a newer MeshCore Open
The bridge speaks the MeshCore Local API, protocol 1. It signs only the new pairing string meshcore-local-api-pair-v1:<nonce>, so it needs MeshCore Open test build localapi-test-10 or later (https://github.com/jooray/meshcore-open/releases/tag/localapi-test-10). With older builds it cannot pair.
The pairing key and the replay cursor are kept, so an approved bridge stays approved.
What changed
- The bridge's own Local API client is gone. It uses the
meshcore-local-apiKotlin library (v0.1.0). - Features follow
hello.capabilitiesstrictly:- zero-hop and direct sends only with
tx_path_data, the path of a received report only withrx_path; - the LoRa preset is read from
radio.statsonly withradio_stats(before,airtimewas enough). Without it the bridge uses its configured preset; - a flood region only with
regions. Zero-hop sends carry no region.
- zero-hop and direct sends only with
- Changing the channels in Settings restarts the Local API session instead of stopping and starting the whole radio link.
Install
Download nostrmesh-bridge-0.5.0.apk from the release, check the certificate with apksigner verify --print-certs (SHA-256 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d) and install it over 0.4.0.
Python bridge 0.6.0 (preview)
The nostrmesh bridge in host/ now reaches MeshCore Open and meshcored through the shared MeshCore Local API client. The USB companion and KISS adapters did not change.
You need a newer server
The local_api adapter speaks the MeshCore Local API, protocol 1. It signs only the new pairing string meshcore-local-api-pair-v1:<nonce>, so the server must be MeshCore Open test build localapi-test-10 or later (https://github.com/jooray/meshcore-open/releases/tag/localapi-test-10) or a meshcored that sends the new prefix. Against an older server the bridge logs a pairing error and keeps retrying.
The key in ~/.config/nostrmesh/meshcore-open.json is kept, so the fingerprint and the approval stay the same.
What changed
LocalApiRadiois a thin wrapper overmeshcore_localapi.LocalApiClient(packagemeshcore-localapi, installed byuvfrom the v0.1.0 tag on GitHub, so the firstuv syncneeds network access and git).- Features follow
hello.capabilitiesstrictly. The LoRa preset is read fromradio.statsonly withradio_stats(before,airtimewas enough). The[radio] regionis checked againstregions.listand sent with floods only withregions; without it the bridge warns once and floods in the node's default scope. Paths go out only withtx_path_data. - The frequency comes from
hello.device.radio. - The replay cursor has a new format. The cursor stored by 0.5.0 is not read, so frames heard while the bridge was stopped for the upgrade are not replayed.
- The kind 38244 announcement still says
0.5.0: that number is the signed mailbox level, not the package version.
Upgrading
cd host
git pull # or copy the new tree
uv sync --frozenThen restart the service. Nothing in host/deploy/ changed.
LibreTag 0.12.0 (first public release, preview)
First public release. This is a preview: it runs on the developer's tags and on the bench, battery life has not been measured yet, and some paths are marked as untested in the notes below.
Android app signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Checksums of all files are in SHA256SUMS.
Website: https://cypherpunk.today/libretag/ · Web app: https://cypherpunk.today/libretag/app/
LibreTag Android app 0.12.0 (first public release, preview)
The LibreTag app pairs tags over USB, shows where they are on a map, and sends them commands. It talks to the MeshCore network through your own node in MeshCore Open, and it also fetches reports and sends commands over Nostr relays, so a tag can be found outside the range of your own radio.
Signing certificate SHA-256: 79750fb49349ec3729be5a3e825507a15e47c6d987e854ae91d5d50a20b3a24d. Android 8.0 or newer.
What it does
- Pairing in four steps over a USB OTG cable: plug in, name, where the tag usually rests, done. The app reads the key, sets the radio and your Nostr npub, and locks the tag. From then on the key exists only in the app.
- Map and history (OpenStreetMap): the last position, the next expected report, a timeline you can scrub, GPX and CSV export.
- Commands: Lost (every 10 min for 24 h), Track (every 2 to 30 min, for 30 min to 24 h; one tap tracks for an hour every 5 min, and the dialog warns when a choice would hit the tag's daily transmission limit), Beep, stop, a Bluetooth scan, and opening the tag's Bluetooth console remotely. The app picks the route: its own radio, the Nostr mailbox for any bridge, or a Bluetooth advert when the phone is near the tag. It shows when a command went out and when the tag confirmed it.
- Places: GPS places tapped on the map, and Wi-Fi places for tags without GPS. The tag stays quiet inside a place. Each place can notify you when the tag leaves or arrives.
- Quiet near your devices: pick your ring, watch or other Bluetooth device from a scan, and the tag stays quiet while it is near.
- Position without GPS: an area (68 % and 95 %) from the repeaters the tag heard and a downloaded repeater map (about 60 MB, kept on the phone; the app never asks a server where a repeater is). Wi-Fi reports can be looked up through BeaconDB, the GrapheneOS proxy or Apple, only when you choose.
- When a tag is late: the app says the most likely reason in one sentence and shows what it is based on. It can see that the tag is in update mode on the cable, that it keeps restarting, that the phone itself is offline, that a bridge heard a report that never reached your relays, that the battery is probably empty, or that the schedule differs between the tag and the app. Each reason comes with the one action that settles it, such as "Check if it's here" over Bluetooth, "Finish the update" or "Add relay", and "All checks" lists everything the app looked at. One missed report on a shared mesh no longer counts as silent: an unguarded tag is reported silent after the second missed report. A guess (the tag may be quiet near you) never turns a warning off; only evidence does.
- Notice my tags over Bluetooth (Settings, on by default, Android 12+): a low-power background scan notices when one of your tags restarts near the phone. It needs no location permission.
- Alerts: not heard when expected, low battery (25 % in the app and as a Nostr DM; below 10 % the tag sends the DM itself), Lost mode, and Guard (the tag moved more than 300 m).
- Key backup: a 12-word recovery phrase, plus a copy encrypted to your npub on Nostr relays. The web app can restore from either.
- Firmware update of a Wio tag over the USB cable.
- English, Slovak, Czech, German, Spanish and Dutch.
What you need
- A tag with LibreTag firmware 0.9.0 or newer (0.9.4 recommended: it marks the first report after a restart).
- For the "own node" path: a MeshCore companion node and MeshCore Open with the Local API. Today that is the fork build at https://github.com/jooray/meshcore-open/releases/tag/localapi-test-9. The changes are proposed upstream in zjs81/meshcore-open pull requests #619, #628 and #670. Without it, the app still works over Nostr through public bridges.
Upgrading from earlier test builds
0.11.0 introduced the signed mailbox. Tags on firmware before 0.9.0 send reports this app cannot open; update them over USB from the tag's Service screen.
Known limits
- The phone's Bluetooth command advert has not been tested on air against a tag, nor has the extra advert for a report the phone may have missed.
- Restarting a Heltec ESP32 tag out of its download mode from the phone, and recognising that mode over the cable, have not been tried on hardware yet.
- No reproducible build yet. Check the certificate above before installing.
LibreTag tracker firmware 0.9.4 (first public release, preview)
The tracker firmware is a tracker role for ZephCore, the Zephyr port of MeshCore. The tag sleeps, wakes about once an hour, takes a GPS fix and sends one encrypted 45-byte report into the MeshCore network on the #libretag channel. After the report it listens briefly for a command from its owner. Nobody but the owner can read the report: it is sealed with keys made at pairing, and the tag carries no permanent MeshCore identity.
This is a preview. It runs on the owner's tags and on the bench, but battery life has not been measured, and some paths below are marked as untested.
Hardware
- Seeed Wio Tracker L1 / L1 Pro (nRF52840, SX1262, GPS). This is the main target.
- Heltec Wireless Stick Lite V3 (ESP32-S3, SX1262, no GPS). Bench only: it knows it is at home from the Wi-Fi networks it hears, and its reports carry Wi-Fi networks instead of a GPS fix.
What it does
- Reports every hour (±10 %), with the GPS search capped at 90 s. TRACK mode reports every 2 to 30 minutes for an hour, LOST mode every 10 minutes for 24 hours, and LOST survives a restart.
- Stays quiet when nothing needs saying: inside a home zone (a GPS circle or a Wi-Fi place), while one of the owner's Bluetooth devices is near, or when it has not moved. It still sends a heartbeat at least every 24 hours, and without a fix it always reports.
- Checks for commands between reports: at each wake-up it listens on the radio, and since 0.9.3 it also runs a 1.5 s Bluetooth scan for a command advertised by the owner's phone nearby.
- Reports without GPS carry up to five repeaters it heard and the last fix with its time, so the app can draw an area instead of a point.
- Picks the radio settings by country after each fix (SK, CZ, HU, NL, PT, CH presets, EU/UK Narrow elsewhere). Near a border it sends a second copy to the neighbouring network, but only when the home network is quiet.
- Sends a Nostr direct message to the owner when the battery falls below 10 %, signed by the tag's own key and carried by any bridge. At 25 % the app sends the alert.
- Caps its own airtime: at most 200 floods a day, at most one report per 120 s in TRACK and LOST, and no transmission below 3250 mV.
- After pairing, the USB console is locked: the key has left the tag, settings need the app's challenge and response. For 3 minutes after a boot the console is also reachable over Bluetooth with sealed frames, and the owner can reopen that window remotely with the
BLE_CONSOLEcommand (0.9.2).
Changes in 0.9.x
- 0.9.4: the first report after a restart is marked as such. Without a GPS fix it also carries why the tag restarted (reset button, power, a software reset, brown-out, watchdog or a crash) and how many times in a row it has restarted. The app uses this to tell a restart apart from lost reports.
- 0.9.3: every wake-up looks for the phone's command advert, including the listen-only wake-ups between reports.
- 0.9.2:
BLE_CONSOLEcommand (opcode 0x06) opens the Bluetooth console window. - 0.9.1: a reset by the owner (button, power-on, USB serial,
reboot,dfu) no longer counts as a reset loop. - 0.9.0: report sealing v2. Reports commit to the mailbox key of their counter, so bridges only deliver commands signed for that report. Apps before 0.11.0 and bridges before 0.5.0 (Python) or 0.4.0 (Android) cannot handle these reports.
Install
See "Installing the tracker firmware" in README.md: UF2 drag-and-drop or serial DFU for the Wio Tracker L1, esptool for the Heltec. The app can also update a Wio tag over the USB cable.
Known limits
- Battery life is an estimate (
uv run libretag energy), not a measurement. - Physical access to the tag gives access to its keys: APPROTECT is off and the bootloader accepts unsigned images. Zones and the last position are stored in plain form on the tag.
- Not tested on air: the phone's command advert (0.9.3), and the Heltec's command scan.
- The boot report (0.9.4) has only been tested against the reference vectors so far, not on a tag.
Source
ZephCore commit da3513aa6d08 (pinned in firmware/zephcore.lock) plus the 40 patches in firmware/zephcore-patches/. Licences of the bundled code: THIRD_PARTY_NOTICES.md.
Nostr bridge for Android 0.4.0 (first public release, preview)
The Nostr bridge (app.nostrmesh) turns a phone with MeshCore Open into a MeshCore to Nostr bridge. The radio stays in MeshCore Open and chat keeps working; the bridge uses its Local API.
What it does
- Radio to Nostr: LibreTag reports and Bluetooth packets from
#libretaggo up as kind 4243. The bridge cannot read them; it signs each event with a fresh random key and skips what is already on the relays. Roadstr road reports and messages from registered devices go up too, and low-battery DMs from any tag reach the owner's inbox relays. - Nostr to radio: commands from the LibreTag mailbox (kind 4244). Since 0.4.0 the bridge only sends entries signed with the key the tag's own report committed to (the signed mailbox, PROTOCOL.md 4.2), so a stranger canno...