Use 230V nominal range for PSU voltage sensor highlighting

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

No files matched your search

+3 -3
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 {