Boiler: add reset, add last code, json output 2 parts (main/ww)

This commit is contained in:
MichaelDvP
2020-11-18 10:12:02 +01:00
parent db06e2c3b9
commit bfeca075ba
3 changed files with 93 additions and 34 deletions

View File

@@ -99,6 +99,8 @@ class Boiler : public EMSdevice {
char serviceCode_[3] = {'\0'}; // 2 character status/service code
uint16_t serviceCodeNumber_ = EMS_VALUE_USHORT_NOTSET; // error/service code
uint8_t boilerState_ = EMS_VALUE_UINT_NOTSET; // Boiler state flag
char lastCode_[30] = {'\0'};
uint32_t lastCodeDate_ = 0;
// UBAMonitorSlow - 0x19 on EMS1
int16_t outdoorTemp_ = EMS_VALUE_SHORT_NOTSET; // Outside temperature
@@ -188,6 +190,7 @@ class Boiler : public EMSdevice {
bool set_hyst_off(const char * value, const int8_t id);
bool set_burn_period(const char * value, const int8_t id);
bool set_pump_delay(const char * value, const int8_t id);
bool set_reset(const char * value, const int8_t id);
};
} // namespace emsesp