mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-05 16:08:44 +05:00
fix: equitherm with BLE indoor sensor in emergency mode fixed
This commit is contained in:
1 parent
ef083991e3
commit
f78d2f38b8
1 file changed
+7
@@ -192,8 +192,15 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (vars.states.emergency) {
|
if (vars.states.emergency) {
|
||||||
|
if (settings.sensors.indoor.type == SensorType::MANUAL) {
|
||||||
etRegulator.Kt = 0;
|
etRegulator.Kt = 0;
|
||||||
etRegulator.indoorTemp = 0;
|
etRegulator.indoorTemp = 0;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
etRegulator.Kt = settings.equitherm.t_factor;
|
||||||
|
etRegulator.indoorTemp = indoorTemp;
|
||||||
|
}
|
||||||
|
|
||||||
etRegulator.outdoorTemp = outdoorTemp;
|
etRegulator.outdoorTemp = outdoorTemp;
|
||||||
|
|
||||||
} else if (settings.pid.enable) {
|
} else if (settings.pid.enable) {
|
||||||
|
|||||||
Reference in new issue
Block a user