Updated user config example

This commit is contained in:
Kai Lauterbach 2022-05-20 10:13:02 +02:00
parent 345639395d
commit 562d0d294d

View file

@ -9,7 +9,8 @@
// Enable/Disable features
//#define WEBUPDATER_FEATURE
//#define INFLUXDB_FEATURE
#define INFLUXDB_FEATURE
#define INFLUXDB_VERSION 1 // 1 or 2
#define SERIAL_FEATURE
//#define BATTERY_POWERED
//#define SENSOR_WIND
@ -21,7 +22,7 @@
// 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
#define SLEEP_IF_NO_WLAN_CONNECTION
// Restarts the firmware every n seconds
//#define RESET_ESP_TIMEINTERVAL
@ -36,6 +37,12 @@ const char *INFLUXDB_DB = "database";
const char *INFLUXDB_USER = "user";
const char *INFLUXDB_PASS = "password";
// InfluxDB2 credentials
const char *INFLUXDB_URL = "http://192.168.0.123:3124";
const char *INFLUXDB_ORG = "home_org";
const char *INFLUXDB_BUCKET = "mybucket;
const char *INFLUXDB_TOKEN = "your api tiken";
// Device name
// WARNING: Keep the name short! If your access point did not show up, you
// maybe have a TOO LONG SSID!