feature/http_call_send_json #3
1 changed files with 28 additions and 13 deletions
|
@ -12,28 +12,43 @@
|
|||
// maybe have a TOO LONG SSID!
|
||||
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_VERSION 1 // 1 or 2
|
||||
#define SERIAL_FEATURE
|
||||
//#define BATTERY_POWERED
|
||||
//#define SENSOR_WIND
|
||||
//#define LOG_MILLIS_TO_INFLUXDB
|
||||
|
||||
//#define SERIAL_FEATURE
|
||||
|
||||
#define SENSOR_WIND
|
||||
#define SENSOR_APDS9960
|
||||
//#define SENSOR_APDS9930
|
||||
#define SENSOR_BME280
|
||||
#define SENSOR_BATTERY
|
||||
|
||||
//#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
|
||||
#define SLEEP_IF_NO_WLAN_CONNECTION
|
||||
|
||||
/********************************************************************************/
|
||||
// not available or recommended for battery mode
|
||||
/********************************************************************************/
|
||||
|
||||
// Restarts the firmware every n seconds
|
||||
//#define RESET_ESP_TIMEINTERVAL // BETA STATUS
|
||||
//#define HTTP_CALL_ON_WINDSPEED_EXCEED // BETA STATUS
|
||||
//#define DEBUG_WINDSPEED_MEASUREMENT // for debugging windspeed measurement only
|
||||
//#define LOG_MILLIS_TO_INFLUXDB
|
||||
//#define RESET_ESP_TIME_INTERVAL
|
||||
//#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 LIGHT_FACTOR = 1.0;
|
||||
|
|
Loading…
Reference in a new issue