Cleaned order of defines in user config header.

This commit is contained in:
Kai Lauterbach 2022-09-14 11:54:27 +02:00
parent 35c62fbce2
commit f6333c2801

View file

@ -12,28 +12,43 @@
// maybe have a TOO LONG SSID! // maybe have a TOO LONG SSID!
String DEVICE_NAME = "weatherstation"; String DEVICE_NAME = "weatherstation";
// Enable/Disable features /********************************************************************************/
// Enable/Disable general features
#define BATTERY_POWERED
// retries to connect after 5 seconds or starts the wifimanager
//#define SLEEP_IF_NO_WLAN_CONNECTION
#define INFLUXDB_FEATURE #define INFLUXDB_FEATURE
#define INFLUXDB_VERSION 1 // 1 or 2 #define INFLUXDB_VERSION 1 // 1 or 2
#define SERIAL_FEATURE //#define LOG_MILLIS_TO_INFLUXDB
//#define BATTERY_POWERED
//#define SENSOR_WIND //#define SERIAL_FEATURE
#define SENSOR_WIND
#define SENSOR_APDS9960 #define SENSOR_APDS9960
//#define SENSOR_APDS9930 //#define SENSOR_APDS9930
#define SENSOR_BME280 #define SENSOR_BME280
#define SENSOR_BATTERY #define SENSOR_BATTERY
//#define BAT_PINS_D34 //#define BAT_PINS_D34
// Homebridge Webstat is only possible if webupdater is also enabled
//#define HOMEBRIDGE_WEBSTAT /********************************************************************************/
// retries to connect after 5 seconds or starts the wifimanager // not available or recommended for battery mode
#define SLEEP_IF_NO_WLAN_CONNECTION /********************************************************************************/
// Restarts the firmware every n seconds // Restarts the firmware every n seconds
//#define RESET_ESP_TIMEINTERVAL // BETA STATUS //#define RESET_ESP_TIME_INTERVAL
//#define HTTP_CALL_ON_WINDSPEED_EXCEED // BETA STATUS
//#define DEBUG_WINDSPEED_MEASUREMENT // for debugging windspeed measurement only
//#define LOG_MILLIS_TO_INFLUXDB
//#define ENABLE_WATCHDOG //#define ENABLE_WATCHDOG
//#define WATCHDOG_TIMEOUT_MS 30000 //#define WEBUPDATER_FEATURE
// only available in case that webupdater is enabled
//#define USE_LOGGER
// only possible if webupdater is also enabled
//#define HOMEBRIDGE_WEBSTAT
// for debugging windspeed measurement only, trigger and results are handled by webupdater
//#define DEBUG_WINDSPEED_MEASUREMENT
//#define HTTP_CALL_ON_WINDSPEED_EXCEED
const float HUMIDITY_FACTOR = 1.0; const float HUMIDITY_FACTOR = 1.0;
const float LIGHT_FACTOR = 1.0; const float LIGHT_FACTOR = 1.0;