From 5ad5d131768e406fecd49320daf649c2319cb74e Mon Sep 17 00:00:00 2001 From: Serge <60098151+Xjeater@users.noreply.github.com> Date: Sun, 9 Jan 2022 20:35:25 +0300 Subject: [PATCH] Update xsns_69_opentherm.ino Add variable overrides --- tasmota/xsns_69_opentherm.ino | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tasmota/xsns_69_opentherm.ino b/tasmota/xsns_69_opentherm.ino index 23df42a90..e8960de76 100644 --- a/tasmota/xsns_69_opentherm.ino +++ b/tasmota/xsns_69_opentherm.ino @@ -24,13 +24,25 @@ #include // Hot water and boiler parameter ranges +#ifndef OT_HOT_WATER_MIN #define OT_HOT_WATER_MIN 23 +#endif +#ifndef OT_HOT_WATER_MAX #define OT_HOT_WATER_MAX 55 +#endif +#ifndef OT_BOILER_MIN #define OT_BOILER_MIN 40 +#endif +#ifndef OT_BOILER_MAX #define OT_BOILER_MAX 85 +#endif +#ifndef OT_HOT_WATER_DEFAULT #define OT_HOT_WATER_DEFAULT 36; +#endif +#ifndef OT_BOILER_DEFAULT #define OT_BOILER_DEFAULT 85; +#endif // Seconds before OT will make an attempt to connect to the boiler after connection error #define SNS_OT_DISCONNECT_COOLDOWN_SECONDS 4