merge with txmode2 branch

This commit is contained in:
Paul
2019-08-11 10:56:30 +02:00
13 changed files with 8117 additions and 257 deletions

View File

@@ -9,8 +9,7 @@ var custom_config = {
"shower_timer": false,
"shower_alert": false,
"publish_time": 120,
"heating_circuit": 1,
"tx_mode": 0
"heating_circuit": 1
}
}
@@ -24,7 +23,6 @@ function listcustom() {
document.getElementById("dallas_gpio").value = custom_config.settings.dallas_gpio;
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;
if (custom_config.settings.led) {
$("input[name=\"led\"][value=\"1\"]").prop("checked", true);
@@ -74,7 +72,6 @@ function savecustom() {
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_uncommited();
}