added IP and version to MQTT start payload, added support for RC100/Moduline 1010, Fixed Junkers thermostat writing

This commit is contained in:
Paul
2020-03-06 17:13:29 +01:00
parent 64def6e4cd
commit 1385af3d54
8 changed files with 52 additions and 43 deletions

View File

@@ -154,7 +154,7 @@ _EMS_THERMOSTAT_MODE _getThermostatMode(uint8_t hc_num) {
} else if (mode == 2) {
thermoMode = EMS_THERMOSTAT_MODE_AUTO;
}
} else if (model == EMS_DEVICE_FLAG_RC300) {
} else if ((model == EMS_DEVICE_FLAG_RC300) || (model == EMS_DEVICE_FLAG_RC100)) {
if (mode == 0) {
thermoMode = EMS_THERMOSTAT_MODE_MANUAL;
} else if (mode == 1) {
@@ -206,6 +206,8 @@ _EMS_THERMOSTAT_MODE _getThermostatMode2(uint8_t hc_num) {
} else if (mode == 1) {
thermoMode = EMS_THERMOSTAT_MODE_COMFORT;
}
} else if (model == EMS_DEVICE_FLAG_RC100) {
thermoMode = EMS_THERMOSTAT_MODE_DAY; // no modes on these devices
}
return thermoMode;
@@ -425,7 +427,7 @@ void showInfo() {
// Render Thermostat Date & Time
uint8_t model = ems_getThermostatFlags();
if ((model != EMS_DEVICE_FLAG_EASY)) {
if (strlen(EMS_Thermostat.datetime) > 2) {
myDebug_P(PSTR(" Thermostat time is %s"), EMS_Thermostat.datetime);
}