mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
dhw circuit number only per offset
This commit is contained in:
@@ -1195,8 +1195,8 @@ void Thermostat::process_RC300WWtemp(std::shared_ptr<const Telegram> telegram) {
|
|||||||
// RC300WWmode(0x2F6), data: 02 FF 04 00 00 00 08 05 00 08 04 00 00 00 00 00 00 00 00 00 01
|
// RC300WWmode(0x2F6), data: 02 FF 04 00 00 00 08 05 00 08 04 00 00 00 00 00 00 00 00 00 01
|
||||||
void Thermostat::process_RC300WWmode(std::shared_ptr<const Telegram> telegram) {
|
void Thermostat::process_RC300WWmode(std::shared_ptr<const Telegram> telegram) {
|
||||||
uint8_t circuit = 0;
|
uint8_t circuit = 0;
|
||||||
telegram->read_value(circuit, 0);
|
telegram->read_value(circuit, 0); // 00-no circuit, 01-boiler, 02-mixer
|
||||||
auto dhw = dhw_circuit(telegram->type_id - 0x2F5, circuit, circuit != 0);
|
auto dhw = dhw_circuit(telegram->type_id - 0x2F5, 255, circuit != 0);
|
||||||
if (dhw == nullptr) {
|
if (dhw == nullptr) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user