From 71c146ab3526d6fccc3ea12e286506962480044c Mon Sep 17 00:00:00 2001 From: Serge <60098151+Xjeater@users.noreply.github.com> Date: Sat, 8 Jan 2022 22:38:53 +0300 Subject: [PATCH] Update xsns_69_opentherm.ino Add variable overrides --- tasmota/xsns_69_opentherm.ino | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tasmota/xsns_69_opentherm.ino b/tasmota/xsns_69_opentherm.ino index cfcc0384d..f6b4a015d 100644 --- a/tasmota/xsns_69_opentherm.ino +++ b/tasmota/xsns_69_opentherm.ino @@ -24,13 +24,26 @@ #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