mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
fix heating/tapwater #620
This commit is contained in:
@@ -928,7 +928,7 @@ void Boiler::process_UBAMonitorFastPlus(std::shared_ptr<const Telegram> telegram
|
|||||||
// at this point do a quick check to see if the hot water or heating is active
|
// at this point do a quick check to see if the hot water or heating is active
|
||||||
uint8_t state = 0;
|
uint8_t state = 0;
|
||||||
telegram->read_value(state, 11);
|
telegram->read_value(state, 11);
|
||||||
boilerState_ = state & 0x01 ? 0x80 : 0;
|
boilerState_ = state & 0x01 ? 0x08 : 0;
|
||||||
boilerState_ |= state & 0x02 ? 0x01 : 0;
|
boilerState_ |= state & 0x02 ? 0x01 : 0;
|
||||||
boilerState_ |= state & 0x04 ? 0x02 : 0;
|
boilerState_ |= state & 0x04 ? 0x02 : 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user