mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-26 16:49:11 +03:00
fix minflowtemp #2781
This commit is contained in:
@@ -1226,13 +1226,14 @@ void Thermostat::process_RC300Summer(std::shared_ptr<const Telegram> telegram) {
|
|||||||
has_update(telegram, hc->summersetmode, 7);
|
has_update(telegram, hc->summersetmode, 7);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hc->heatingtype < 3) {
|
if (hc->heatingtype != 3) {
|
||||||
has_update(telegram, hc->designtemp, 4);
|
has_update(telegram, hc->designtemp, 4);
|
||||||
|
has_update(telegram, hc->minflowtemp, 13);
|
||||||
} else {
|
} else {
|
||||||
has_update(telegram, hc->designtemp, 5);
|
has_update(telegram, hc->designtemp, 5);
|
||||||
|
has_update(telegram, hc->minflowtemp, 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
has_update(telegram, hc->minflowtemp, 8);
|
|
||||||
has_update(telegram, hc->fastHeatup, 10);
|
has_update(telegram, hc->fastHeatup, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4019,18 +4020,14 @@ bool Thermostat::set_temperature(const float temperature, const uint8_t mode, co
|
|||||||
case HeatingCircuit::Mode::MINFLOW:
|
case HeatingCircuit::Mode::MINFLOW:
|
||||||
set_typeid = summer_typeids[hc->hc()];
|
set_typeid = summer_typeids[hc->hc()];
|
||||||
validate_typeid = set_typeid;
|
validate_typeid = set_typeid;
|
||||||
offset = 8;
|
offset = hc->heatingtype == 3 ? 8 : 13;
|
||||||
factor = 1;
|
factor = 1;
|
||||||
break;
|
break;
|
||||||
case HeatingCircuit::Mode::MAXFLOW:
|
case HeatingCircuit::Mode::MAXFLOW:
|
||||||
set_typeid = curve_typeids[hc->hc()];
|
set_typeid = curve_typeids[hc->hc()];
|
||||||
validate_typeid = set_typeid;
|
validate_typeid = set_typeid;
|
||||||
if (hc->heatingtype == 3) {
|
offset = hc->heatingtype == 3 ? 7 : 8;
|
||||||
offset = 7;
|
factor = 1;
|
||||||
} else {
|
|
||||||
offset = 8;
|
|
||||||
}
|
|
||||||
factor = 1;
|
|
||||||
break;
|
break;
|
||||||
case HeatingCircuit::Mode::NOFROST:
|
case HeatingCircuit::Mode::NOFROST:
|
||||||
set_typeid = curve_typeids[hc->hc()];
|
set_typeid = curve_typeids[hc->hc()];
|
||||||
|
|||||||
Reference in New Issue
Block a user