Merge pull request #14349 from Xjeater/patch-4

Update xsns_69_opentherm.ino
This commit is contained in:
Theo Arends 2022-01-09 18:47:00 +01:00 committed by GitHub
commit ef266ed24b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,13 +24,25 @@
#include <OpenTherm.h>
// 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