forked from hackerspace-silesia/Smogomierz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaultConfig.h
60 lines (48 loc) · 1.48 KB
/
defaultConfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#pragma once
bool DEVICENAME_AUTO = true;
char DEVICENAME[255] = "smogomierz1"; // Bez polskich znakow!! // Without Polish letters!!
bool DISPLAY_PM1 = false;
char LANGUAGE[255] = "english"; // english or polish
int SELECTED_LANGUAGE = 1; // en - 1; pl - 2
char THP_MODEL[255] = "Non";
char DUST_MODEL[255] = "Non";
bool FREQUENTMEASUREMENT = false;
int DUST_TIME = 1;
int NUMBEROFMEASUREMENTS = 10;
bool LUFTDATEN_ON = false;
bool SMOGLIST_ON = true;
bool AIRMONITOR_ON = false;
bool AIRMONITOR_GRAPH_ON = true;
char LATITUDE[255] = "50.263911";
char LONGITUDE[255] = "18.995711";
int MYALTITUDE = 271;
bool THINGSPEAK_ON = false;
bool THINGSPEAK_GRAPH_ON = false;
char THINGSPEAK_API_KEY[255] = "API-KEY";
int THINGSPEAK_CHANNEL_ID = 0;
bool INFLUXDB_ON = false;
char INFLUXDB_HOST[255] = "INFLUXDB_ADRESS";
uint16_t INFLUXDB_PORT = 8086;
char INFLUXDB_DATABASE[255] = "mydb";
char DB_USER[255] = "username";
char DB_PASSWORD[255] = "password";
bool MQTT_ON = false;
char MQTT_HOST[255] = "MQTT_ADRESS";
uint16_t MQTT_PORT = 1883;
char MQTT_USER[255] = "username";
char MQTT_PASSWORD[255] = "password";
int SENDING_FREQUENCY = 3;
int SENDING_DB_FREQUENCY = 3;
bool DEEPSLEEP_ON = false;
bool DEBUG = false;
#ifdef ARDUINO_ARCH_ESP8266
bool AUTOUPDATE_ON = false;
#elif defined ARDUINO_ARCH_ESP32
bool AUTOUPDATE_ON = true;
#endif
bool CONFIG_AUTH = false;
char CONFIG_USERNAME[512] = "admin";
char CONFIG_PASSWORD[512] = "password";
char MODEL[255] = "white";
float calib1 = 1.0;
float calib2 = 1.0;