Use 230V nominal range for PSU voltage sensor highlighting

This commit is contained in:
Mikhail Chusavitin
2026-02-24 18:07:34 +03:00
parent 15dc86a0e4
commit 2e348751f3
2 changed files with 5 additions and 5 deletions

View File

@@ -278,9 +278,9 @@ func synthesizePSUVoltageSensors(hw *models.HardwareConfig) []models.SensorReadi
return nil
}
const (
nominalV = 220.0
minV = nominalV * 0.9 // 198V
maxV = nominalV * 1.1 // 242V
nominalV = 230.0
minV = nominalV * 0.9 // 207V
maxV = nominalV * 1.1 // 253V
)
out := make([]models.SensorReading, 0, len(hw.PowerSupply))
for _, psu := range hw.PowerSupply {