From b89c8dd9fab8be53d9dd05ab0b72ff1a3e3fc6f2 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 24 Mar 2019 12:38:46 +0100 Subject: [PATCH] fixed SM10 pump on/off location --- src/ems.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ems.cpp b/src/ems.cpp index 842780766..2c555573f 100644 --- a/src/ems.cpp +++ b/src/ems.cpp @@ -1129,7 +1129,7 @@ void _process_SM10Monitor(uint8_t src, uint8_t * data, uint8_t length) { EMS_Other.SM10collectorTemp = _toShort(2); // collector temp from SM10, is *10 EMS_Other.SM10bottomTemp = _toShort(5); // bottom temp from SM10, is *10 EMS_Other.SM10pumpModulation = _toByte(4); // modulation solar pump - EMS_Other.SM10pump = _bitRead(5, 1); // active if bit 1 is set (to 1) + EMS_Other.SM10pump = _bitRead(7, 1); // active if bit 1 is set (to 1) EMS_Sys_Status.emsRefreshed = true; // triggers a send the values back via MQTT }