Skip to content

Commit 44e6bb7

Browse files
committed
add auxHeaterStatus
1 parent ab3b9f1 commit 44e6bb7

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

src/devices/boiler.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,11 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const
574574
FL_(auxHeater),
575575
DeviceValueUOM::NONE,
576576
MAKE_CF_CB(set_additionalHeater));
577+
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA,
578+
&auxHeaterStatus_,
579+
DeviceValueType::BOOL,
580+
FL_(auxHeaterStatus),
581+
DeviceValueUOM::NONE);
577582
register_device_value(DeviceValueTAG::TAG_DEVICE_DATA,
578583
&auxHeaterDelay_,
579584
DeviceValueType::USHORT,
@@ -1510,6 +1515,7 @@ void Boiler::process_HpSilentMode(std::shared_ptr<const Telegram> telegram) {
15101515

15111516
// Boiler(0x08) -B-> All(0x00), ?(0x0488), data: 8E 00 00 00 00 00 01 03
15121517
void Boiler::process_HpValve(std::shared_ptr<const Telegram> telegram) {
1518+
has_bitupdate(telegram, auxHeaterStatus_, 0, 2);
15131519
has_update(telegram, auxHeatMixValve_, 7);
15141520
}
15151521

src/devices/boiler.h

+1
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ class Boiler : public EMSdevice {
244244

245245
uint8_t auxHeaterOnly_;
246246
uint8_t auxHeater_;
247+
uint8_t auxHeaterStatus_;
247248
uint16_t auxHeaterDelay_;
248249
uint16_t auxHeaterHyst_;
249250
int8_t minTempSilent_;

src/locale_translations.h

+1
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ MAKE_PSTR_LIST(maxHeatDhw, "maxheatdhw", "heat limit dhw", "Heizgrenze Warmwasse
370370

371371
// translations are in order en, de, nl, se, pl, no, fr, .... some missing
372372
MAKE_PSTR_LIST(auxHeater, "auxheater", "enable auxilliary heater", "Erlaube Zusatzheizer")
373+
MAKE_PSTR_LIST(auxHeaterStatus, "auxheaterstatus", "auxilliary heater status", "Status Zusatzheizer")
373374
MAKE_PSTR_LIST(auxHeaterOnly, "auxheateronly", "auxilliary heater only", "nur Zusatzheizer")
374375
MAKE_PSTR_LIST(auxHeaterDelay, "auxheaterdelay", "auxilliary heater on delay", "Zusatzheizer verzögert ein", "Bijverw. vertraagd aan", "Tillskottfördröjning på", "Opóźn. włączenie dogrz.", "Tilleggsvarmer forsinket på", "Chauff app tempo marche")
375376
MAKE_PSTR_LIST(auxHeaterHyst, "auxheaterhyst", "auxilliary heater on/off hyst", "Zusatzheizer Schalthysterese", "Aan/uit-hysteresis in verw. bedrijf instellen", "På/av-hystereses Husv.", "Histerez wł/wył Ogrzew.", "På/av-hysterese Oppvar.", "Hystérésis Marche en mode chauffage")

0 commit comments

Comments
 (0)