Changed IP MQTT VT
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#define WIFI_PASSWORD "0ndthnrf"
|
||||
#define MY_HOSTNAME "ESP8266_GW"
|
||||
//#define MQTT_SERV "192.168.1.250"
|
||||
#define MQTT_SERV "192.168.1.111"
|
||||
#define MQTT_SERV "192.168.1.10"
|
||||
#define TOPIC "home/"
|
||||
|
||||
#define MAX_PAGE (4)
|
||||
@@ -71,7 +71,7 @@ WiFiEventHandler wifiConnectHandler;
|
||||
WiFiEventHandler wifiDisconnectHandler;
|
||||
Ticker wifiReconnectTimer;
|
||||
//const char* mqtt_server = "192.168.1.250";
|
||||
const char* mqtt_server = "192.168.1.111";
|
||||
const char* mqtt_server = "192.168.1.10";
|
||||
char v[12];
|
||||
|
||||
struct contacts
|
||||
|
||||
@@ -33,7 +33,7 @@ void setup()
|
||||
lcd.setBacklight(255);
|
||||
lcd.setCursor(0, 0);
|
||||
lcd.print(F("Booting"));
|
||||
|
||||
WiFi.mode(WIFI_STA);
|
||||
WiFi.hostname("VT_ESP");
|
||||
// WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
|
||||
// if(WiFi.waitForConnectResult() == WL_CONNECTED){
|
||||
|
||||
Reference in New Issue
Block a user