Skip to content

Commit ef174e1

Browse files
committed
proto: Add FanPauseRuntime enum to ManualPauseMode
1 parent 63ab435 commit ef174e1

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
### Added
55
* Added `on_start_target_percent` field in the `braiins.bos.v1.DPSConfiguration`, `braiins.bos.v1.DPSConstraints`, `braiins.bos.v1.SetDPSRequest`, `braiins.bos.v1.SetDPSResponse`. This change allows to specify the target that the Dynamic Performance Scaling starts from.
66
* Introduced new `braiins.bos.v1.ActionsService::FactoryReset()` method to perform factory reset.
7+
* Introduced new enumeration `braiins.bos.v1.FanPauseRuntime` with `FAN_PAUSE_RUNTIME_LIMITED` and `FAN_PAUSE_RUNTIME_INDEFINITE` variants.
8+
* Introduced new field `fan_pause_runtime` in the `braiins.bos.v1.ManualPauseMode` message to configure fan runtime duration in manual pause mode.
9+
* Introduced new field `default_fan_pause_runtime` in the `braiins.bos.v1.CoolingConstraints` message to get default fan pause runtime.
10+
* Introduced new field `fan_pause_runtime_limited_duration_s` in the `braiins.bos.v1.CoolingConstraints` message to get fan pause runtime limited duration.
711

812
## [1.8.0] - 2025-11-25
913
Version **1.8.0** introduces new Upgrade service `braiins.bos.v1.UpgradeService` and relative power/hashrate target configuration.

proto/bos/v1/cooling.proto

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,19 @@ message PauseMode {
4141
// Automatic pause mode starts with fans going with last fan speed used for mining and slowly decreases speed down to 0%
4242
message AutoPauseMode {}
4343

44-
// Manual pause mode runs with defined fixed fans speed for 2 minutes, then turns off
44+
// Manual pause mode runs with defined fixed fans speed and either turns off after a certain period of time
45+
// or runs indefinitely according to fan_runtime settings
4546
message ManualPauseMode {
4647
// User defined pause cooldown fan speed expressed as a ratio between 0.0 and 1.0
4748
// where 0.0 means completely turned off and
4849
// 1.0 means running at full speed possible
4950
// Value is not optional for request! Unset value will result in error.
5051
// Value is optional for response! It is possible to set manual pause mode without pause cooldown fan speed, but not using the API.
5152
optional double pause_cooldown_fan_speed_ratio = 1;
53+
// Controls how long fans run at the fixed speed before turning off.<br>
54+
// 1 = FAN_PAUSE_RUNTIME_LIMITED - fans run for a limited duration (see `fan_pause_runtime_limited_duration_s` in `CoolingConstraints`) then turn off<br>
55+
// 2 = FAN_PAUSE_RUNTIME_INDEFINITE - fans run indefinitely at the fixed speed until miner is resumed
56+
optional FanPauseRuntime fan_pause_runtime = 2;
5257
}
5358

5459
// The temperature control modes.
@@ -138,6 +143,12 @@ enum FanPauseMode {
138143
FAN_PAUSE_MODE_MANUAL = 2;
139144
}
140145

146+
enum FanPauseRuntime {
147+
FAN_PAUSE_RUNTIME_UNSPECIFIED = 0;
148+
FAN_PAUSE_RUNTIME_LIMITED = 1;
149+
FAN_PAUSE_RUNTIME_INDEFINITE = 2;
150+
}
151+
141152
message CoolingConstraints {
142153
CoolingMode default_cooling_mode = 1;
143154
braiins.bos.v1.TemperatureConstraints target_temperature = 2;
@@ -149,6 +160,8 @@ message CoolingConstraints {
149160
braiins.bos.v1.UInt32Constraints max_fan_speed = 8;
150161
braiins.bos.v1.DoubleConstraints pause_cooldown_fan_speed_ratio = 9;
151162
optional FanPauseMode default_fan_pause_mode = 10;
163+
optional FanPauseRuntime default_fan_pause_runtime = 11;
164+
optional uint32 fan_pause_runtime_limited_duration_s = 12;
152165
}
153166

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

0 commit comments

Comments
 (0)