mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
add CR11 calinttemp
This commit is contained in:
@@ -2419,7 +2419,8 @@ bool Boiler::set_flow_temp(const char * value, const int8_t id) {
|
||||
// no verify if value is unchanged, put it to end of tx-queue, no priority
|
||||
// see https://github.com/emsesp/EMS-ESP32/issues/654, https://github.com/emsesp/EMS-ESP32/issues/954
|
||||
if (v == selFlowTemp_) {
|
||||
EMSESP::txservice_.add(Telegram::Operation::TX_WRITE, device_id(), EMS_TYPE_UBASetPoints, 0, (uint8_t *)&v, 1, 0, false);
|
||||
uint8_t v1 = v;
|
||||
EMSESP::txservice_.add(Telegram::Operation::TX_WRITE, device_id(), EMS_TYPE_UBASetPoints, 0, &v1, 1, 0, false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -2010,7 +2010,7 @@ bool Thermostat::set_calinttemp(const char * value, const int8_t id) {
|
||||
write_command(0xB0, 0, t, 0xB0);
|
||||
} else if (model() == EMSdevice::EMS_DEVICE_FLAG_RC30) {
|
||||
write_command(EMS_TYPE_RC30Settings, 1, t, EMS_TYPE_RC30Settings);
|
||||
} else if (model() == EMSdevice::EMS_DEVICE_FLAG_RC100H) {
|
||||
} else if (model() == EMSdevice::EMS_DEVICE_FLAG_RC100H || model() == EMSdevice::EMS_DEVICE_FLAG_CR11) {
|
||||
write_command(0x273, 0, t, 0x273);
|
||||
} else if (model() == EMSdevice::EMS_DEVICE_FLAG_RC100) {
|
||||
write_command(0x241, 7, t, 0x241);
|
||||
|
||||
Reference in New Issue
Block a user