3-char serviceCode

This commit is contained in:
MichaelDvP
2020-11-20 12:12:27 +01:00
parent 0ca21175ce
commit 32cce931e5
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
- mixer IPM pumpstatus
- mixer devices in HA were incorrectly named
- Prevent HA MQTT config messages for thermostat that has no 'currtemp' (#582)
- serviceCodeNumber and heating_active for newer ems+ boilers
- serviceCodeNumber, 3-char serviceCode and heating_active for newer ems+ boilers
### Changed
- optimized MQTT for HA to reduce heap fragmentation issues

View File

@@ -96,7 +96,7 @@ class Boiler : public EMSdevice {
uint8_t curBurnPow_ = EMS_VALUE_UINT_NOTSET; // Burner current power %
uint16_t flameCurr_ = EMS_VALUE_USHORT_NOTSET; // Flame current in micro amps
uint8_t sysPress_ = EMS_VALUE_UINT_NOTSET; // System pressure
char serviceCode_[3] = {'\0'}; // 2 character status/service code
char serviceCode_[4] = {'\0'}; // 3 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'};