Skip to content

Commit 2cd6fb5

Browse files
committed
proto: Move fan configuration into relevant cooling modes
1 parent 64642bd commit 2cd6fb5

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@
55
* Introduced new field `mode` in the `braiins.bos.v1.DPSConfiguration`, `braiins.bos.v1.SetDPSRequest`, `braiins.bos.v1.SetDPSResponse` message to get or set DPS mode.
66
* Introduced new field `mode` in the `braiins.bos.v1.DPSConstraints` message to get the default value for DPS mode.
77
* Introduced new method `SetCoolingMode` in the `braiins.bos.v1.CoolingService`. User can now set cooling mode to `automatic`, `manual`, `hydro` or `immersion`. It gives user possibility to set specific temperature and fan settings for each mode.
8+
* Introduced new field `min_fan_speed` in the `braiins.bos.v1.CoolingAutoMode` to set minimum fan speed for automatic cooling mode.
9+
* Introduced new field `max_fan_speed` in the `braiins.bos.v1.CoolingAutoMode` to set maximum fan speed for automatic cooling mode.
10+
* Introduced new field `min_fan_speed` in the `braiins.bos.v1.CoolingConstraints` to get default value for minimum fan speed for automatic cooling mode.
11+
* Introduced new field `max_fan_speed` in the `braiins.bos.v1.CoolingConstraints` to get default value for maximum fan speed for automatic cooling mode.
812

913
### Changed
1014
* Extend `CoolingConfiguration` mode with new value `immersion` that represents immersion cooling mode.
1115
* Extend `CoolingConfiguration` mode with new value `hydro` that represents hydro cooling mode.
16+
* Extend `CoolingAutoMode` with new field `minimum_required_fans`.
17+
* Extend `CoolingManualMode` with new field `minimum_required_fans`.
1218

1319
## [1.3.0] - 2024-10-22
1420
Version **1.3.0** introduces few small improvements.

proto/bos/v1/cooling.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ message CoolingAutoMode {
4040
braiins.bos.v1.Temperature hot_temperature = 2;
4141
// Temperature threshold at which BOSMiner shuts down in order to prevent overheating and damaging the miner.
4242
braiins.bos.v1.Temperature dangerous_temperature = 3;
43+
// Minimum fan speed expressed as a value between 0 and 100. min_fan_speed must be less than max_fan_speed.
44+
optional uint32 min_fan_speed = 4;
45+
// Maximum fan speed expressed as a value between 0 and 100. max_fan_speed must be greater than min_fan_speed.
46+
optional uint32 max_fan_speed = 5;
47+
// Minimum number of fans required to have BOSminer operational.
48+
optional uint32 minimum_required_fans = 6;
4349
}
4450

4551
// Fans are kept at a fixed, user-defined speed, no matter the temperature.
@@ -52,6 +58,8 @@ message CoolingManualMode {
5258
braiins.bos.v1.Temperature hot_temperature = 2;
5359
// Temperature threshold at which BOSMiner shuts down in order to prevent overheating and damaging the miner.
5460
braiins.bos.v1.Temperature dangerous_temperature = 3;
61+
// Minimum number of fans required to have BOSminer operational.
62+
optional uint32 minimum_required_fans = 5;
5563
}
5664

5765
// Disable temperature control. May be dangerous.
@@ -75,6 +83,7 @@ message CoolingHydroMode {
7583
}
7684

7785
message CoolingConfiguration {
86+
// Minimum number of fans required to have BOSminer operational.
7887
optional uint32 minimum_required_fans = 1;
7988
oneof mode {
8089
CoolingAutoMode auto = 2;
@@ -101,6 +110,8 @@ message CoolingConstraints {
101110
braiins.bos.v1.TemperatureConstraints dangerous_temperature = 4;
102111
braiins.bos.v1.DoubleConstraints fan_speed_ratio = 5;
103112
braiins.bos.v1.UInt32Constraints minimum_required_fans = 6;
113+
braiins.bos.v1.UInt32Constraints min_fan_speed = 7;
114+
braiins.bos.v1.UInt32Constraints max_fan_speed = 8;
104115
}
105116

106117
// Structure which contain info about one specific miner fan.

0 commit comments

Comments
 (0)