diff --git a/src/core/emsdevice.h b/src/core/emsdevice.h index 5824f44c1..36bdecf23 100644 --- a/src/core/emsdevice.h +++ b/src/core/emsdevice.h @@ -413,6 +413,7 @@ class EMSdevice { static constexpr uint8_t EMS_DEVICE_ID_DHW1 = 0x28; // MM100 module as water station static constexpr uint8_t EMS_DEVICE_ID_DHW2 = 0x29; // MM100 module as water station static constexpr uint8_t EMS_DEVICE_ID_DHW8 = 0x2F; // last DHW module id? + static constexpr uint8_t EMS_DEVICE_ID_IPM_DHW = 0x41; // IPM module as water station // generic type IDs static constexpr uint16_t EMS_TYPE_NAME = 0x01; // device config for ems devices, name ascii on offset 27ff for ems+ diff --git a/src/core/emsesp.cpp b/src/core/emsesp.cpp index 399dd52b1..a5951afea 100644 --- a/src/core/emsesp.cpp +++ b/src/core/emsesp.cpp @@ -1303,7 +1303,7 @@ bool EMSESP::add_device(const uint8_t device_id, const uint8_t product_id, const } } - if (device_id >= EMSdevice::EMS_DEVICE_ID_DHW1 && device_id <= EMSdevice::EMS_DEVICE_ID_DHW8) { + if ((device_id >= EMSdevice::EMS_DEVICE_ID_DHW1 && device_id <= EMSdevice::EMS_DEVICE_ID_DHW8) || device_id == EMSdevice::EMS_DEVICE_ID_IPM_DHW) { device_type = DeviceType::WATER; }