BigRoom changed IP MQTT
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
default_envs = lolin
|
||||
|
||||
[env:lolin]
|
||||
platform = espressif32
|
||||
platform = espressif32@6.11.0
|
||||
board = lolin32
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
@@ -22,9 +22,11 @@ lib_deps =
|
||||
robtillaart/RunningMedian @ ^0.3.4
|
||||
wifwaf/MH-Z19 @ ^1.5.3
|
||||
plerup/EspSoftwareSerial @ ^6.15.2
|
||||
ottowinter/AsyncMqttClient-esphome @ ^0.8.6
|
||||
ottowinter/ESPAsyncWebServer-esphome @ ^2.1.0
|
||||
ayushsharma82/AsyncElegantOTA @ ^2.2.6
|
||||
; ottowinter/AsyncMqttClient-esphome @ ^0.8.6
|
||||
esphome/AsyncTCP-esphome @ ^2.1.4
|
||||
ottowinter/ESPAsyncWebServer-esphome @ ^3.1.0
|
||||
https://github.com/qdrk/AsyncElegantOTA.git
|
||||
; ayushsharma82/AsyncElegantOTA @ ^2.2.8
|
||||
ayushsharma82/WebSerial @ ^1.3.0
|
||||
plerup/EspSoftwareSerial @ ^8.1.0
|
||||
powerbroker2/SerialTransfer @ ^3.1.3
|
||||
|
||||
@@ -10,11 +10,7 @@ TimerHandle_t wifiReconnectTimer;
|
||||
|
||||
const char* ssid = "wf-home";
|
||||
const char* password = "0ndthnrf";
|
||||
const char* ssid1 = "wf-home";
|
||||
const char* password1 = "0ndthnrf";
|
||||
const char* ssid2 = "BR";
|
||||
const char* password2 = "499727479o";
|
||||
const char* mqtt_server = "192.168.1.111";
|
||||
const char* mqtt_server = "192.168.1.10";
|
||||
|
||||
void connectToWifi();
|
||||
//void connectToMqtt();
|
||||
@@ -127,7 +123,7 @@ void setup() {
|
||||
#define SDA 33 //assign new SDA pin to GPIO1/D2/0TX for all slaves on i2c bus
|
||||
#define SCL 32 //assign new SCL pin to GPIO3/D7/0RX for all slaves on i2c bus
|
||||
Wire.begin(SDA, SCL);
|
||||
if (!htu.begin(SDA, SCL)) {
|
||||
if (!htu.begin(&Wire)) {
|
||||
Serial.println("Couldn't find sensor!");
|
||||
while (1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user