remove heating_circuit

This commit is contained in:
Paul
2019-09-14 10:35:47 +02:00
parent b709b469fd
commit ca65ac0677
6 changed files with 4 additions and 21 deletions

View File

@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- Support for multiple Heating Circuits (RC35 only for now and writing via telnet) - https://github.com/proddy/EMS-ESP/issues/162 - Support for multiple Heating Circuits (RC35 only for now and writing via telnet) - https://github.com/proddy/EMS-ESP/issues/162
- mqttlog command also shows which MQTT topics it is subscribed too
### Fixed ### Fixed

View File

@@ -359,7 +359,7 @@ void MyESP::mqttSubscribe(const char * topic) {
myDebug_P(PSTR("[MQTT] Subscribing to %s"), topic_s); myDebug_P(PSTR("[MQTT] Subscribing to %s"), topic_s);
// add to mqtt log // add to mqtt log
_addMQTTLog(topic_s, "", 2); // type of 2 means Subscribe. Has an empty payload for now XXX _addMQTTLog(topic_s, "", 2); // type of 2 means Subscribe. Has an empty payload for now
} }
} }

View File

@@ -122,19 +122,6 @@
<br> <br>
</div> </div>
<div class="row form-group">
<label class="col-xs-3">Heating Circuit<i style="margin-left: 10px;" class="glyphicon glyphicon-info-sign"
aria-hidden="true" data-toggle="popover" data-trigger="hover" data-placement="right"
data-content="Select the main heating circuit to use. Default is HC1."></i></label>
<span class="col-xs-9 col-md-5">
<select class="form-control input-sm" id="heating_circuit">
<option selected="selected" value="1">HC1</option>
<option value="2">HC2</option>
<option value="3">HC3</option>
</select>
</span>
</div>
<div class="row form-group"> <div class="row form-group">
<label class="col-xs-3">Tx mode<i style="margin-left: 10px;" <label class="col-xs-3">Tx mode<i style="margin-left: 10px;"
class="glyphicon glyphicon-exclamation-sign text-danger" aria-hidden="true" data-toggle="popover" class="glyphicon glyphicon-exclamation-sign text-danger" aria-hidden="true" data-toggle="popover"

View File

@@ -8,8 +8,7 @@ var custom_config = {
"listen_mode": false, "listen_mode": false,
"shower_timer": false, "shower_timer": false,
"shower_alert": false, "shower_alert": false,
"publish_time": 120, "publish_time": 120
"heating_circuit": 1
} }
} }
@@ -22,7 +21,6 @@ function listcustom() {
document.getElementById("led_gpio").value = custom_config.settings.led_gpio; document.getElementById("led_gpio").value = custom_config.settings.led_gpio;
document.getElementById("dallas_gpio").value = custom_config.settings.dallas_gpio; document.getElementById("dallas_gpio").value = custom_config.settings.dallas_gpio;
document.getElementById("publish_time").value = custom_config.settings.publish_time; document.getElementById("publish_time").value = custom_config.settings.publish_time;
document.getElementById("heating_circuit").value = custom_config.settings.heating_circuit;
document.getElementById("tx_mode").value = custom_config.settings.tx_mode; document.getElementById("tx_mode").value = custom_config.settings.tx_mode;
if (custom_config.settings.led) { if (custom_config.settings.led) {
@@ -72,7 +70,6 @@ function savecustom() {
} }
custom_config.settings.publish_time = parseInt(document.getElementById("publish_time").value); custom_config.settings.publish_time = parseInt(document.getElementById("publish_time").value);
custom_config.settings.heating_circuit = parseInt(document.getElementById("heating_circuit").value);
custom_config.settings.tx_mode = parseInt(document.getElementById("tx_mode").value); custom_config.settings.tx_mode = parseInt(document.getElementById("tx_mode").value);
custom_uncommited(); custom_uncommited();

View File

@@ -121,7 +121,6 @@ static const command_t project_cmds[] PROGMEM = {
{true, "shower_timer <on | off>", "send MQTT notification on all shower durations"}, {true, "shower_timer <on | off>", "send MQTT notification on all shower durations"},
{true, "shower_alert <on | off>", "stop hot water to send 3 cold burst warnings after max shower time is exceeded"}, {true, "shower_alert <on | off>", "stop hot water to send 3 cold burst warnings after max shower time is exceeded"},
{true, "publish_time <seconds>", "set frequency for publishing data to MQTT (0=off)"}, {true, "publish_time <seconds>", "set frequency for publishing data to MQTT (0=off)"},
{true, "heating_circuit <1 | 2>", "set the main thermostat HC to work with (if using multiple heating circuits)"},
{true, "tx_mode <n>", "changes Tx logic. 1=ems generic, 2=ems+, 3=Junkers HT3"}, {true, "tx_mode <n>", "changes Tx logic. 1=ems generic, 2=ems+, 3=Junkers HT3"},
{false, "info", "show current captured on the devices"}, {false, "info", "show current captured on the devices"},

View File

@@ -105,7 +105,6 @@ var custom_configfile = {
"shower_timer": true, "shower_timer": true,
"shower_alert": false, "shower_alert": false,
"publish_time": 120, "publish_time": 120,
"heating_circuit": 1,
"tx_mode": 1 "tx_mode": 1
} }
}; };