diff --git a/src/ems.cpp b/src/ems.cpp index 742f20df8..fe5bc5b4b 100644 --- a/src/ems.cpp +++ b/src/ems.cpp @@ -1584,21 +1584,6 @@ void ems_setWarmWaterActivated(bool activated) { EMS_TxQueue.push(EMS_TxTelegram); } -void ems_setWarmWaterModeComfort(bool comfort) { - myDebug("Setting boiler warm water to comfort mode %s\n", comfort ? "Comfort" : "Eco"); - - _EMS_TxTelegram EMS_TxTelegram = EMS_TX_TELEGRAM_NEW; // create new Tx - - EMS_TxTelegram.action = EMS_TX_TELEGRAM_WRITE; - EMS_TxTelegram.dest = EMS_ID_BOILER; - EMS_TxTelegram.type = EMS_TYPE_UBAParameterWW; - EMS_TxTelegram.offset = EMS_OFFSET_UBAParameterWW_wwComfort; - EMS_TxTelegram.length = EMS_MIN_TELEGRAM_LENGTH; - EMS_TxTelegram.type_validate = EMS_ID_NONE; // don't validate - EMS_TxTelegram.dataValue = - (comfort ? EMS_VALUE_UBAParameterWW_wwComfort_Comfort : EMS_VALUE_UBAParameterWW_wwComfort_Eco); // 0x00 is on, 0xD8 is off - EMS_TxQueue.push(EMS_TxTelegram); -} /** * Activate / De-activate the Warm Tap Water * true = on, false = off diff --git a/src/ems.h b/src/ems.h index a702fddcb..d6921d5d2 100644 --- a/src/ems.h +++ b/src/ems.h @@ -49,10 +49,6 @@ #define EMS_VALUE_UBAParameterWW_wwComfort_Comfort 0x00 // the value for comfort #define EMS_VALUE_UBAParameterWW_wwComfort_Eco 0xD8 // the value for eco -#define EMS_OFFSET_UBAParameterWW_wwComfort 9 // WW is in comfort or eco mode -#define EMS_VALUE_UBAParameterWW_wwComfort_Comfort 0x00 // the value for comfort -#define EMS_VALUE_UBAParameterWW_wwComfort_Eco 0xD8 // the value for eco - /* * Thermostat... */ @@ -321,7 +317,6 @@ void ems_setThermostatTemp(float temp); void ems_setThermostatMode(uint8_t mode); void ems_setWarmWaterTemp(uint8_t temperature); void ems_setWarmWaterActivated(bool activated); -void ems_setWarmWaterModeComfort(bool comfort); void ems_setWarmTapWaterActivated(bool activated); void ems_setExperimental(uint8_t value); void ems_setPoll(bool b);