added status_

This commit is contained in:
proddy
2021-01-10 15:48:31 +01:00
parent 31b03c56d8
commit 740e58ed48

View File

@@ -94,6 +94,7 @@ class Thermostat : public EMSdevice {
MAXFLOW,
ROOMINFLUENCE,
UNKNOWN
};
// for sorting based on hc number
@@ -130,8 +131,12 @@ class Thermostat : public EMSdevice {
std::vector<uint16_t> summer_typeids;
std::vector<uint16_t> curve_typeids;
// standard for all thermostats
char status_[20]; // online or offline
char dateTime_[25]; // date and time stamp
char errorCode_[15]; // code from 0xA2 as string i.e. "A22(816)"
uint16_t errorNumber_; // used internally to build error code
char lastCode_[30];
// Installation parameters
uint8_t ibaMainDisplay_; // display on Thermostat: 0 int temp, 1 int setpoint, 2 ext temp, 3 burner temp, 4 ww temp, 5 functioning mode, 6 time, 7 data, 9 smoke temp
@@ -141,8 +146,6 @@ class Thermostat : public EMSdevice {
uint8_t ibaBuildingType_; // building type: 0 = light, 1 = medium, 2 = heavy
uint8_t ibaClockOffset_; // offset (in sec) to clock, 0xff = -1 s, 0x02 = 2 s
uint16_t errorNumber_;
char lastCode_[30];
int8_t dampedoutdoortemp_;
uint16_t tempsensor1_;
uint16_t tempsensor2_;