2024-10-0601
This commit is contained in:
parent
440630f29f
commit
5517bb1f49
|
@ -122,10 +122,6 @@ void setup() {
|
||||||
if (F_MCP9808 == true){
|
if (F_MCP9808 == true){
|
||||||
valTemp = getTemperature_MCP9808();
|
valTemp = getTemperature_MCP9808();
|
||||||
}
|
}
|
||||||
if (!F_BME280 == true){
|
|
||||||
Serial.println("Topic BME280 löschen!");
|
|
||||||
Clear_BME280(hostname.c_str());
|
|
||||||
}
|
|
||||||
setup_wifi(); // ca. 4,5 s
|
setup_wifi(); // ca. 4,5 s
|
||||||
deviceId = ESP.getChipId();
|
deviceId = ESP.getChipId();
|
||||||
sprintf(sID, "%010ld", deviceId);
|
sprintf(sID, "%010ld", deviceId);
|
||||||
|
@ -144,6 +140,10 @@ void setup() {
|
||||||
Serial.println("Topic BMP280 löschen!");
|
Serial.println("Topic BMP280 löschen!");
|
||||||
Clear_BME280(hostname.c_str());
|
Clear_BME280(hostname.c_str());
|
||||||
}
|
}
|
||||||
|
if (!F_BME280 == true){
|
||||||
|
Serial.println("Topic BME280 löschen!");
|
||||||
|
Clear_BME280(hostname.c_str());
|
||||||
|
}
|
||||||
//----------
|
//----------
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user