Update of the example config file
This commit is contained in:
parent
b2c69868f0
commit
3de73b2c98
1 changed files with 13 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
String DEVICE_NAME = "weatherstation";
|
String DEVICE_NAME = "weatherstation";
|
||||||
|
|
||||||
// Enable/Disable features
|
// Enable/Disable features
|
||||||
|
#define USE_WIFIMANAGER
|
||||||
//#define WEBUPDATER_FEATURE
|
//#define WEBUPDATER_FEATURE
|
||||||
#define INFLUXDB_FEATURE
|
#define INFLUXDB_FEATURE
|
||||||
#define INFLUXDB_VERSION 1 // 1 or 2
|
#define INFLUXDB_VERSION 1 // 1 or 2
|
||||||
|
@ -76,5 +77,17 @@ const char *INFLUXDB_TOKEN = "your api token";
|
||||||
// china aliexpress anemometer settings (calculation unknown) <add link here>
|
// china aliexpress anemometer settings (calculation unknown) <add link here>
|
||||||
//#define WINDSPEED_FACTOR 2.4
|
//#define WINDSPEED_FACTOR 2.4
|
||||||
|
|
||||||
|
#ifndef USE_WIFIMANAGER
|
||||||
|
|
||||||
|
// Set IP address
|
||||||
|
IPAddress local_IP(192, 168, 178, 123);
|
||||||
|
// Set your Gateway IP address
|
||||||
|
IPAddress gateway(192, 168, 178, 1);
|
||||||
|
// Set subnet mask
|
||||||
|
IPAddress subnet(255, 255, 255, 0);
|
||||||
|
|
||||||
|
const char* ssid = "My-WLAN-SSID"; // WLAN Netzwerk
|
||||||
|
const char* password = "My-Passphrase"; // WLAN Passphrase
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue