148 online 3 members  + Join RP Base  +
FreeScript

laPower

by KHWLGH  ·  version 2026.11.14  ·  updated 2 days ago

No reviews yet

Downloads
0
Reviews
0
Size
19.7 MB
Code check
Checked
Licence
GPL-3.0
Released
Nov 2026

laPower is a cross platform desktop companion for WITRN USB power meters and POWER-Z KM003C/KM002C.

laPower
English | 简体中文 | 繁體中文 | 日本語

laPower
Desktop companion for WITRN / POWER-Z USB power meters — live monitoring · USB-PD analysis · data recording
Language selection
In Settings → Appearance & language → Language, choose Follow system, 简体中文, 繁體中文, English or 日本語. Changes take effect immediately and are saved, preserving the connection, recording, data, chart range, filters and selected message. Resetting settings restores automatic selection.

Linux uses the first non-empty variable in LC_ALL → LC_MESSAGES → LANG order; Windows/macOS use the native system locale. If native detection is unavailable, the WebView preferred language is used, with English as the final fallback. Hans selects Simplified Chinese and Hant Traditional Chinese before considering regions; otherwise CN/SG and bare zh select Simplified Chinese, TW/HK/MO Traditional Chinese, and ja Japanese. All other locales, including C/POSIX, select English. Case, underscores, encoding and modifier suffixes are normalized. Manual selection overrides detection.

LANG=en_US.UTF-8 ./laPower.AppImage
LC_ALL=ja_JP.UTF-8 ./laPower.AppImage
env -u LC_ALL LC_MESSAGES=zh_TW.UTF-8 LANG=en_US.UTF-8 ./laPower.AppImage

📖 About the project
laPower is a desktop companion for WITRN USB power meters and POWER-Z KM003C/KM002C. It reads measurement frames through USB HID or a vendor Bulk interface and handles live display, long recordings and USB-PD decoding locally. These features work offline; manual update checks contact GitHub, and external temperature sources use TCP to connect to the configured server.

Built on Tauri v2, it uses Rust for device communication, USB-PD parsing and background thread lifecycles. The frontend is plain JavaScript ES Modules, bundled with its styles by esbuild for release, with uPlot charts. All runtime frontend dependencies are vendored in the repository; no resources are loaded from a CDN at runtime.

Besides voltage, current, power and temperature, laPower records D+ / D− / CC1 / CC2 signal voltages and decodes captured USB-PD messages field by field. You can inspect the PDOs advertised by a charger, the PPS voltage requested by a device, and the millisecond at which negotiation completes.

Platforms: Version tags trigger GitHub Actions packages for Windows x64, Linux x64, macOS Intel and Apple Silicon, followed by a Release after checks pass. Refer to the actual assets attached to each release. Development and verification primarily take place on Windows; macOS/Linux GUI, device connections and macOS 12 compatibility still require real-machine acceptance. See Development and build.

Note: Much of this software was made with AI coding tools such as Claude Code, Grok Build and Codex, and unknown issues may remain. Please report problems through Issues.
📸 Interface preview
These images show version 0.2.6 on Windows and use simulated devices and data generated by a separate development tool, with the full application title bar retained and light mode shown first. The app follows the system theme by default; the showcase defaults to light mode. Refresh the full image set before each release; see Development showcase to regenerate them.

Light theme, Dark theme

Monitor · Live cards / 8 channels and 4 axes / timeline navigator, Monitor · Dark theme
PD analysis · Message list / PDO summaries / field decoding, PD analysis · Dark theme
Protocol control · PDM / PDO / protocol detection and voltage requests, Protocol control · Dark theme
Settings · Sticky navigation / appearance and language / charts and recording, Settings · Dark theme
Protocol detection · Per-protocol status / voltages / individual evidence, Protocol detection · Dark theme
Report styles
The main interface has 40 screenshots across four languages and both themes. The 32 report samples below show actual rendered output from the same 120-second simulated recording. Landscape images and videos include the first eight markers; long images retain all 12. Video samples show a frame from the middle of playback.

Light theme, Dark theme

Image report (16:9) · Lossless PNG / full curves / statistics and markers, Image report (16:9) · Dark theme
Image report (long) · All 12 markers / times and individual readings, Image report (long) · Dark theme
Video report frame · Mid-video frame / live values / playback cursor, Video report frame · Dark theme
Protocol detection report · Protocol states and voltages / PD version / full PDOs, Protocol detection report · Dark theme
✨ FeaturesLive monitoring
  • Voltage, current, power and temperature cards, each with minimum, maximum and average values.
  • Integrated energy (Wh) and capacity (mAh) are calculated from samples in software. Host clock jumps caused by sleep, a backward adjustment or a forward NTP adjustment (over eight sampling intervals and at least two seconds) advance integration by only one sampling cycle.
  • Signal voltages D+ / D− / CC1 / CC2 can be overlaid on the chart and exported in CSV. Actual resolution depends on the device; WITRN CC1/CC2 resolution is 0.1 V.
  • Optional signed current recording preserves direction: positive forward current and negative reverse current, with native ±10 A support on K2. Arrows indicate direction in the sidebar.
  • Auto pause pauses recording when voltage/current/power remains below a threshold for a specified duration, useful for unattended charge/discharge tests.
  • POWER-Z high-rate sampling: authenticated

…