From d47a6f36af909a96fbaf9d9d47e83463cad4bd8c Mon Sep 17 00:00:00 2001 From: MichaelDvP <59284019+MichaelDvP@users.noreply.github.com> Date: Mon, 23 Nov 2020 15:29:26 +0100 Subject: [PATCH] fix MM100 pump status #629 It was fixed in #486, something happend that it was wrong again. --- src/devices/mixer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/mixer.cpp b/src/devices/mixer.cpp index e611b9193..9a8aaa682 100644 --- a/src/devices/mixer.cpp +++ b/src/devices/mixer.cpp @@ -292,7 +292,7 @@ void Mixer::process_MMPLUSStatusMessage_HC(std::shared_ptr teleg hc_ = telegram->type_id - 0x02D7 + 1; // determine which circuit this is changed_ |= telegram->read_value(flowTemp_, 3); // is * 10 changed_ |= telegram->read_value(flowSetTemp_, 5); - changed_ |= telegram->read_bitvalue(pumpStatus_, 2, 0); + changed_ |= telegram->read_bitvalue(pumpStatus_, 0, 0); changed_ |= telegram->read_value(status_, 2); // valve status } @@ -368,4 +368,4 @@ void Mixer::process_MMSetMessage(std::shared_ptr telegram) { #pragma GCC diagnostic pop -} // namespace emsesp \ No newline at end of file +} // namespace emsesp