When wifi is lost OMG is going to AP mode (#220)

* When wifi is lost OMG is going to AP mode

Avoid that except when OMG has never been connected to MQTT
This commit is contained in:
Florian authored and GitHub committed 2018-06-26 20:37:37 +02:00
1 parent d8a8d1cb07
commit 474e7ab70c
3 files changed
+18 -16

No files matched your search

+3 -2
View File
@@ -51,8 +51,9 @@ char mqtt_port[6] = "1883";
//#define ESPWifiManualSetup true //uncomment you don't want to use wifimanager for your credential settings on ESP
#define WifiManager_password "your_password"
//#define MDNS_SD //comment if you don't want to use mdns for discovering automatically your ip server, please note that MDNS with ESP32 can cause the BLE to not work
//#define cleanFS //uncomment if you want to clean the ESP memory and reenter your credentials
//#define MDNS_SD //uncomment if you want to use mdns for discovering automatically your ip server, please note that MDNS with ESP32 can cause the BLE to not work
//#define cleanFS true //uncomment if you want to clean the ESP memory and reenter your credentials
#define maxMQTTretry 4 //maximum MQTT connection attempts before going to wifi setup
//set minimum quality of signal so it ignores AP's under that quality
#define MinimumWifiSignalQuality 8