Features
- Read current, voltage, or all three from a watt-meter net.
lager watt <net> current|voltage|allreads current (A), voltage (V), or current/voltage/power together — not just power. Backed by the Joulescope JS220 and Nordic PPK2; a Yocto-Watt (power only) reports a clear “not supported” message. --durationaveraging window onlager watt. Average a reading over a longer capture for lower noise and higher effective resolution. On the JS220, long windows (e.g.--duration 60) are measured gaplessly via the on-device charge accumulator, so every transient is captured in constant memory.--jsonoutput forlager watt. Emit a machine-readable object in base SI units (W/A/V) for HIL scripts.lager nets addnow accepts Joulescope JS220, Nordic PPK2, and Yocto-Watt. These watt-meter / energy-analyzer instruments can now be added from the command line instead of only through the Workbench UI.
Bug Fixes
- Small loads no longer read
0.000 W.lager wattoutput is SI-scaled (µ/n units, e.g.52.340 µW), falling back to scientific notation for values too small for the nano prefix. lager energyreads no longer hang or crash on exit. The reader now closes the Joulescope device when it finishes, so its USB streaming thread is torn down cleanly.lager box dut editanddut add-docsucceed on a Lager Box’s www-data-owned/etc/lager. The updatedbench.jsonis staged in/tmpand installed via a passwordlesssudofallback — with a clear message when the sudo grant is missing — instead of failing with “Permission denied”.lager installdeploys its udev and modprobe rules again, and its box-code flatten step no longer clobbers the installedlagercommand.
Improvements
lager installprompts for the box password at most once. SSH key setup now runs first, so the remaining install steps authenticate by key instead of re-prompting for the password on each one.

