# Seeed Wio Tracker L1 - MeshCore community firmware This branch extends the official MeshCore companion radio firmware for the **Seeed Wio Tracker L1**. Provides support for both the original OLED and the e-ink variant, with additional features and UI enhancements. Join the discussion on the offical MeshCore discord: https://discord.gg/sdhYArU2jr **Enclosures** - [E-ink case](https://www.printables.com/model/1420534-seeed-wio-tracker-l1-e-ink-enclosure) - [Oled case](https://www.printables.com/model/1380791-meshpack-seeed-l1-oled) --- ## Feature highlights - Extended language support with native Unicode rendering and input [Lemon font](https://github.com/cmvnd/fonts) alongside the original ASCII mode (Default font with transliteration) - Enabled sensor screens with support for all onboard sensors (temperature, humidity, pressure, luminosity, CO₂) and GPS data - [Messages Screen](./docs/plus_features/message_screen.md) — view and send messages, open message details, reply with quick messages or custom text, per-channel notification and melody overrides - [Favourites Dial](./docs/plus_features/favourites_dial.md) — pin up to six contacts for quick access from the home screen - [Settings Screen](./docs/plus_features/settings_screen.md) — configure display, sound, home page order, radio and system settings - [Clock Screen](./docs/plus_features/clock_screen.md) — view time and date plus up to three configurable sensor values - [Screen Lock](./docs/plus_features/screen_lock.md) — lock the device to prevent accidental keypresses, with a lock screen showing time and sensor data - [Tools Screen](./docs/plus_features/tools_screen.md) — GPS trail recording and export, ringtone editor, auto-reply bot, and more ## Firmware Variants Two firmware builds are published with each release: | Variant | Display | File | |---------|---------|------| | **OLED** | SSD1306 / SH1106 128 × 64 | `WioTrackerL1_companion_dual_*.uf2` | | **E-ink** | GxEPD2 250 × 122 | `WioTrackerL1Eink_companion_dual_*.uf2` | Both variants are built from a single codebase and share the same feature set. The `dual` in the filename means a single binary supports both BLE and USB serial — there are no separate BLE/USB builds. >[!IMPORTANT] > BLE connection has priority over USB serial. When a BLE connection is active, the USB protocol is suspended. When connecting to the companion app via USB, ensure to disconnect from BLE first or disable BLE directly from the device to avoid confusion. ### Flashing 1. Download the appropriate `.uf2` file for your display variant from the [releases page](https://github.com/MarekZegare4/MeshCore/releases) 2. Press reset twice quickly to enter bootloader mode (solid amber LED) - the device should appear as a mass storage drive on your computer 3. Copy the `.uf2` file to the drive to flash the firmware Updating to newer firmware versions usually does not require erasing flash unless the release notes explicitly state otherwise. To retain your settings and data, avoid performing a factory reset after flashing unless you need to start fresh or encounter problems. >[!WARNING] >When migrating from official/custom firmware, backup your data and **perform factory reset** to prevent conflicts with existing settings and data: >1. Open device settings in the companion app and download data backup >2. Go to [MeshCore Flasher](https://meshcore.io/flasher) website >3. Select "Wio Tracker L1 Pro" >4. Choose any of the firmware variant >5. Perform "Erase flash" --- ## Development This fork tracks the upstream [MeshCore](https://github.com/ripplebiz/MeshCore) repository. To prevent upstream changes from overwriting this README during merges, `README.md` is protected via `.gitattributes`. After cloning, run once: ```sh git config merge.ours.driver true ``` ### Contributing Contributions are welcome! Fork the repository, make your changes, and submit a pull request. Please ensure your code adheres to the existing style and includes comments where necessary. #### Display Screenshot Tool > [!NOTE] > The screenshot feature requires the `ENABLE_SCREENSHOT` build flag to be enabled. Add `-D ENABLE_SCREENSHOT` to your PlatformIO build flags, then recompile and flash the firmware. The firmware supports capturing the current display contents and transmitting it over USB serial. This is useful for debugging, remote monitoring, or creating documentation. **Important:** When the device is connected to the companion app, the USB serial port is not available for communication. To use the screenshot tool, ensure the device is not connected to the companion app. **Usage:** 1. Build and flash firmware with `-D ENABLE_SCREENSHOT` build flag enabled Example for the OLED dual firmware: ``` PLATFORMIO_BUILD_FLAGS="-D ENABLE_SCREENSHOT" pio run -e WioTrackerL1_companion_dual -t upload ``` 2. Connect the device to your computer via USB (ensure no companion app connection) 3. Install dependencies and run the screenshot tool. To manage python and python dependencies, use uv: https://docs.astral.sh/uv/ ```sh cd tools uv run tools/screenshot.py ``` Options: - `--port PORT` — Serial port to use (default: auto-detect) - `--scale SCALE` — Upscale factor for the output image (1=no upscale, 2=2x, 3=3x, 4=4x, etc.; default: 1) 4. In the tool's interactive menu, press **S** to capture a screenshot 5. The tool will save the screenshot as a PNG file in `tools/pngs/` with a timestamp-based filename