Skip to content

Commit

Permalink
fix read RC300WWtemp, emsesp#1950
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDvP committed Aug 18, 2024
1 parent bfc712f commit 3c16e95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/devices/thermostat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1196,10 +1196,10 @@ void Thermostat::process_RC300WWtemp(std::shared_ptr<const Telegram> telegram) {
void Thermostat::process_RC300WWmode(std::shared_ptr<const Telegram> telegram) {
uint8_t circuit = 0;
telegram->read_value(circuit, 0);
if (!circuit) {
auto dhw = dhw_circuit(telegram->type_id - 0x2F5, circuit, circuit != 0);
if (dhw == nullptr) {
return;
}
auto dhw = dhw_circuit(telegram->type_id - 0x2F5, circuit, true);
// circulation pump see: https://github.com/Th3M3/buderus_ems-wiki/blob/master/Einstellungen%20der%20Bedieneinheit%20RC310.md
has_update(telegram, dhw->wwCircPump_, 1); // FF=off, 0=on ?

Expand Down

0 comments on commit 3c16e95

Please sign in to comment.