be334245ff
That makes it easier to enable/disable sensors. Also added support for APDS9930
34 lines
847 B
Text
34 lines
847 B
Text
// Copy this file to config_user.h and adjust it to your needs.
|
|
|
|
|
|
#ifndef __CONFIG_USER_H__
|
|
#define __CONFIG_USER_H__
|
|
|
|
// Debug output on the serial console
|
|
#define DEBUG
|
|
|
|
// Enable/Disable features
|
|
//#define WEBUPDATER_FEATURE
|
|
#define BATTERY_POWERED
|
|
#define SENSOR_WIND
|
|
#define SENSOR_APDS9960
|
|
//#define SENSOR_APDS9930
|
|
#define SENSOR_BME280
|
|
#define SENSOR_BATTERY
|
|
|
|
const float HUMIDITY_FACTOR = 1.0;
|
|
const float LIGHT_FACTOR = 1.0;
|
|
|
|
// InfluxDB credentials
|
|
const char *INFLUXDB_HOST = "hostname";
|
|
const uint16_t INFLUXDB_PORT = 80;
|
|
const char *INFLUXDB_DB = "database";
|
|
const char *INFLUXDB_USER = "user";
|
|
const char *INFLUXDB_PASS = "password";
|
|
|
|
// Device name
|
|
// WARNING: Keep the name short! If your access point did not show up, you
|
|
// maybe have a TOO LONG SSID!
|
|
String DEVICE_NAME = "devicename";
|
|
|
|
#endif
|