mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-02-03 08:07:44 +05:00
Advanced hysteresis settings (#201)
* feat: added more hysteresis settings * fix: heating hysteresis switch fixed * refactor: added localization for hysteresis
This commit is contained in:
@@ -103,12 +103,17 @@ struct Settings {
|
||||
bool enabled = true;
|
||||
bool turbo = false;
|
||||
float target = DEFAULT_HEATING_TARGET_TEMP;
|
||||
float hysteresis = 0.5f;
|
||||
float turboFactor = 7.5f;
|
||||
uint8_t minTemp = DEFAULT_HEATING_MIN_TEMP;
|
||||
uint8_t maxTemp = DEFAULT_HEATING_MAX_TEMP;
|
||||
uint8_t maxModulation = 100;
|
||||
|
||||
struct {
|
||||
bool enabled = true;
|
||||
float value = 0.5f;
|
||||
HysteresisAction action = HysteresisAction::DISABLE_HEATING;
|
||||
} hysteresis;
|
||||
|
||||
struct {
|
||||
uint8_t highTemp = 95;
|
||||
uint8_t lowTemp = 90;
|
||||
|
||||
Reference in New Issue
Block a user