This commit is contained in:
Yurii
2023-11-17 21:41:38 +03:00
parent 4b9ebeaa40
commit 9f24efb0ab
4 changed files with 37 additions and 27 deletions

View File

@@ -2,7 +2,6 @@
#define OT_GATEWAY_REPO "https://github.com/Laxilef/OTGateway"
#define AP_SSID "OpenTherm Gateway"
#define AP_PASSWORD "otgateway123456"
#define USE_TELNET
#define EMERGENCY_TIME_TRESHOLD 120000
#define MQTT_RECONNECT_INTERVAL 5000
@@ -17,6 +16,17 @@
#define SETTINGS_VALID_VALUE "stvalid" // only 8 chars!
#ifndef WM_DEBUG_MODE
#define WM_DEBUG_MODE WM_DEBUG_NOTIFY
#endif
#ifndef USE_TELNET
#define USE_TELNET true
#endif
#ifndef DEBUG_BY_DEFAULT
#define DEBUG_BY_DEFAULT false
#endif
#ifndef OT_IN_PIN_DEFAULT
#define OT_IN_PIN_DEFAULT 0
@@ -34,7 +44,7 @@
#define SENSOR_INDOOR_PIN_DEFAULT 0
#endif
#ifdef USE_TELNET
#if USE_TELNET
#define INFO_STREAM TelnetStream
#define WARN_STREAM TelnetStream
#define ERROR_STREAM TelnetStream