Change IP MQTT
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user