Round 21 (three reported items).
1. A hashboard that is still mining near full hashrate but has some failed chips
now shows yellow (degraded), not red. VNish emits per-board chip failures as
Warning while the board is mining (Error only when the board is not mining),
and board_healths() renders a warning-only board as Degraded instead of Down.
Verified live on 10.4.0.193 (mining ~83%, dead chips -> yellow).
2. New "Power limit" column: the configured power-target setpoint in watts
(MinerRow.power_limit_w, from a Power tuning target). WhatsMiner shows its
"Power Limit" (e.g. 2500 W); the value was already scanned but had no dedicated
column. Numeric (sortable/filterable), Performance category, opt-in.
3. Chip + hashboard model coverage:
- VNish hashboard model scanned from factory-info board_model (A3HB70601,
BHB42603, ...) -- 147-unit fleet gains HB model. Both VNish backends.
- WhatsMiner v1/v2 PSU serial scanned from get_psu serial_no (was hardcoded
None). 48-unit fleet gains PSU serial.
- Chip type derived from the detected model for Antminer hardware (VNish/stock/
LuxOS/Braiins/UMC never report a chip string on the wire), in naming.rs:
S21Pro->BM1370, S19jPro->BM1362, S19KPro->BM1366, S19/T19->BM1398, etc.
Only high-confidence mappings; WhatsMiner and unknown models stay blank.
PSU Vmin/Vmax remain Braiins/ePIC-only (not on the wire for WhatsMiner/VNish/
Antminer -- confirmed live).
asic-rs patch 0033. 95 unit tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
- Hashrate cell: a readable 0 hashrate now shows "0.00T" instead of a dash. The
dash is reserved for an unreadable/absent hashrate. New MinerRow.hashrate_known
records whether the miner reported a value; combined_si/num_value key off it,
and scan/fixtures set it from data.hashrate.is_some().
- Paused-miner Health icons: the control board (brain) and PSU keep their true
health (green when fine) instead of turning blue; fans turn blue only when
actually stopped (0 RPM) and stay green while spinning; hashboards stay blue
while paused (idle is the expected state).
- VNish per-hashboard faults: DataField::Messages now also reads the summary
chains (chip_statuses red/orange + per-chain state) and emits one message per
faulted board, attributed to MinerComponent::HashBoard{idx}, so the Health
column reds the specific board and its tooltip carries the fault instead of it
landing on the brain. Applied to v1_2_0 and v1_3_0. patch 0032.
Verified live: VNish 10.7.1.25 -> "Hashboard 2: 1 degraded chip(s)" on board idx
1; healthy 10.7.1.122 -> no messages. 93 unit tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
A miner an operator has stopped (e.g. 10.4.1.122, VNish miner_state "stopped" ->
OperatingState::Stopped) was read as broken: red hashboards and counted under "not
hashing" instead of "Paused".
Two causes:
1. is_paused() only matched the literal "pause" substring, so "Stopped"/"Stopping"/
"Suspended" -- every other firmware's word for an intentional, resumable halt --
fell through to not-paused. Now matches pause/stop/suspend (Error stays broken).
2. encode_component_health applied the paused-blue treatment to hashboards only
(round 19 #19), so a paused miner's idle fans/power still rendered red. A stopped
miner's off components are expected, not faults: colour every reported component
blue when paused (an undetected/Unreachable one still stays grey -- "not present"
is not "paused").
Verified live against 10.4.1.122 on a headless build: the row now shows all-blue
health (power grey, honestly unreachable) and counts under the Paused KPI, where it
previously showed red boards + "not hashing".
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
Round 19 #2. The health-icon hover tooltips never appeared because the GTK
query-tooltip handler built the per-icon "tip area" from gtk_tree_view_get_cell_area
(BIN-WINDOW coordinates) and passed it to gtk_tooltip_set_tip_area, which expects
WIDGET coordinates. The area was offset upward by the column-header height, so it
did not contain the pointer, and GTK suppresses any tooltip whose tip area excludes
the cursor -- so nothing showed. The Errors column worked because it sets no tip
area. Prior fixes (rounds 15/18/19) only tuned the icon slot math, which was already
correct; the coordinate-system mismatch was the actual cause.
Convert the slot rectangle from bin-window to widget coordinates with
gtk_tree_view_convert_bin_window_to_widget_coords before gtk_tooltip_set_tip_area.
The slot hit-test (block_left/adv, in bin-window coords) is unchanged and still
matches DrawShape's uniform health-icon advance. wx-rs patch 0005.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6