Change IP MQTT

This commit is contained in:
Lexa
2025-08-21 14:56:47 +03:00
parent f3817ca14c
commit 92cee891c4
4 changed files with 13 additions and 18 deletions

View File

@@ -9,12 +9,11 @@
; https://docs.platformio.org/page/projectconf.html
[env:esp32dev]
platform = espressif32
platform = espressif32@6.11.0
board = esp32dev
framework = arduino
lib_deps =
robtillaart/RunningMedian @ ^0.3.3
lewapek/Nova Fitness Sds dust sensors library @ ^1.5.1
ottowinter/AsyncMqttClient-esphome @ ^0.8.6
climateguard/ClimateGuard RadSens @ ^1.1.3
monitor_speed = 115200

View File

@@ -26,11 +26,6 @@ extern "C" {
}
#include <AsyncMqttClient.h>
#include "CG_RadSens.h"
CG_RadSens radSens(RS_DEFAULT_I2C_ADDRESS); /*Constructor of the class ClimateGuard_RadSens1v2,
sets the address parameter of I2C sensor.
Default address: 0x66.*/
typedef struct message {
float temperature;
@@ -102,9 +97,6 @@ void setup() {
WiFi.mode(WIFI_MODE_APSTA);
connectToWifi();
radSens.init();
radSens.setSensitivity(105);
oldmov = 0;
lamp = false;
cRun = millis();