2024-10-1000

This commit is contained in:
hans-jurgen 2024-10-10 14:39:49 +02:00
parent bc3ffb5f45
commit 9ddc1ea4fa
4 changed files with 12 additions and 12 deletions

View File

@ -70,5 +70,5 @@ void Clear_MCP9808(String deviceId = "4711") {
char test[1] = "";
sprintf(topic, "%s%s%s", "hjk/devices/", deviceId.c_str(), "/telemetry/temperature_MCP9808");
client.publish(topic, test, false);
delay(50);
delay(100);
}

View File

@ -97,11 +97,11 @@ void Clear_BME280(String deviceId = "4711"){
char test[1] = "";
sprintf(topic, "%s%s%s", "hjk/devices/", deviceId.c_str(), "/telemetry/temperature_BME_280" );
client.publish(topic,test, false);
delay(10);
delay(100);
sprintf(topic, "%s%s%s", "hjk/devices/", deviceId.c_str(), "/telemetry/humity_BME280" );
client.publish(topic,test, false);
delay(10);
delay(100);
sprintf(topic, "%s%s%s", "hjk/devices/", deviceId.c_str(), "/telemetry/pressure" );
client.publish(topic,test, false);
delay(10);
delay(100);
}

View File

@ -85,11 +85,11 @@ void Clear_BMP280(String deviceId = "4711"){
char test[1] = "";
sprintf(topic, "%s%s%s", "hjk/devices/", deviceId.c_str(), "/telemetry/temperature_BMP_280" );
client.publish(topic,test, false);
delay(10);
delay(100);
sprintf(topic, "%s%s%s", "hjk/devices/", deviceId.c_str(), "/telemetry/approx_altitude" );
client.publish(topic,test, false);
delay(10);
delay(100);
sprintf(topic, "%s%s%s", "hjk/devices/", deviceId.c_str(), "/telemetry/pressure" );
client.publish(topic,test, false);
delay(10);
delay(100);
}

View File

@ -39,14 +39,14 @@ build_flags =
build_flags = ${env.build_flags}
-DDEBUG=0
-DNOADS=0
-DNAME=\"WETTERSTATION2\"
-DNAME=\"WETTERSTATIONMARCEL\"
-DSTASSID=\"MagentaWLAN-RGDO\"
-DSTAPSK=\"93329248424922704583\"
-DGATEWAY=\"192.168.127.1\"
-DDNS=\"192.168.127.1\"
-DKMYIP=\"192.168.127.45\"
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
-Dmqtt_port=61883
-Dmqtt_server=\"192.168.127.193\"
-Dmqtt_port=1883
-DTERROR=5
-DTLOWBATT=60
-DTINTERVAL=10
@ -67,7 +67,7 @@ build_flags = ${env.build_flags}
-DDNS=\"192.168.2.1\"
-DKMYIP=\"192.168.2.81\"
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
-Dmqtt_port=8883
-Dmqtt_port=61883
-DTERROR=20
-DTLOWBATT=60
-DTINTERVAL=10
@ -88,7 +88,7 @@ build_flags = ${env.build_flags}
-DDNS=\"192.168.2.1\"
-DKMYIP=\"192.168.2.41\"
-Dmqtt_server=\"hjkmqtt.dedyn.io\"
-Dmqtt_port=8883
-Dmqtt_port=61883
-DTERROR=20
-DTLOWBATT=60
-DTINTERVAL=5