Round 17 R5/G15. asic-rs had no PSU telemetry. Adds an optional PsuInfo to MinerData (model, version, rated voltage min/max, live output voltage/current), a DataField::Psu, and a default parse_psu backends override (patch 0018). ePIC populates it by merging the summary "Power Supply Stats" with the capabilities "Psu Info". GUI: three new columns -- "PSU version", "PSU Vmin", "PSU Vmax" (Hardware group in the picker) -- and the R2 power tooltip now shows the PSU output voltage (and amperage when the firmware reports a non-zero current; ePIC leaves current 0, so it shows just the voltage). Verified live on ePIC S19j Pro (10.4.1.6/.10): model 117, fw 22, Vmin 11.877 V, Vmax 15.182 V, output ~13.2 V. 8 model tests + 18 ePIC backend tests + SELFTEST pass. Non-ePIC firmware leave the PSU fields blank until they add parse_psu. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
21 lines
452 B
Rust
21 lines
452 B
Rust
//! Data types for asic-rs
|
|
//!
|
|
//! The most important data type is [`MinerData`][`miner::MinerData`], it contains all the data asic-rs gathers with `get_data`.
|
|
|
|
pub mod board;
|
|
pub mod capabilities;
|
|
pub mod collector;
|
|
pub mod command;
|
|
pub(crate) mod deserialize;
|
|
pub mod device;
|
|
pub mod fan;
|
|
pub mod firmware;
|
|
pub mod hashrate;
|
|
pub mod message;
|
|
pub mod miner;
|
|
pub mod operating_state;
|
|
pub mod pool;
|
|
pub mod psu;
|
|
pub(crate) mod serialize;
|
|
pub mod share;
|