2017-11-07 22:20:14 +01:00
|
|
|
#define DEBUG
|
|
|
|
|
2017-11-20 20:15:14 +01:00
|
|
|
#define SENSOR_TEMPERATURE 0
|
|
|
|
#define SENSOR_HUMIDITY 1
|
|
|
|
#define SENSOR_LIGHT 2
|
|
|
|
#define SENSOR_WINDSPEED 3
|
2017-11-20 20:42:02 +01:00
|
|
|
#define SENSOR_PRESSURE 4
|
2017-11-07 22:20:14 +01:00
|
|
|
|
2017-11-20 20:15:14 +01:00
|
|
|
#define UPDATE_INTERVAL 4
|
2017-11-07 22:20:14 +01:00
|
|
|
|
2017-11-20 20:15:14 +01:00
|
|
|
#define STATUS_LED_PIN BUILTIN_LED
|
|
|
|
#define ANEMOMETER_PIN D4
|
|
|
|
|
|
|
|
const char *INFLUXDB_HOST = "influxdb.okoyono.de";
|
|
|
|
const uint16_t INFLUXDB_PORT = 80;
|
|
|
|
const char *INFLUXDB_DB = "weatherstation";
|
|
|
|
const char *INFLUXDB_USER = "oko";
|
|
|
|
const char *INFLUXDB_PASS = "de1873a0d2f8f21f17cf4d8db4f65c59";
|
|
|
|
|
|
|
|
String DEVICE_NAME = "aaron";
|