gitignore

This commit is contained in:
coelner 2019-05-01 20:26:13 +02:00
parent 1796882154
commit 0b9cbb4fdc
2 changed files with 2 additions and 7 deletions

View File

@ -79,8 +79,7 @@ const bool metric = true;
/************************* WiFi Client *********************************/
#define WLAN_SSID "IoT"
#define WLAN_PASS "TF0xJJHtMz5kJUdh3dqf"
//see secrets.h
const int WIFI_CONNECT_TIMEOUT = 10; // seconds - max time for wifi connect to router, if exceeded go to sleep
@ -95,11 +94,7 @@ const int FW_VERSION = 10;
const char* fwUrlBase = "http://10.0.4.2/fota/";
/************************* MQTT Broker Setup *********************************/
#define name "bathroom"
const int MQTT_PORT = 1883;
const char MQTT_SERVER[] = "mqtt.koelner.dynvpn.de";
char MQTT_CLIENTID[10];
const char MQTT_USERNAME[] = "input";
const char MQTT_PASSWORD[] = "tFnlKJu9";
const char MQTT_WILL_TOPIC[] = "bathroom/sys/will";
const int MQTT_WILL_QOS = 0;
const int MQTT_WILL_RETAIN = 0;

View File

@ -556,7 +556,7 @@ void setup() {
// if serial is not initialized all following calls to serial end dead.
#ifdef SERIAL_DEBUG
Serial.flush();
Serial.begin(115200);
Serial.begin(9600);
while (!Serial) {
delay(1);
} // Wait