New iobroker

This commit is contained in:
2021-12-31 12:37:48 +03:00
parent 149cb3b5b6
commit 585365267f
17 changed files with 170 additions and 158 deletions

View File

@@ -15,7 +15,7 @@
#define P_SENS (14) //D5
#define WF_LED 2
#define HOST_NAME "MidRoom"
#define TOPIC "/home/midroom"
#define TOPIC "home/midroom"
Adafruit_BME280 bme;
MHZ19 mhz19;

View File

@@ -17,8 +17,8 @@ framework = arduino
;board_build.ldscript = eagle.flash.1m.ld
;board_build.flash_mode = dout
upload_protocol = espota
upload_port = 192.168.1.114
lib_deps =
upload_port = 192.168.1.132
lib_deps =
jwrw/ESP_EEPROM @ ^2.0.0
robtillaart/RunningMedian @ ^0.3.3
;joaolopesf/RemoteDebug @ 3.0.5

View File

@@ -17,7 +17,7 @@ unsigned long cRun;
const char* ssid = "wf-home";
const char* password = "0ndthnrf";
const char* mqtt_server = "192.168.1.250";
const char* mqtt_server = "192.168.1.111";
AsyncMqttClient mqttClient;
Ticker mqttReconnectTimer;